totem: Skill for Claude Code

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

review-loop is a skill for Claude Code, Codex from mmnto-ai/totem. It costs 22 tokens per session (1,298 once invoked), scanned A, original, Apache-2.0.

A local code-review cycle that repeatedly checks a project, applies the findings, and checks again until the review tool says it is settled.

In plain words
What is it for?
It is for running the repository's configured review checks, following findings across rounds, and confirming that all configured review lanes have reached a settled result.
Why use it?
It helps resolve local review issues before sending the code to automated review bots or opening it to external review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is mmnto-ai/totem's own configuration. It tells Claude Code and Codex how to work on totem 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 totem configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mmnto-ai/totem. 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/mmnto-ai/totem/main/.agents/skills/review-loop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mmnto-ai/totem

Made for: Claude Code, Codex.

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/mmnto-ai/totem/review-loop/github.svg)](https://agentmods.dev/skills/mmnto-ai/totem/review-loop)
Your own site
<a href="https://agentmods.dev/skills/mmnto-ai/totem/review-loop"><img src="https://agentmods.dev/badge/skills/mmnto-ai/totem/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/mmnto-ai/totem/review-loop"><img src="https://agentmods.dev/badge/skills/mmnto-ai/totem/review-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,298 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 6
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Excessive Agency · line 20
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
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.00022 $0.01298
Opus 5 $0.00011 $0.00649
Sonnet 5 $0.00004 $0.00260
Haiku 4.5 $0.00002 $0.00130

Measured 5d ago against content hash 85a93c1bb585, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 5d 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 · 43 lines

How it starts

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

Drive the LOCAL pre-push review loop to convergence: run the review, absorb its findings, re-run, and repeat until the CLI reports the round settled — before any external bot pass. The loop state (round chaining, the settle computation, lane coverage) is entirely CLI-owned; this skill is a thin driver. Do not reimplement settle logic or count rounds yourself — read what the CLI reports.

This is NOT the external-bot triage skill. /review-reply handles bot comments on a PR; do NOT invoke external review bots (CodeRabbit, Gemini Code Assist, Greptile) from here. This loop settles local findings first.

The loop

  1. Run the review. totem review runs the repo's configured lanes. Do NOT pass --model unless the user explicitly asked for a one-lane run — an explicit --model selects a single-lane invocation and never joins the configured fan. If review.lanes is not configured, totem review runs the legacy single-lane path and emits NO verdict artifact or local-lane: line — this loop's contract requires the verdict artifact, so configure review.lanes first (a single entry suffices).

  2. Read the reported outcome. The CLI reports the findings, the lane coverage (completed / attempted), the settled state, and the round number. Take them as reported — do not derive settled yourself.

  3. If not settled: apply fixes, then re-run. Fix the actionable findings — WARN and CRITICAL are actionable; INFO is cosmetic and can be skipped. Then re-run totem review; the CLI chains the next round automatically from the prior verdict. An explicit --continues <verdict-hash> override exists for the rare case where the CLI reports a lineage fork you know is wrong (e.g. a rebase it mis-linked) — otherwise let it chain on its own.

  4. Repeat until settled — or stop honestly. Loop until the CLI reports the round settled. Stop and report if the CLI's max-rounds advisory fires, or a finding is disputed. Never loop forever, and never silently override a disputed finding — a dispute goes to the human.

Read the full file on GitHub · 43 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. 5d ago Changed · +1 lines 85a93c1bb585
  2. 9d ago First seen · 42 lines · 22 tokens per session scan A 40331a4a7d7c

Subscribe to this mod's changes

review-loop is a skill published in the GitHub repository mmnto-ai/totem (17 stars, last pushed today), licensed Apache-2.0. It adds 22 tokens to every session and 1,298 once invoked, about $0.0001 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-30.