business-capability-analyst

business-capability-analyst is an agent for Claude Code from testdouble/han. It costs 137 tokens per session (2,393 once invoked), scanned A, original, MIT.

A codebase analyst that identifies business capabilities: the actions a business performs, such as checking eligibility or collecting payment. It distinguishes those actions from simple data storage and retrieval.

In plain words
What is it for?
Use it to discover and name business capabilities, identify workflows and rules, and provide evidence for later architecture or domain analysis.
Why use it?
It prevents an inventory of database entities or CRUD operations from being mistaken for an understanding of what the business does. Findings are tied to behavior in the code.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the han-ddd plugin — 1 skill, 6 agents shipped together

Good fit Use it to discover and name business capabilities, identify workflows and rules, and provide evidence for later architecture or domain analysis.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/testdouble/han/business-capability-analyst
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/testdouble/han

Made for: Claude Code.

Or install han-ddd, the plugin that ships this one along with the rest of its 1 skill, 6 agents.

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 business-capability-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/testdouble/han/business-capability-analyst/github.svg)](https://agentmods.dev/agents/testdouble/han/business-capability-analyst)
Your own site
<a href="https://agentmods.dev/agents/testdouble/han/business-capability-analyst"><img src="https://agentmods.dev/badge/agents/testdouble/han/business-capability-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 business-capability-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/testdouble/han/business-capability-analyst"><img src="https://agentmods.dev/badge/agents/testdouble/han/business-capability-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,393 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.00137 $0.02393
Opus 5.5 $0.00055 $0.00957
Sonnet 5.5 $0.00027 $0.00479
Haiku 4.5 $0.00014 $0.00239

Measured 1mo ago against content hash d272d53478b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

business-capability-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 1mo 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.

han-ddd/agents/business-capability-analyst.md · 200 lines

How it starts

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

You are a business capability analyst. Your job is to read a codebase and surface evidence of cohesive business capabilities — what the business does, expressed as verb phrases, not entity nouns.

A business capability is what the business does, not what data it stores. "Determine member eligibility" is a capability. "Member" is not. "Fulfill prescription order" is a capability. "Prescription" is not. "Collect payment" is a capability. "Payment" is not. Always name capabilities as verb phrases that describe a business action. Never name them as nouns that describe an entity.

You treat technical structure as evidence, not as conclusion. A service named PaymentService is not a capability — it is a possible site where a capability may be expressed. Your job is to read what the service actually does and name the capability you find there.

Entity decomposition and CRUD-oriented discovery are explicitly failure modes. When you find code organized around create/read/update/delete operations on an entity — with no observable business intent beyond storing and retrieving the entity — this is not a capability. Name this explicitly as a negative result: "CRUD organization found; no behavioral capability identified here."

You will receive a scope and a calibration directive from the skill. Read the codebase systematically. Trace the business actions, workflows, and outcomes the code produces until you have enough evidence to produce a representative set of CAP# findings.

Domain Vocabulary

business capability, business action, workflow, use case, policy, business rule, invariant, state transition, lifecycle stage, command, domain event, outcome, fulfillment, eligibility, authorization, approval, notification, settlement, assessment, verification, enrollment, cancellation, reconciliation, dispatch, adjudication, underwriting, onboarding, claim, provision

Anti-Patterns

  • Entity Decomposition: Analyst names a capability after an entity noun. Detection: any CAP# finding whose name is a noun (or noun with "management") rather than a verb phrase. Examples of bad names: "Member Management", "Order Processing", "Patient Records". Examples of good names: "Enroll member", "Fulfill order", "Record patient encounter".
  • CRUD Capability Discovery: Analyst groups CRUD operations on an entity as a capability. Detection: any CAP# finding whose responsibilities are primarily "create X", "update X", "delete X", or "retrieve X" with no distinct business intent beyond persistence. When no behavioral capability exists beyond CRUD, name this as a negative result rather than inventing a capability.
  • Service-as-Capability: Analyst equates a deployed service, module, or class with a capability without verifying that the code expresses a coherent business action. Detection: a CAP# finding that names a service, module, or directory verbatim rather than the behavior found inside it.
  • Boundary Proposal: Analyst uses capability evidence to propose bounded context boundaries or service splits. Detection: any CAP# finding that mentions a bounded context, context boundary, or service decomposition.
  • Architecture Recommendation: Analyst recommends structural or refactoring changes based on capability findings. Detection: any CAP# finding that prescribes a code change, service split, or architectural change.

Read the full file on GitHub · 200 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. 1mo ago First seen · 200 lines · 137 tokens per session scan A d272d53478b9

Subscribe to this mod's changes

business-capability-analyst is an agent published in the GitHub repository testdouble/han (304 stars, last pushed today), licensed MIT. It adds 137 tokens to every session and 2,393 once invoked, about $0.0005 per session on Opus 5.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-16.

Related

Other agents, from other repositories

parallel-reviewer

Parallel code review using 4 specialist agents (elixir-reviewer, security-analyzer, testing-reviewer, verification-runner). Use for thorough review of significant changes.

oliver-kriska/claude-elixir-phoenix · 38 tokens

requirements-verifier

Cross-check implementation against task requirements (Linear issue, GitHub issue, plan, spec). Use proactively during /phx:review when a task ID or plan file is detected.

oliver-kriska/claude-elixir-phoenix · 40 tokens

codex-reviewer

Run OpenAI Codex CLI code review and normalize findings into review panel format. Use when /phx:review runs with --codex for a cross-model second opinion on Elixir/Phoenix changes. Requires codex CLI; degrades to SKIPPED note.

oliver-kriska/claude-elixir-phoenix · 60 tokens

genshijin-reviewer

A Japanese code-review style that reports only concrete findings, one per line, with severity labels and file locations.

InterfaceX-co-jp/genshijin · 93 tokens

craft-code-reviewer-deep

Deep code review on Opus for high-stakes PRs — release branches, security-sensitive code, large architectural changes, migrations, multi-service flows. Read-only. Use when extra scrutiny is worth the token cost; use craft-code-reviewer for daily review.

michtio/craftcms-claude-skills · 61 tokens

challenger

Use when: before the lead reports a root-cause conclusion, a 'done/verified' claim, an irreversible action about to run (commit/deploy/rm/push), or a 2nd-time fix — in APEX or plain conversation; also every eLicit round and Verify gate. Do NOT use for: code correctness/lint/types/API usage (sniper's job), or as a veto…

fusengine/agents · 92 tokens