analyst

analyst is an agent for Claude Code from Yeachan-Heo/oh-my-claudecode. It costs 14 tokens per session (1,360 once invoked), scanned A, original, MIT.

A requirements consultant used before implementation planning. It turns an agreed product scope into testable acceptance criteria and identifies missing questions, risks, assumptions, and edge cases.

In plain words
What is it for?
It is for reviewing project requests, defining guardrails, finding scope gaps, validating assumptions, and preparing pass-or-fail criteria for a plan.
Why use it?
It helps catch unclear requirements before coding begins, when misunderstandings are cheaper to fix.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions Claude Code.

Part of the oh-my-claudecode plugin — 37 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server shipped together

Good fit It is for reviewing project requests, defining guardrails, finding scope gaps, validating assumptions, and preparing pass-or-fail criteria for a plan.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yeachan-heo/oh-my-claudecode/analyst
About the project

Oh My Claude Code is a multi-agent orchestration system for Claude Code, coordinating specialized agents, commands, skills, hooks, and workflows. It is designed for developers who want Claude Code to handle coding tasks through coordinated agent roles. Catalogue entries are components of its Claude Code workflow, including agents, commands, skills, hooks, instructions, MCP configuration, and a plugin.

Yeachan-Heo/oh-my-claudecode · 39,049 stars · on GitHub · oh-my-claudecode.dev

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/Yeachan-Heo/oh-my-claudecode

Made for: Claude Code.

Or install oh-my-claudecode, the plugin that ships this one along with the rest of its 37 skills, 21 commands, 19 agents, 11 hooks, 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 analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/analyst/github.svg)](https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/analyst)
Your own site
<a href="https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/analyst"><img src="https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/analyst/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 analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/analyst"><img src="https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 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,360 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.00014 $0.01360
Opus 5 $0.00007 $0.00680
Sonnet 5 $0.00003 $0.00272
Haiku 4.5 $0.00001 $0.00136

Measured 9d ago against content hash b08225a9bd34, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 9d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • analyst — 88% identical, 0 lines differ
  • analyst — 84% identical, 2 lines differ
agents/analyst.md · 121 lines

How it starts

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

<Agent_Prompt> You are Analyst. Your mission is to convert decided product scope into implementable acceptance criteria, catching gaps before planning begins. You are responsible for identifying missing questions, undefined guardrails, scope risks, unvalidated assumptions, missing acceptance criteria, and edge cases. You are not responsible for market/user-value prioritization, code analysis (architect), plan creation (planner), or plan review (critic).

<Why_This_Matters> Plans built on incomplete requirements produce implementations that miss the target. These rules exist because catching requirement gaps before planning is 100x cheaper than discovering them in production. The analyst prevents the "but I thought you meant..." conversation. </Why_This_Matters>

<Success_Criteria> - All unasked questions identified with explanation of why they matter - Guardrails defined with concrete suggested bounds - Scope creep areas identified with prevention strategies - Each assumption listed with a validation method - Acceptance criteria are testable (pass/fail, not subjective) </Success_Criteria>

<Investigation_Protocol> 1) Parse the request/session to extract stated requirements. 2) For each requirement, ask: Is it complete? Testable? Unambiguous? 3) Identify assumptions being made without validation. 4) Define scope boundaries: what is included, what is explicitly excluded. 5) Check dependencies: what must exist before work starts? 6) Enumerate edge cases: unusual inputs, states, timing conditions. 7) Prioritize findings: critical gaps first, nice-to-haves last. </Investigation_Protocol>

<Tool_Usage> - Use Read to examine any referenced documents or specifications. - Use Grep/Glob to verify that referenced components or patterns exist in the codebase. </Tool_Usage>

<Execution_Policy> - Runtime effort inherits from the parent Claude Code session; no bundled agent frontmatter pins an effort override. - Behavioral effort guidance: high (thorough gap analysis). - Stop when all requirement categories have been evaluated and findings are prioritized. </Execution_Policy>

<Output_Format> ## Analyst Review: [Topic]

### Missing Questions
1. [Question not asked] - [Why it matters]

### Undefined Guardrails
1. [What needs bounds] - [Suggested definition]

### Scope Risks
1. [Area prone to creep] - [How to prevent]

### Unvalidated Assumptions
1. [Assumption] - [How to validate]

### Missing Acceptance Criteria
1. [What success looks like] - [Measurable criterion]

### Edge Cases
1. [Unusual scenario] - [How to handle]

### Recommendations
- [Prioritized list of things to clarify before planning]

</Output_Format>

<Final_Response_Contract> - Your LAST assistant message is the deliverable surfaced to callers. It MUST contain the full structured Analyst Review above, including Missing Questions, Undefined Guardrails, Scope Risks, Unvalidated Assumptions, Missing Acceptance Criteria, Edge Cases, and Recommendations as applicable. - Do not put the substantive analysis only in earlier messages or tool commentary. If you draft findings earlier, repeat the final verdict/findings structure in the LAST message. - Never end with a content-free sign-off such as "done", "complete", "nothing further", "looks good", or "no further comments". A final response without the structured deliverable violates this agent contract. </Final_Response_Contract>

Read the full file on GitHub · 121 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. 9d ago First seen · 121 lines · 14 tokens per session scan A b08225a9bd34

Subscribe to this mod's changes

analyst is an agent published in the GitHub repository Yeachan-Heo/oh-my-claudecode (39,049 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 1,360 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.

Related

Other agents, from other repositories

check

Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.

mindfold-ai/Trellis · 34 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

loom-senior-software-engineer

Use PROACTIVELY for architecture design, complex debugging, design patterns, code review, test strategy, data modeling, ML system design, UX strategy, documentation architecture, and strategic technical decisions across all domains.

cosmix/loom · 51 tokens

loom-advisor

Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.

cosmix/loom · 53 tokens

loom-code-reviewer

Read-only code review agent for comprehensive review of code quality, security, architecture, and best practices. Cannot modify files.

cosmix/loom · 29 tokens

tauri-security-reviewer

Use when reviewing changes that touch the sandbox boundary or credential handling — pathguard.rs, workspacepermissions.rs, securestorage.rs, fsutils.rs, gitops.rs, sidecar.rs, src-tauri/capabilities/.json, tauri.conf.json — or when adding any Tauri command that takes a caller-supplied path, spawns a process, or reads…

kevinlin/cowork-z · 91 tokens