code-review-loop

code-review-loop is a skill for Claude Code, Codex from mtarcure/claude-vibe-squad. It costs 54 tokens per session (521 once invoked), scanned A, original, MIT.

A structured review process for checking a completed code change against its intended behavior. It examines correctness, possible side effects, and long-term maintainability, then allows limited follow-up reviews.

In plain words
What is it for?
Use it to review a fixed diff, which is the set of changes between two code versions. It produces verified findings and a recommendation while leaving the final accept-or-reject decision to the controller.
Why use it?
It helps reviewers find important problems without producing an unbounded stream of repeated comments. Findings are checked and ranked by severity.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to review a fixed diff, which is the set of changes between two code versions. It produces verified findings and a recommendation while leaving the final accept-or-reject decision to the controller.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mtarcure/claude-vibe-squad/code-review-loop
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 mtarcure/claude-vibe-squad --skill code-review-loop
Clone the repo
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/code-review-loop/github.svg)](https://agentmods.dev/skills/mtarcure/claude-vibe-squad/code-review-loop)
Your own site
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/code-review-loop"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/code-review-loop/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.

agentmods 80×15 button for code-review-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/code-review-loop"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/code-review-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 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 pass 7 Sept 2026
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.00054 $0.00521
Opus 5.5 $0.00022 $0.00208
Sonnet 5.5 $0.00011 $0.00104
Haiku 4.5 $0.00005 $0.00052

Measured 1mo ago against content hash 270cd4deb123, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-review-loop 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 1mo 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/skills/code-review-loop/SKILL.md · 30 lines

How it starts

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

Code Review Loop

Run a review as a bounded, converging loop instead of an open-ended critique, so it terminates on evidence rather than exhaustion. The reviewer owns evidence and recommendations; Chrono or the controlling workflow owns the consequential accept/request-changes decision and any task-status transition.

Steps

  1. Establish the subject: the exact diff, base ref, and stated intent. A review without a fixed base is not reproducible.
  2. Read the intent first, the diff second. Findings are deviations from stated intent or from invariants the surrounding code relies on — not deviations from personal preference.
  3. Pass one — correctness: trace each changed path for wrong results, unhandled states, broken invariants, and concurrency or lifetime errors.
  4. Pass two — blast radius: find callers, persisted data, and public contracts the change touches; a locally-correct change can still be globally wrong.
  5. Pass three — quality: naming, duplication, and dead code, reported only when they impede future correctness. Never let this pass outrank pass one.
  6. Rank findings with review-severity-ladder, and validate each against claim-verification before writing it down.
  7. Emit a findings package and recommendation, not a controller verdict. Recommend acceptance when no verified finding survives the agreed floor, or recommend changes with a specific, checkable list. Every recommended change names the file, the line, and the failing scenario. Never set approval, request-changes, or task status from the reviewer role.
  8. On the next iteration, re-review only the delta plus anything the delta invalidates. Close findings explicitly as fixed, disputed, or accepted-as-residual.
  9. Stop when no finding above the agreed severity floor survives verification. Escalating the threat model to keep finding issues is a failure of the loop, not diligence.

Acceptance

  • The review names its base ref and the intent it reviewed against.
  • Every finding states a concrete failing scenario, not a general concern.
  • Findings are severity-ranked and the recommendation follows from the ranking; the controller makes the decision.
  • Each iteration closes prior findings explicitly; none are silently dropped.
  • The loop terminates on a stated floor rather than on reviewer fatigue.

Read the full file on GitHub · 30 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. 1mo ago First seen · 30 lines · 54 tokens per session scan A 270cd4deb123

Subscribe to this mod's changes

code-review-loop is a skill published in the GitHub repository mtarcure/claude-vibe-squad (165 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 521 once invoked, about $0.0002 per session on Opus 5.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.