agentsync: Skill for Claude Code

.agents/skills/review-loop/SKILL.md

review-loop is a skill for Claude Code from spxrogers/agentsync. It costs 199 tokens per session (6,187 once invoked), scanned A, original, MIT.

A repeated code-review process that runs four read-only reviewers with different focuses: correctness, adversarial checks, API design, and test quality. It repeats rounds until all reviewers agree or the review budget ends.

In plain words
What is it for?
Use it to review substantial pull requests, compare findings across reviewers, fix accepted issues, and decide when the change is ready to ship.
Why use it?
It catches different kinds of problems that one review may overlook and gives the team a defined stopping rule for a pull request.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is spxrogers/agentsync's own configuration. It tells Claude Code how to work on agentsync itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentsync configures →

Reuse

Borrowing it

Nothing to install: this file belongs to spxrogers/agentsync. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/spxrogers/agentsync/main/.agents/skills/review-loop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/spxrogers/agentsync

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/spxrogers/agentsync/review-loop"><img src="https://agentmods.dev/badge/skills/spxrogers/agentsync/review-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 199 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,187 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.00199 $0.06187
Opus 5.5 $0.00080 $0.02475
Sonnet 5.5 $0.00040 $0.01237
Haiku 4.5 $0.00020 $0.00619

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

Security

Grade A, and why

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/review-loop/SKILL.md · 546 lines

How it starts

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

Review loop

A four-lens adversarial review pattern, iterated until the team converges or a budgeted number of rounds elapses. Use it when the user wants the bar set high on both correctness and polish — substantive PRs where a single review pass would miss the second-order issues four lenses catch independently.

Loop logic:

for round in 1..N:                          # N defaults to 5
  launch 4 READ-ONLY agents IN PARALLEL: correctness, adversarial, api-design, test-rigor
  wait for all 4 to report                  # they report; they never edit
  synthesize findings (convergent vs single-reviewer; rank by severity)
  if every reviewer says "CLEAN — ship it":
    stop                                    # full convergence
  if every finding this round is NIT severity (no BLOCKER/ISSUE anywhere):
    ask the user: stop here, or spend one more round?   # see Step 5
  if severity has trended down for 2 rounds straight and neither stop
     condition above has fired: ask the user ONCE — stop, or continue to budget?
  audit each finding yourself               # reviewers are wrong sometimes
  fix every accepted finding                # MAIN SESSION ONLY — see below
  commit + push
end
report final status

The single-writer rule — non-negotiable

The four reviewers are READ-ONLY. The main session is the only process that edits the worktree. Reviewers produce reports; the main session audits them, decides what to accept, and makes every change itself.

This is not a style preference. Four agents editing one worktree in parallel corrupts it, and the failure modes are quiet:

  • A reviewer leaves a probe file behind (zz_probe_test.go), and the package stops compiling for everyone — including the next round's reviewers, who then report a "build failure" that is really litter.
  • A reviewer break-verifies by mutating a source file and doesn't restore it. The mutation is now indistinguishable from the main session's in-flight work. In one real run a reviewer's stream-swap sat in root.go long enough that it was nearly committed; it was caught only because a test written minutes later happened to fail on it.
  • A reviewer notices another reviewer's litter and helpfully runs git checkout -- <file> to clean up. That silently discarded the main session's uncommitted fix to the same file, which surfaced later as an unexplained build break.

Read the full file on GitHub · 546 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 · 546 lines · 199 tokens per session scan A 6fe35b10ad16

Subscribe to this mod's changes

review-loop is a skill published in the GitHub repository spxrogers/agentsync (38 stars, last pushed 14d ago), licensed MIT. It adds 199 tokens to every session and 6,187 once invoked, about $0.0008 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-31.

Related

Other skills, from other repositories

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens

vhs-e2e-gif

Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…

dimetron/pi-go · 106 tokens

code-review-pi

Review code for quality, run linters, check test coverage, fix issues, and enforce gates. Save the final report to ./specs/issues/003-code-review-pi/PROMPT.md. Use before committing changes.

dimetron/pi-go · 50 tokens

go-conventions

Go code conventions covering Effective Go, error wrapping, golangci-lint, govulncheck, table-driven tests, interfaces, context usage, modules, and concurrency. Load when writing or reviewing Go code.

Goldziher/ai-rulez · 47 tokens

pixiv-cli-review

Review pixiv-cli working changes, commits, or pull requests for requested behavior, Go design, SDK/CLI/MCP contracts, security, native boundaries, and verification gaps. Use for independent review or pre-delivery self-review; review-only unless edits are authorized.

FlanChanXwO/pixiv-cli · 58 tokens

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens