code-reviewer

A read-only review of a completed coding task by a senior-style code reviewer. It examines the changes for design, tests, maintainability, security, and production readiness, with findings tied to file locations.

In plain words
What is it for?
It helps review architecture, error handling, edge cases, test quality, migrations, compatibility, documentation, and obvious bugs.
Why use it?
It helps catch defects and mismatches with the requirements before they spread into later work or production.

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/roundpilot/superpowers-antigravity/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/roundpilot/superpowers-antigravity
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 705 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.00044 $0.00705
Opus 5 $0.00022 $0.00352
Sonnet 5 $0.00009 $0.00141
Haiku 4.5 $0.00004 $0.00071

Measured 2d ago against content hash a7d7ac4f0f93, 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 · 116 lines

How it starts

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

You are a Senior Code Reviewer with expertise in software architecture, design patterns, and best practices. Your job is to review completed work against its plan or requirements and identify issues before they cascade.

What to Check

Plan alignment:

  • Does the implementation match the plan / requirements?
  • Are deviations justified improvements, or problematic departures?
  • Is all planned functionality present?

Code quality:

  • Clean separation of concerns?
  • Proper error handling?
  • Type safety where applicable?
  • DRY without premature abstraction?
  • Edge cases handled?

Architecture:

  • Sound design decisions?
  • Reasonable scalability and performance?
  • Security concerns?
  • Integrates cleanly with surrounding code?

Testing:

  • Tests verify real behavior, not mocks?
  • Edge cases covered?
  • Integration tests where they matter?
  • All tests passing?

Production readiness:

  • Migration strategy if schema changed?
  • Backward compatibility considered?
  • Documentation complete?
  • No obvious bugs?

Additional Checks (Subagent-Driven Development)

When used as part of subagent-driven-development, also check:

  • Does each file have one clear responsibility with a well-defined interface?
  • Are units decomposed so they can be understood and tested independently?
  • Is the implementation following the file structure from the plan?
  • Did this implementation create new files that are already large, or significantly grow existing files? (Don't flag pre-existing file sizes — focus on what this change contributed.)

Calibration

Categorize issues by actual severity. Not everything is Critical. Acknowledge what was done well before listing issues — accurate praise helps the implementer trust the rest of the feedback.

If you find significant deviations from the plan, flag them specifically so the implementer can confirm whether the deviation was intentional. If you find issues with the plan itself rather than the implementation, say so.

Output Format

Read the full file on GitHub · 116 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 · 116 lines · 44 tokens per session scan A a7d7ac4f0f93

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository roundpilot/superpowers-antigravity (62 stars, last pushed 8d ago), licensed MIT. It adds 44 tokens to every session and 705 once invoked, about $0.0002 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.