loop-review

loop-review is a skill for Claude Code, Codex from hhamja/claude-code-harness. It costs 59 tokens per session (895 once invoked), scanned A, original, MIT.

A review workflow for checking whether an agent loop or task-running harness has the controls it claims to have. It examines the project’s architecture, enforcement gates, maturity, and resistance to bypasses, then writes a scored report.

In plain words
What is it for?
Use it to audit agent orchestration systems, worker processes, verification gates, and other harnesses that control automated coding work.
Why use it?
It helps reveal missing safeguards, weak approvals, script bugs, and checks that can be easily bypassed. An optional fix mode can address high-severity findings on a branch and stop at a pull request.

Skill for Claude CodeCodex

Part of the loopy plugin — 8 skills, 5 agents, 4 hooks shipped together

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.

agentmods
npx agentmods add skills/hhamja/claude-code-harness/loop-review
Any agent
npx skills add hhamja/claude-code-harness --skill loop-review
Clone the repo
git clone --depth 1 https://github.com/hhamja/claude-code-harness

Made for: Claude Code, Codex.

Or install loopy, the plugin that ships this one along with the rest of its 8 skills, 5 agents, 4 hooks.

Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 895 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00059 $0.00895
Opus 5 $0.00030 $0.00447
Sonnet 5 $0.00012 $0.00179
Haiku 4.5 $0.00006 $0.00089

Measured 3d ago against content hash 6b1b11f6c3ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

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.

skills/loop-review/SKILL.md · 32 lines

How it starts

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

loop-review — comprehensive harness review

Review a target project's agent/loop harness against the control plane (${CLAUDE_PLUGIN_ROOT}/docs/loop-control-plane.md) — not just whether the architecture exists, but whether its gates actually hold. Orchestrator-worker + maker≠checker: you (the main agent) are the orchestrator only — you spawn read-only reviewers, adversarially reproduce their findings, synthesize, and write the report. You never grade your own reading.

Complementary to /loopy:loop-audit (grades an initialized loop's process) and loop-run --verify-only (grades the product). This one grades the architecture and its enforcement, and works on any project — including one with no .claude/loop/.

Target path ($ARGUMENTS): default ..

Procedure

  1. Fan out (parallel, read-only). Spawn together, each returning one report and modifying nothing:
    • loop-architect — "diagnose the harness at <path> — ETCLOVG coverage + L0–L5 maturity". The structured spine.
    • design-critic — "adversarially red-team the harness at <path>: refute its compliance claims — gate bypasses, forgeable approvals, rubber-stamps, script bugs".
    • If <path>/.claude/loop/ exists, also auditor (process adherence). For a large harness, add a few explorer scouts split by cutting plane (hooks/CI, gate scripts, agents, state templates) so coverage does not rest on one context.
  2. Reproduce, don't trust (§3). A single checker rubber-stamps. For each design-critic hole a command can settle (e.g. a gate that should deny), reproduce it YOURSELF in a fresh temp dir (mktemp -d — never against the target's own files) by feeding the input to the actual script. Promote only reproduced holes to CONFIRMED; leave the rest PLAUSIBLE. Drop any that fail to reproduce.
  3. Synthesize (you write everything — maker≠checker for the review itself). Merge into ONE report: an ETCLOVG table (PASS/PARTIAL/MISSING + cited evidence), maturity: L<n>/5 with the single capping requirement, holes ranked by exploitability (CONFIRMED/PLAUSIBLE, each with repro or reason), and priority fixes in build order (§9 — enforcement holes and verifier/holdout before observability before governance polish). OVERWRITE <path>/harness-review.md with a one-line timestamp header. It is human-facing — commit it like review.md, never gitignore.
  4. Next step. Point at the top fix. If the target has no loop, suggest /loopy:loop-init.

Read the full file on GitHub · 32 lines

Files

What ships with it

1 file 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.

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. 3d ago First seen · 32 lines · 0 tokens per session scan A 6b1b11f6c3ec

Subscribe to this mod's changes

loop-review is a skill published in the GitHub repository hhamja/claude-code-harness (1 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 895 once invoked, about $0.0003 per session on Opus 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