Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Borda/AI-Rignpx agentmods add skills/borda/ai-rig/code-reviewWrote 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.
[](https://agentmods.dev/skills/borda/ai-rig/code-review)<a href="https://agentmods.dev/skills/borda/ai-rig/code-review"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/code-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.
<a href="https://agentmods.dev/skills/borda/ai-rig/code-review"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.23715 |
| Opus 5.5 | $0.00016 | $0.09486 |
| Sonnet 5.5 | $0.00008 | $0.04743 |
| Haiku 4.5 | $0.00004 | $0.02371 |
Grade A, and why
code-review scanned grade A with 1 finding 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 3d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Never reconstruct changed source from `curl`, `raw.githubusercontent.com`, or `head-files/` snapshots. How it starts
The opening of the file, as written. The whole thing — 649 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Before asking, read User Questions.
Code Review
For an authorized review-and-fix cycle, read ../../shared/adversarial-loop.md for convergence and stop rules. A review-only request remains read-only; a clean loop does not replace this skill's evidence, artifact, and completion/discovery gates.
Challenge Resolve is opt-in: a Code Review invocation alone does not authorize the challenge-resolve skill or an additional iterative adversarial review-and-fix loop. When one would help and the user has not expressly requested or approved it, explain its bounded scope and ask before entering that workflow or loop. Existing explicit approval for the same scope remains valid; do not ask again. Ordinary candidate validation, configured reviewer/challenger inspection and required checks stay within Code Review; they never silently escalate into repeated resolution rounds. A reviewer role named challenger is not authorization to invoke Challenge Resolve. Preserve read-only review and all existing completion gates if the user declines the optional loop.
Run tiered review with strict output gates.
Apply the shared Proportional Execution policy when choosing direct analysis or a detailed workflow; this review's source, coverage, artifact, and completion gates still govern a selected detailed route.
Input Schema
{
"scope": "optional working-tree|path|commit|pr; infer pr for bare number, #number, or PR URL",
"target": "optional path, commit ref, PR number, PR URL, or current branch PR",
"done_when": "blocking issues are identified with gate decision"
}
Scope And Routing
working-tree: review unstaged/staged local changes.path: review one file/directory diff.commit: review git diff revision spec, such asCOMMIT^!,BASE..HEAD, orBASE...HEAD.pr: review open pull request: collect GitHub PR metadata/review evidence, fetch target and PR commits, inspect the verified local checkout;targetmay be PR number, URL, or current-branch PR.
What ships with it
13 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.
- local-reviewer-wave.md 16 KB
- references/batched-review.md 14 KB
- references/collection-failure.md 5.2 KB
- references/historical-routes.md 21 KB
- references/report-recovery.md 3.9 KB
- references/validation-recovery.md 16 KB
- result-template.json 5.3 KB
- review_batches.py 80 KB runs code
- review_context.py 9.6 KB runs code
- review_execution_validation.py 148 KB runs code
- review_prepare.py 55 KB runs code
- review_routing.py 7.9 KB runs code
- validate_artifacts.py 192 KB runs code
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.
- 3d ago Changed · +8 lines 67d3553cac99
- 4d ago Changed · -202 lines · +17 tokens per session 66a4ebf4a406
- 5d ago Changed · +2 lines 7837d194a7ce
- 6d ago Changed · +4 lines be90485bcde8
- 9d ago Changed · +2 lines 1c17a72991b2
- 10d ago Changed · +13 lines c179beefdddb
- 11d ago Changed 474c0ddd8303
- 12d ago Changed · +2 lines fee21efd307e
- 13d ago Changed · +3 lines fbc3ac2bf740
- 14d ago First seen · 817 lines · 24 tokens per session scan A 8bc9eb51bda5
code-review is a skill published in the GitHub repository Borda/AI-Rig (28 stars, last pushed 4d ago), licensed Apache-2.0. It adds 41 tokens to every session and 23,715 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
auto-test-code
A structured process for critically reviewing and testing software code. It records review findings, test plans, commands, results, and supporting files in a project workspace.
git-pr-review
A read-only reviewer for GitHub pull requests, which are proposed code changes submitted for review. It produces an evidence-based report about whether a pull request should be merged.
challenge
Use before a root-cause, done/verified claim, irreversible action, or 2nd-time fix reaches the owner (APEX or plain conversation); also fires at every eLicit/Verify gate. Not for code correctness (use sniper).
code-quality
Use when validating code quality after modifications -- SOLID compliance, DRY duplication, linter errors, architecture violations. Do NOT use for functional verification (run verification FIRST, then code-quality).
elicitation
Use when an expert agent self-reviews and self-corrects code after the Execute phase, before sniper validation (BMAD-METHOD elicitation techniques).
react-effects-audit
Use when auditing React or Next.js components for unnecessary or unsafe useEffect usage -- detects 9 anti-patterns from "You Might Not Need an Effect".