claude-setup-review

A review agent for the project’s Claude setup, including CLAUDE.md instructions, rules, skills, file paths, and agent configuration.

In plain words
What is it for?
Use it to review the agent harness—the files and rules that control automated coding work—or as part of a whole-repository review.
Why use it?
Incorrect setup instructions or paths can make an agent ignore available tools or fail to load the right files. It checks the configuration directly and reports missing or invalid parts.

Agent

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 agents/bdfinst/agentic-dev-team/claude-setup-review
Clone the repo
git clone --depth 1 https://github.com/bdfinst/agentic-dev-team
Per session 25 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,719 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.00025 $0.01719
Opus 5 $0.00013 $0.00860
Sonnet 5 $0.00005 $0.00344
Haiku 4.5 $0.00003 $0.00172

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

Security

Grade A, and why

claude-setup-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.

plugins/dev-team/agents/claude-setup-review.md · 137 lines

How it starts

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

Claude Setup Review

Scope: on-demand Cites:

  • adversarial-review-protocol
  • directory-enumeration Enforcement: script

Dispatched by the user-invocable /claude-setup-review command and by the whole-tree /repo-review command (#1735), never by /code-review's automatic panel. This agent reviews the harness (CLAUDE.md, rules, skills, agent frontmatter), not the changeset, so it has nothing to say about a diff: under the old Scope: always it joined an 18-lens panel for a two-file JS change in a project with no Claude config at all. select_lenses.py's resolver reads this Scope: on-demand declaration directly and never selects it for the per-diff roster — the agent body is the single source of truth for this exclusion, same as any other Scope: kind.

Implemented by: ${CLAUDE_PLUGIN_ROOT}/scripts/claude_setup_review.py — a deterministic validator, so prefer running it over re-deriving its checks by reading files. It was previously named as a bare scripts/… path while living only at this repository's root, so for anyone who installed the plugin the reference resolved nowhere and the agent silently degraded to a pure-LLM pass.

Output JSON: per ${CLAUDE_PLUGIN_ROOT}/knowledge/review-agent-output-contract.md (Whole-file load: short, canonical schema).

Status: pass=complete config, warn=gaps, fail=critical missing Severity: error=blocks AI effectiveness or violates required schema; warning=reduces quality or uses unsupported field; suggestion=enhancement or style improvement Confidence: high=mechanical fix (add missing field, fix invalid value); medium=content exists but needs restructuring; none=requires human judgment

Context needs: project-structure

Skip

Return {"status": "skip", "issues": [], "summary": "Not a Claude Code project"} when:

  • No CLAUDE.md, .claude/ directory, agent files, or .clinerules file exists
  • Target is clearly not a Claude Code-enabled project

Check existence with Glob only — e.g. Glob("CLAUDE.md"), Glob(".claude/**"), Glob("**/agents/*.md"), Glob(".clinerules"). Never Read a directory path (the repo root, .claude/, agents/) to see what it contains — Read on a directory fails with EISDIR. Read only specific files Glob has confirmed exist. See ${CLAUDE_PLUGIN_ROOT}/knowledge/directory-enumeration.md for the shared rule (Whole-file load: a short single-rule reference).

Read the full file on GitHub · 137 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. 3d ago First seen · 137 lines · 25 tokens per session scan A 4247e4cc86c4

Subscribe to this mod's changes

claude-setup-review is an agent published in the GitHub repository bdfinst/agentic-dev-team (277 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 1,719 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.