review-agents-tree

review-agents-tree is a skill for Claude Code, Codex from siarhei-belavus/agent-public. It costs 57 tokens per session (1,391 once invoked), scanned A, original, MIT.

A review tool for the AGENTS.md instruction files that guide coding agents in a repository. It checks whether those instructions are consistent, focused, and arranged sensibly.

In plain words
What is it for?
Use it to audit an AGENTS.md tree, record findings in a review file, and propose cleanup, consolidation, or splitting of guidance.
Why use it?
It helps prevent conflicting, outdated, or overly large guidance from making agent work less predictable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to audit an AGENTS.md tree, record findings in a review file, and propose cleanup, consolidation, or splitting of guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/siarhei-belavus/agent-public/review-agents-tree
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.

Any agent
npx skills add siarhei-belavus/agent-public --skill review-agents-tree
Clone the repo
git clone --depth 1 https://github.com/siarhei-belavus/agent-public

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-agents-tree

README.md
[![agentmods](https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/review-agents-tree/github.svg)](https://agentmods.dev/skills/siarhei-belavus/agent-public/review-agents-tree)
Your own site
<a href="https://agentmods.dev/skills/siarhei-belavus/agent-public/review-agents-tree"><img src="https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/review-agents-tree/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-agents-tree

Your own site · 80×15
<a href="https://agentmods.dev/skills/siarhei-belavus/agent-public/review-agents-tree"><img src="https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/review-agents-tree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,391 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.00057 $0.01391
Opus 5 $0.00028 $0.00696
Sonnet 5 $0.00011 $0.00278
Haiku 4.5 $0.00006 $0.00139

Measured 11d ago against content hash 2fe6ac956402, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

review-agents-tree 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 11d 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/atelier-workflow/review-agents-tree/SKILL.md · 130 lines

How it starts

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

review-agents-tree

Manual durable-context hygiene pass.

Not a workflow gate. Not a replacement for distill-knowledge.

Run this periodically to keep the tracked AGENTS.md tree lean, conflict-free, and aligned with current code/tests.

Read first

  • ../references/persistent-artifacts-contract.md
  • ../../references/communication-mode.md
  • root tracked AGENTS.md
  • all tracked local AGENTS.md files under the repository
  • tracked AGENTS.override.md paths only to detect misuse or drift; never treat them as canonical repo truth
  • relevant code/tests only when a guidance conflict or staleness finding needs verification

Scope

This skill owns:

  • periodic best-practice audit of the tracked AGENTS.md tree
  • writing .agents/AGENTS_TREE_REVIEW.md
  • proposing cleanup, compaction, conflict resolution, and sharding plans
  • auto-applying only trivial non-semantic hygiene fixes when they are clearly safe
  • being the only non-distill skill allowed to touch tracked AGENTS.md, and only for those trivial non-semantic hygiene fixes

It does not own:

  • writing AGENTS.override.md
  • semantic doctrine changes without explicit human approval
  • shard creation, shard moves, or meaning-changing conflict resolution without explicit human approval
  • task-local packet work unless a current task explicitly asked for this audit as part of that packet

Audit workflow

  1. Discover the tracked tree.
    • Enumerate all tracked AGENTS.md files.
    • Note any tracked AGENTS.override.md files as likely hygiene smells.
    • Build the effective hierarchy from root downward.
  2. Audit file shape.
    • Confirm every tracked AGENTS.md has ## Scope.
    • Confirm section names stay canonical when present.
    • Flag missing, tautological, or low-value ## Scope sections.
    • Flag ## Entrypoints sections in deep leaf shards when they add no real wayfinding value.
    • Confirm other sections are present only when they contain real content.
    • Flag files that drift from canonical section names.
  3. Audit lean-ness.
    • Treat broad overview prose, directory dumps, repeated boilerplate, and generic cookbook content as compaction smells.
    • Treat roughly 200+ lines as a review trigger for compaction or sharding, not an automatic failure.
  4. Audit specificity.
    • Flag vague, non-verifiable instructions.
    • Prefer exact commands, stable owner/module names, hard constraints, and durable rationale.
    • Treat raw file-path links as a fragility smell unless they are unusually stable and clearly necessary.
  5. Audit hierarchy quality.
    • Flag parent/child duplication when the child adds no meaningful specialization.
    • Flag local files that restate root doctrine instead of carrying only boundary-local guidance.
    • Flag guidance placed too high or too low relative to the stable owner boundary.
  6. Audit conflicts and ambiguity.
    • Flag contradictory rules across parent/child tracked files.
    • Flag ambiguous wording that could lead different agents to make different choices.
    • Verify suspicious conflicts against code/tests before concluding.
  7. Audit staleness.
    • Flag stale paths, commands, owner/module references, or other brittle anchors.
    • Flag entries that are now better encoded in code/tests and should be pruned.
  8. Audit for task-state leakage.
    • Flag plan recaps, worklog residue, temporary migration notes, or current-task chatter that belongs in .plans/*, not tracked AGENTS.md.
  9. Decide whether a trivial hygiene fix is safe.
    • Safe auto-fix classes:
      • section heading normalization to canonical names
      • whitespace / formatting cleanup
      • deduping exact duplicate bullets
      • removing obviously broken file references when the correct target is unambiguous
      • reordering within one section when meaning does not change
    • If any fix changes meaning, defers a judgment call, or changes topology, do not apply it automatically.
  10. Write .agents/AGENTS_TREE_REVIEW.md.
    • Summarize current tree health.
    • Record any auto-applied hygiene fixes.
    • Emit concrete findings and approval-gated proposals.

Read the full file on GitHub · 130 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. 11d ago First seen · 130 lines · 57 tokens per session scan A 2fe6ac956402

Subscribe to this mod's changes

review-agents-tree is a skill published in the GitHub repository siarhei-belavus/agent-public (2 stars, last pushed 3mo ago), licensed MIT. It adds 57 tokens to every session and 1,391 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.