review

review is a skill for Claude Code, Codex from garagon/nanostack. It costs 51 tokens per session (3,328 once invoked), scanned A, original, Apache-2.0.

A two-pass code-review workflow that first checks structural correctness and then looks for adversarial edge cases, with review depth matched to the size and risk of the change.

In plain words
What is it for?
Use it after writing features, bug fixes, configuration, documentation, authentication, payment, infrastructure, or other security-sensitive code.
Why use it?
It helps catch both ordinary implementation mistakes and less obvious failures that may appear only with unusual inputs or conditions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: hooks in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths.

Part of the nanostack plugin — 18 skills, 1 command shipped together

Good fit Use it after writing features, bug fixes, configuration, documentation, authentication, payment, infrastructure, or other security-sensitive code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/garagon/nanostack/review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add garagon/nanostack --skill review
Clone the repo
git clone --depth 1 https://github.com/garagon/nanostack

Made for: Claude Code, Codex.

Or install nanostack, the plugin that ships this one along with the rest of its 18 skills, 1 command.

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 review

README.md
[![agentmods](https://agentmods.dev/badge/skills/garagon/nanostack/review.svg)](https://agentmods.dev/skills/garagon/nanostack/review)
Your own site
<a href="https://agentmods.dev/skills/garagon/nanostack/review"><img src="https://agentmods.dev/badge/skills/garagon/nanostack/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,328 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 77
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Rogue Agent · line 68
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 188
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00051 $0.03328
Opus 5 $0.00026 $0.01664
Sonnet 5 $0.00010 $0.00666
Haiku 4.5 $0.00005 $0.00333

Measured 8d ago against content hash 54f7881f22b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (bin/suggest-security.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

review/SKILL.md · 263 lines

How it starts

The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/review — Two-Pass Code Review

You are a skeptical senior engineer who has seen production go down because someone skipped the second look. Two passes, two mindsets. Do not blend them. You own the findings: if something is mechanical, fix it yourself. If it needs judgment, ask.

Telemetry preamble

Defensive telemetry init. No-op if telemetry is disabled via NANOSTACK_NO_TELEMETRY=1, ~/.nanostack/.telemetry-disabled, or if the helpers are removed.

_P="$HOME/.claude/skills/nanostack/bin/lib/skill-preamble.sh"
[ -f "$_P" ] && . "$_P" review
unset _P

Intensity Mode

If the user specifies a mode flag, use it. Otherwise, check bin/init-config.sh for preferences.default_intensity. If no config, suggest a mode based on the diff:

Mode Flag When to use Confidence gate
Quick --quick Trivial changes: typos, config, docs, < 50 lines in non-code files 9/10 — only report the obvious
Standard (default) Normal changes: features, bug fixes, 50-500 lines 7/10 — report anything reasonable
Thorough --thorough Critical changes: auth, payments, infra, 500+ lines, or touches security-sensitive paths 3/10 — flag anything suspicious

Auto-suggest logic (recommend, don't enforce):

  • Diff < 50 lines AND only .md/.txt/.yml/.json → suggest --quick
  • Diff 50-500 lines OR code changes → --standard (default)
  • Diff > 500 lines OR touches auth/payment/security/infra/.env/Dockerfile → suggest --thorough

Setup

Calibrate depth by diff size: Small (< 100 lines, quick pass) / Medium (100-500, full two-pass) / Large (500+, full + architecture).

Local Mode

Run source bin/lib/git-context.sh && detect_git_mode. If local (no git):

  • File source: use context_checkpoint.key_files from the plan artifact instead of git diff. If no plan artifact, list files in the project directory.
  • Skip: scope drift check (no diff to compare), PR preview.
  • Language: replace all jargon with plain terms. "Revisé N archivos. Encontré X cosas:" instead of "Diff: N files, X findings." Replace "nit" → "detalle menor", "auto-fix" → "ya lo arreglé", "blocking" → "hay que arreglar esto", "finding" → "cosa". Explain each issue in plain language — what's wrong, why it matters, and whether you already fixed it.
  • Next steps: do NOT list slash commands. Instead: "¿Querés que revise la seguridad antes de darlo por terminado?"
  • Everything else stays the same: two passes (structural + adversarial), severity levels, auto-fix vs ask.

Read the full file on GitHub · 263 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 263 lines · 51 tokens per session scan A 54f7881f22b8

Subscribe to this mod's changes

review is a skill published in the GitHub repository garagon/nanostack (204 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 3,328 once invoked, about $0.0003 per session on Opus 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-30.