review-code

review-code is a skill for Claude Code, Codex from andrewvaughan/agent-council. It costs 53 tokens per session (2,228 once invoked), scanned A, original, MIT.

A thorough check of code changes from several viewpoints, including security, code quality, documentation, and the relevant technical area. It also runs automated security checks.

In plain words
What is it for?
Use it before opening a pull request, which is a request to review and merge code, or whenever you want a detailed review of the current changes.
Why use it?
It helps find defects, security risks, and missing documentation before changes are proposed for inclusion in the main codebase.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool; mentions Claude Code.

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.

agentmods
npx agentmods add skills/andrewvaughan/agent-council/review-code
Any agent
npx skills add andrewvaughan/agent-council --skill review-code
Clone the repo
git clone --depth 1 https://github.com/andrewvaughan/agent-council

Made for: Claude Code, Codex.

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-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewvaughan/agent-council/review-code.svg)](https://agentmods.dev/skills/andrewvaughan/agent-council/review-code)
Your own site
<a href="https://agentmods.dev/skills/andrewvaughan/agent-council/review-code"><img src="https://agentmods.dev/badge/skills/andrewvaughan/agent-council/review-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,228 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00053 $0.02228
Opus 5 $0.00026 $0.01114
Sonnet 5 $0.00011 $0.00446
Haiku 4.5 $0.00005 $0.00223

Measured 6d ago against content hash a6b8651209c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

review-code 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • skill-078 — 97% identical, 5 lines differ
canonical/skills/review-code/SKILL.md · 229 lines

How it starts

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

Code Review Workflow

Run a comprehensive, multi-perspective code review on the current branch changes. This skill activates the Review Council and integrates automated security scanning to catch issues before they reach a pull request.

[!CAUTION] Scope boundary: This skill reviews code and commits fixes. It does NOT create pull requests, push to remote, or merge anything. When the review is complete, stop and suggest the user run /submit-pr next. Do not proceed to PR creation — that is /submit-pr's job.

[!WARNING] Checkpoint protocol. When this workflow reaches a ### CHECKPOINT, you must actively prompt the user for a decision — do not simply present information and continue. Use your agent's interactive prompting mechanism (e.g., AskUserQuestion in Claude Code) to require an explicit response before proceeding. This prevents queued or in-flight messages from being misinterpreted as approval. If your agent lacks interactive prompting, output the checkpoint content and stop all work until the user explicitly responds.

Step 1: Analyze Current Changes

Identify all changes on the current branch:

  1. Run git diff origin/main...HEAD to see all changes relative to main
  2. Run git diff and git diff --cached to catch any uncommitted work
  3. Run git status to see modified, added, and deleted files

Categorize changed files by layer based on your project's directory structure:

  • Frontend: UI components, pages, styles, client-side logic
  • Backend: API routes, services, business logic, server-side code
  • Database: Schema files, migrations, seed data
  • Configuration: Config files, CI/CD, container definitions, environment files
  • Documentation: Markdown files, docs directories
  • Tests: Test files (.test.*, .spec.*)

Present a summary of changed files by category to the user.

Step 2: Run Formatting and Lint Checks

Run your project's formatting and lint commands before the council review to catch mechanical issues early. Common examples:

Read the full file on GitHub · 229 lines

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. 6d ago First seen · 229 lines · 53 tokens per session scan A a6b8651209c6

Subscribe to this mod's changes

review-code is a skill published in the GitHub repository andrewvaughan/agent-council (13 stars, last pushed 6mo ago), licensed MIT. It adds 53 tokens to every session and 2,228 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.