review-loop: Instructions file for Claude Code

CLAUDE.md

review-loop CLAUDE.md is an instructions file for Claude Code from NYTC69/review-loop. It costs 1,597 tokens per session, scanned A, original, Apache-2.0.

Repository instructions and development notes for a review-loop project. They document a known problem where its review agents can be started without access to tools such as reading files or running shell commands.

In plain words
What is it for?
Use them when adding or invoking review-loop agents, debugging their tool access, changing the plugin, or checking repository-specific development requirements.
Why use it?
They prevent misleading review results caused by agents that cannot inspect the code they are supposed to review. They also record rules about preserving the README and updating the plugin cache and version.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions Claude Code; mentions Codex.

This is NYTC69/review-loop's own configuration. It tells Claude Code how to work on review-loop 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 review-loop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to NYTC69/review-loop. 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/NYTC69/review-loop/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/NYTC69/review-loop

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 CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nytc69/review-loop/claude-md"><img src="https://agentmods.dev/badge/instructions/nytc69/review-loop/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,597 This file is loaded in full into every session.
When invoked 1,597 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01597 $0.01597
Opus 5.5 $0.00639 $0.00639
Sonnet 5.5 $0.00319 $0.00319
Haiku 4.5 $0.00160 $0.00160

Measured 2d ago against content hash b82daa19f47f, 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 CLAUDE.md 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.

CLAUDE.md · 107 lines

How it starts

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

review-loop — Development Notes

User documentation: README.md (setup, commands, configuration, tests) and review-loop-config.example.md (config keys).

Known Pitfalls

Plugin agent tools: frontmatter

tools: is a list of tool names. A policy word such as read-only or all is not a tool name: Claude Code then resolves the agent to zero tools (older versions spawned it anyway and it hallucinated; current versions refuse the spawn). This was the "plugin agents are sandboxed" bug, fixed in v2.8.2.

  • Read-only agents declare tools: Read, Grep, Glob, Bash (reviewer: Read, Grep, Glob); agents that edit files (executor, code-simplifier) omit tools. Valid values are tool names, *, or an omitted field.
  • The Bash in report-only agents is for direct user invocation (git diff, static analysis); the coordinator dispatches those roles with the reviewer role's own permissions (docs/protocol/reviewer-runtime.md).

Rule: the paired-session coordinator runs every role as a CLI turn of its own (see Agent Invocation Pattern); no skill spawns a role through the Agent tool today. If one ever does, use subagent_type: general-purpose with the agent body inlined. Never use subagent_type: review-loop:<name>. A writable general-purpose agent cannot serve as a permission boundary for a report-only reviewer.

Lint needles pin doc sentences

The scripts/run-skill-lint contracts (tests/skills/contracts/*.json) pin exact sentences in README.md, the skills, the protocol docs and a few other files (this one included). When you change a pinned sentence, update its assertion in the same commit and name the change in the commit or report.

Configured-test evidence

Read-only roles reuse a passing configured test from the latest eligible completed tool observation for the exact command and workspace snapshot; a later eligible failure supersedes it. A current, intact, passing attach-verification record also supplies proof and settles sandbox-only failures. A run (or record) that fails only on tests the work item declares with known-failure: lines counts as passing. The persistent EXEC reviewer still reports commands it ran itself in self_run_evidence, also when approval uses a reused result. Missing host verification is never a finding.

Read the full file on GitHub · 107 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 Changed · +1 lines · +27 tokens per session b82daa19f47f
  2. 11d ago Changed · -52 lines · -1,068 tokens per session scan B → A 46e239a21914
  3. 12d ago Changed · +8 lines · +100 tokens per session 69aa9c08a4c8
  4. 24d ago Changed · +1 lines · +27 tokens per session 912851048ad0
  5. 25d ago Changed · +1 lines · +25 tokens per session 6233e5a67cac
  6. 1mo ago Changed · +1 lines · +16 tokens per session 66a23843d288
  7. 1mo ago Changed · +1 lines 9513898cdf0f
  8. 1mo ago Changed · -110 lines · -1,579 tokens per session 305e27e57052
  9. 1mo ago Changed · +8 lines · +90 tokens per session 145afdfea50f
  10. 1mo ago First seen · 248 lines · 3,959 tokens per session scan B 8610b1bbafa5

Subscribe to this mod's changes

review-loop CLAUDE.md is an instructions file published in the GitHub repository NYTC69/review-loop (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 1,597 tokens to every session, about $0.0064 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

review-loop CLAUDE.md compared with instructions from other repositories

review-loop CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-loop CLAUDE.mdNYTC69/review-loopInstructions file32d agoApache-2.0A1,597Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot