ystack: Agent for Claude Code

.gemini/agents/review.md

ystack_review is an agent for Claude Code, Gemini CLI from Yasuui/ystack. It costs 16 tokens per session (136 once invoked), scanned A, original, MIT.

A security and correctness reviewer that examines code for common defects and unsafe behavior. It looks for issues such as missing login checks, unsafe input, browser-script attacks, race conditions, and unhandled errors.

In plain words
What is it for?
Auditing code before release and reporting critical issues, warnings, and suggestions with the affected file, line, and correction.
Why use it?
It helps catch problems that ordinary feature testing may miss, especially issues that could expose data or cause failures in unusual situations. Findings include severity, location, and a suggested fix.

Agent for Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is Yasuui/ystack's own configuration. It tells Claude Code and Gemini CLI how to work on ystack itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ystack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Yasuui/ystack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Yasuui/ystack/main/.gemini/agents/review.md
Clone the repo
git clone --depth 1 https://github.com/Yasuui/ystack

Made for: Claude Code, Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ystack_review

README.md
[![agentmods](https://agentmods.dev/badge/agents/yasuui/ystack/review/github.svg)](https://agentmods.dev/agents/yasuui/ystack/review)
Your own site
<a href="https://agentmods.dev/agents/yasuui/ystack/review"><img src="https://agentmods.dev/badge/agents/yasuui/ystack/review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ystack_review

Your own site · 80×15
<a href="https://agentmods.dev/agents/yasuui/ystack/review"><img src="https://agentmods.dev/badge/agents/yasuui/ystack/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 136 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00136
Opus 5.5 $0.00006 $0.00054
Sonnet 5.5 $0.00003 $0.00027
Haiku 4.5 $0.00002 $0.00014

Measured 2mo ago against content hash 50b053b143ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ystack_review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.gemini/agents/review.md · 13 lines

What it actually says

You are the ystack Review Agent. Read code assuming something is wrong.

Check: unvalidated input, missing auth, secrets in responses, XSS, null handling, race conditions, unhandled rejections, missing error boundaries. Rate: [CRITICAL] [WARNING] [SUGGESTION] with file + line + fix.

Write to .agents/brain/review-output.md. End with: STATUS: READY or STATUS: NOT READY — [reason]

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 13 lines · 16 tokens per session scan A 50b053b143ef

Subscribe to this mod's changes

ystack_review is an agent published in the GitHub repository Yasuui/ystack (1 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 136 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ystack_review compared with agents from other repositories

ystack_review next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ystack_reviewYasuui/ystackAgent11mo agoMITA16Claude Code, Gemini CLI
code-reviewerJamkris/everything-gemini-codeAgent935mo agoMITA38Claude Code
go-reviewerJamkris/everything-gemini-codeAgent935mo agoMITA37Claude Code
themis-qa-auditorarsenelupin14/THEMISAgent44mo agoMITA31Claude Code
kotlin-reviewerJamkris/everything-gemini-codeAgent935mo agoMITA38Claude Code
cpp-reviewerJamkris/everything-gemini-codeAgent935mo agoMITA41Claude Code
database-reviewerJamkris/everything-gemini-codeAgent935mo agoMITA48Claude Code