autor.auto-review-loop

autor.auto-review-loop is a command for Claude Code from llv22/AutoResearchWithEyes. It costs 58 tokens per session (1,790 once invoked), scanned A, original, MIT.

Príkaz na opakované odborné hodnotenie výskumu, zapracovanie opráv a nové hodnotenie až do kladného výsledku alebo dosiahnutia limitu kôl.

In plain words
What is it for?
Pomáha spúšťať viac kôl hodnotenia, vykonávať navrhnuté zmeny, ukladať stav procesu a pokračovať po prerušení.
Why use it?
Pomáha systematicky zlepšovať výskum bez ručného sledovania každého kola kontroly a opráv.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions Codex.

Part of the auto-research-with-eyes plugin — 10 skills, 5 commands, 2 agents, 1 MCP server shipped together

Good fit Pomáha spúšťať viac kôl hodnotenia, vykonávať navrhnuté zmeny, ukladať stav procesu a…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/llv22/autoresearchwitheyes/autor.auto-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.

Clone the repo
git clone --depth 1 https://github.com/llv22/AutoResearchWithEyes

Made for: Claude Code.

Or install auto-research-with-eyes, the plugin that ships this one along with the rest of its 10 skills, 5 commands, 2 agents, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/llv22/autoresearchwitheyes/autor.auto-review-loop.svg)](https://agentmods.dev/commands/llv22/autoresearchwitheyes/autor.auto-review-loop)
Your own site
<a href="https://agentmods.dev/commands/llv22/autoresearchwitheyes/autor.auto-review-loop"><img src="https://agentmods.dev/badge/commands/llv22/autoresearchwitheyes/autor.auto-review-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,790 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.
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.00058 $0.01790
Opus 5 $0.00029 $0.00895
Sonnet 5 $0.00012 $0.00358
Haiku 4.5 $0.00006 $0.00179

Measured 6d ago against content hash 4716ec09e11c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

autor.auto-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 6d 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.

commands/autor.auto-review-loop.md · 200 lines

How it starts

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

Auto Review Loop: Autonomous Research Improvement

Autonomously iterate: review → implement fixes → re-review, until the external reviewer gives a positive assessment or MAX_ROUNDS is reached.

Context: $ARGUMENTS

Constants

All constants (MAX_ROUNDS, POSITIVE_THRESHOLD, REVIEWER_MODEL) are defined in the project's CLAUDE.md. Read them from there before proceeding.

  • REVIEW_DOC: AUTO_REVIEW.md in project root (cumulative log)

State Persistence (Compact Recovery)

Long-running loops may hit the context window limit, triggering automatic compaction. To survive this, persist state to REVIEW_STATE.json after each round:

{
  "round": 2,
  "threadId": "019cd392-...",
  "status": "in_progress",
  "last_score": 5.0,
  "last_verdict": "not ready",
  "pending_experiments": ["screen_name_1"],
  "timestamp": "2026-03-13T21:00:00"
}

Write this file at the end of every Phase E (after documenting the round). Overwrite each time — only the latest state matters.

On completion (positive assessment or max rounds), set "status": "completed" so future invocations don't accidentally resume a finished loop.

Workflow

Initialization

  1. Check for REVIEW_STATE.json in project root:
    • If it does not exist: fresh start (normal case, identical to behavior before this feature existed)
    • If it exists AND status is "completed": fresh start (previous loop finished normally)
    • If it exists AND status is "in_progress" AND timestamp is older than 24 hours: fresh start (stale state from a killed/abandoned run — delete the file and start over)
    • If it exists AND status is "in_progress" AND timestamp is within 24 hours: resume
      • Read the state file to recover round, threadId, last_score, pending_experiments
      • Read AUTO_REVIEW.md to restore full context of prior rounds
      • If pending_experiments is non-empty, check if they have completed (e.g., check screen sessions)
      • Resume from the next round (round = saved round + 1)
      • Log: "Recovered from context compaction. Resuming at Round N."
  2. Read project narrative documents, memory files, and any prior review documents
  3. Read recent experiment results (check output directories, logs)
  4. Identify current weaknesses and open TODOs from prior reviews
  5. Initialize round counter = 1 (unless recovered from state file)
  6. Create/update AUTO_REVIEW.md with header and timestamp

Read the full file on GitHub · 200 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. 6d ago First seen · 200 lines · 58 tokens per session scan A 4716ec09e11c

Subscribe to this mod's changes

autor.auto-review-loop is a command published in the GitHub repository llv22/AutoResearchWithEyes (5 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 1,790 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.