rereview-loop

rereview-loop is a skill for Claude Code from drn/dots. It costs 57 tokens per session (4,566 once invoked), scanned A, original, MIT.

An automated review-and-fix loop that runs the `/rereview` command repeatedly until the code has no reported issues or the loop stops.

In plain words
What is it for?
Use it for repeated pre-merge code reviews. You can choose the code scope, maximum number of cycles, and which issue severities to fix automatically.
Why use it?
It removes the need to manually repeat review, fix problems, and review again. It can also stop when it reaches a set iteration limit or makes no progress.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it for repeated pre-merge code reviews. You can choose the code scope, maximum number of cycles, and which issue severities to fix automatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drn/dots/rereview-loop
View source ↗ drn/dots
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 drn/dots --skill rereview-loop
Clone the repo
git clone --depth 1 https://github.com/drn/dots

Made for: Claude Code.

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 rereview-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/drn/dots/rereview-loop/github.svg)](https://agentmods.dev/skills/drn/dots/rereview-loop)
Your own site
<a href="https://agentmods.dev/skills/drn/dots/rereview-loop"><img src="https://agentmods.dev/badge/skills/drn/dots/rereview-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 rereview-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/drn/dots/rereview-loop"><img src="https://agentmods.dev/badge/skills/drn/dots/rereview-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,566 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.00057 $0.04566
Opus 5.5 $0.00023 $0.01826
Sonnet 5.5 $0.00011 $0.00913
Haiku 4.5 $0.00006 $0.00457

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

Security

Grade A, and why

rereview-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/rereview-loop/SKILL.md · 316 lines

How it starts

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

Re-Review Loop

Run /rereview repeatedly: review → fix the findings → re-review → repeat. Stop when all three reviewers approve with zero BLOCKING and zero WARNING findings, when the iteration cap is hit, or when an iteration makes no progress.

Arguments

  • $ARGUMENTS - Optional. Forms:
    • <branch-or-range> - passed through to /rereview as its scope
    • max=<N> - cap the number of review→fix iterations (default 5)
    • severity=blocking - only auto-fix BLOCKING findings (default fixes BLOCKING + WARNING)
    • severity=all - auto-fix BLOCKING + WARNING + INFO
    • push - after each iteration commit, and push the branch with git push -u origin HEAD (opt-in; the same applies if the user explicitly asks mid-run to update the PR between loops)
    • Any combination, space-separated. Example: /rereview-loop max=3 severity=blocking

Context

  • Current branch: !git branch --show-current
  • Base ref: !git branch -r 2>/dev/null | grep -oE 'origin/(main|master)' | head -1
  • Git status: !git status --short
  • Commits vs main: !git log origin/main..HEAD --oneline 2>/dev/null | head -20
  • Commits vs master: !git log origin/master..HEAD --oneline 2>/dev/null | head -20

Overview

You are the lead coordinator for an iterative re-review loop. Your job is to drive findings to zero by alternating between review (delegated to /rereview) and fixes (applied here).

Core principle: trust the reviewers. Fix what they flag, do not argue with the verdict to escape the loop. The loop exits when reviewers say it's clean -- not when you decide it's clean.

Hard rules:

  • NEVER skip, weaken, or reword reviewer findings to make them "easier to satisfy."
  • NEVER mark a finding addressed without making (or consciously rejecting) a code change.
  • NEVER cap the loop early just because the remaining findings look minor -- run to the cap or to clean.
  • NEVER fix a finding by deleting the test that catches it.

Phase 0: Parse arguments and initialize state

Read the full file on GitHub · 316 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 Changed · +19 lines f0ba5b90910b
  2. 2mo ago Changed · +14 lines 64ad7919a990
  3. 3mo ago First seen · 283 lines · 57 tokens per session scan A 23b5b689a9b0

Subscribe to this mod's changes

rereview-loop is a skill published in the GitHub repository drn/dots (23 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 4,566 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.

Related

rereview-loop compared with skills from other repositories

rereview-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rereview-loopdrn/dotsSkill23yesterdayMITA57Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k10d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k3d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill974todayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k18d agoMITA162Claude Code, Codex