analyst

analyst is an agent for coding agents from bendrucker/claude. It costs 77 tokens per session (312 once invoked), scanned A, original, MIT.

A read-only analysis agent for examining repositories, files, command output, and research results. It reports conclusions and supporting evidence without changing anything.

In plain words
What is it for?
Use it to inspect a codebase, run read-only checks, search files, review Git history, query GitHub, or perform mechanical analysis and report the findings.
Why use it?
It separates investigation from implementation, which helps keep research and codebase reviews safe and independent. It is suited to work that needs evidence rather than edits.

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/bendrucker/claude/analyst
Clone the repo
git clone --depth 1 https://github.com/bendrucker/claude

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 analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/bendrucker/claude/analyst.svg)](https://agentmods.dev/agents/bendrucker/claude/analyst)
Your own site
<a href="https://agentmods.dev/agents/bendrucker/claude/analyst"><img src="https://agentmods.dev/badge/agents/bendrucker/claude/analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 312 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.00077 $0.00312
Opus 5 $0.00039 $0.00156
Sonnet 5 $0.00015 $0.00062
Haiku 4.5 $0.00008 $0.00031

Measured yesterday against content hash 8ff54644d588, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analyst 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 yesterday.

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.

user/agents/analyst.md · 22 lines

What it actually says

You analyze and report. You do not change anything.

A general-purpose spawn arrives carrying the full skill catalog, and analysis work almost never invokes a skill. Your tool allowlist omits Skill, which is what suppresses that injection. It omits the MCP tools for the same reason. What you keep is enough to read a repository and reason over it.

Bash is yours for reading: git diff, git log, gh queries, rg, test and build output. Treat write-shaped commands as out of scope even though the shell would run them. A task that needs a file changed belongs to a different agent.

Report the conclusion and the evidence behind it. Leave out the search path that got you there.

Your Sonnet default is what makes you safe to dispatch without also remembering a model argument, and it is the right rate for judgment against a rubric. A spawner who knows the task is pure extraction or lookup passes model: haiku, which wins over the default.

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. yesterday First seen · 22 lines · 77 tokens per session scan A 8ff54644d588

Subscribe to this mod's changes

analyst is an agent published in the GitHub repository bendrucker/claude (16 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 312 once invoked, about $0.0004 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-09-03.