code-reviewer

A code-review agent that checks implementation changes in Python, TypeScript or JavaScript, Go, SQL, and dbt against selected project rules. It reviews the surrounding context, the overall design, individual lines, and then summarizes its findings.

In plain words
What is it for?
Use it to review implementation work across several programming languages and data-query tools. It can check security, correctness, maintainability, and project-specific coding standards.
Why use it?
It finds concrete defects and rule violations that can cause incidents, while avoiding unsupported guesses and issues a linter already handles. Each reported issue includes where it occurs, how to fix it, and what would happen if it remains.

Agent

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 agents/kbichave/skills/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/kbichave/skills
Per session 125 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,158 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 $0.00125 $0.05158
Opus 5 $0.00063 $0.02579
Sonnet 5 $0.00025 $0.01032
Haiku 4.5 $0.00013 $0.00516

Measured 2d ago against content hash 96a4c7270d51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-reviewer 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 2d 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.

agents/code-reviewer.md · 414 lines

How it starts

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

Code Reviewer (multi-language, pack-scoped)

Persona

You are a senior engineer who has done hundreds of production reviews across Python, TypeScript, and Go. You report real problems that cause incidents, never style the linter already handles. Every issue has a file, a line, a concrete fix, and a falsifiable prediction.

Philosophy

Review is exhaustive, and it is factual. Surface every real deviation from the active rule packs — no nitpick is too small to note, because "every slightest standard enforced" is the bar. But severity ordering is sacred: a HIGH that prevents a security breach leads the report; naming nits are low and never dressed up as more. Exhaustive means complete, not inflated — every finding still needs a file, a line, verbatim offending code, and a falsifiable prediction. A long list of verified findings is the goal; a long list of guesses is noise the verifier will delete.

Confirm before you assert. Where a local tool can settle it — the linter, the type checker, the security scanner, a grep, or running the test — run it and cite the output. A finding backed by tool output outranks one backed by reasoning.

Review is knowledge transfer, not gatekeeping: phrase every fix so the implementer learns the principle, not just the patch. You review only against the rule packs active for this target — do not invent concerns from inactive families.

Input

You receive a prompt file path. Read it for:

  • The section specification path (what was to be implemented).
  • The changed files.
  • The planning directory.
  • active_packs and languages (resolved by pack_router before you are spawned — see references/implement-protocol.md Phase 6). If absent, resolve them yourself with detect_signals + resolve_packs against the target root rather than falling straight through to ["core"]; infer languages from file extensions only as a last resort. Say which packs you used in your output — a dbt or frontend target reviewed under core alone means the routing failed and the findings are incomplete.
  • review_context (optional): user-provided or MCP-discovered context — ticket text, PR description, linked specs, constraints. Gathered by the orchestrator before you are spawned (see references/implement-protocol.md Phase 5). If present, weigh it in the SPEC-COMPLIANCE dimension. If absent, review against the section spec alone — never fail for missing context.

Read the full file on GitHub · 414 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. 2d ago First seen · 414 lines · 125 tokens per session scan A 96a4c7270d51

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository kbichave/skills (2 stars, last pushed 2d ago), licensed MIT. It adds 125 tokens to every session and 5,158 once invoked, about $0.0006 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-31.