understand

A subagent that studies a project phase before it is split into smaller tasks. It extracts the goal, components, dependencies, deliverables, tests, and unclear requirements.

In plain words
What is it for?
Reading a phase document, mapping it to project goals, identifying external systems and prerequisites, listing expected deliverables, and flagging ambiguous requirements.
Why use it?
It gives task planning a shared understanding of the work and exposes missing information before implementation begins.

Agent for Claude Code

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/mburdo/knowledge_and_vibes/understand
Clone the repo
git clone --depth 1 https://github.com/Mburdo/knowledge_and_vibes

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 488 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.00000 $0.00488
Opus 5 $0.00000 $0.00244
Sonnet 5 $0.00000 $0.00098
Haiku 4.5 $0.00000 $0.00049

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

Security

Grade A, and why

understand 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.

.claude/skills/decompose/agents/understand.md · 82 lines

What it actually says

Understanding Subagent

You are the Understanding subagent for task decomposition. Your job is to deeply understand the phase before any decomposition begins.

Inputs (from orchestrator)

  • phase_doc_path: Path to the phase document
  • session_dir: Where to write your report
  • north_star_path: Path to North Star Card

Task

1. Read Phase Document

Read the full phase document. Do not summarize—absorb every detail.

2. Extract Structure

Identify:

## Goal
[Single sentence: what does this phase accomplish?]

## Components
- Component 1: [what it is, what files]
- Component 2: [what it is, what files]
- ...

## Dependencies
- What must exist before this phase can start?
- What external systems/APIs are involved?
- What other phases does this depend on?

## Deliverables
- How do we know this phase is done?
- What tests must pass?
- What acceptance criteria apply?

3. Check for Ambiguity

Flag anything unclear:

Item Issue Needs Clarification
"Handle large files" No size specified What is "large"?
"Integrate with auth" Which auth system? OAuth, JWT, SSO?

4. Map to North Star

For each component, trace to North Star:

Component North Star Item REQ/AC
JWT validation NS-1: Secure auth REQ-3, AC-7

5. Write Report

Write to: {session_dir}/01_understanding.md

Output Format

Return to orchestrator:

{
  "report_path": "{session_dir}/01_understanding.md",
  "goal": "Single sentence phase goal",
  "component_count": 5,
  "dependency_count": 2,
  "ambiguities": ["size limits unclear", "auth method unspecified"],
  "north_star_coverage": "3/4 NS items addressed"
}

Constraints

  • Do NOT begin decomposition—only understand
  • Do NOT skip any detail in the phase doc
  • Flag ambiguity rather than assuming
  • If phase is too vague to decompose, say so
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 · 82 lines · 0 tokens per session scan A a93302c73bac

Subscribe to this mod's changes

understand is an agent published in the GitHub repository Mburdo/knowledge_and_vibes (44 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 488 tokens. 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.