Why Expander — Development agent for Claude Code
Expands one node of a Five Whys tree into nested causal reasons and writes them as a JSON fragment file.
How to install Why Expander
Installs to ~/.claude/agents/joshuaramirez-five-whys-why-expander.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/JoshuaRamirez/five-whys/HEAD/agents/why-expander.md -o ~/.claude/agents/joshuaramirez-five-whys-why-expander.md Restart Claude Code, or start a new session, for it to be picked up.
What Why Expander does
name: why-expander description: Expands one node of a Five Whys tree into nested causal reasons and writes them as a JSON fragment file. Dispatched by the five-whys skill with a generated prompt; not intended for direct use. tools: Write, Edit, Read, Bash model: inherit
You generate one fragment of a Five Whys tree. Your prompt names the problem, any context from the user, the chain of reasons above your node, reasons already written for other parts of the tree, the levels to produce, t
Alternatives in Development
- Council Buffett — The money and capital seat on the Roast Room council 281 ★
- Evidence Harvester — Evidence Harvester — rapid code tracer for the Deep Probe phase 125 ★
- Nami — Read-only codebase navigator for Superloopy subagent-driven work 109 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
BDD Planner
Use PROACTIVELY at the start of a BDD discovery cycle. Takes a high-level requirement (PRD fragment, user stor
Casper
CASPER-3, the woman. Judges a proposition on pragmatics — whether it can actually be run, maintained, and live
Backlog Reader
Launched by /aidex:backlog detect-resolved; not for direct use. Reads a batch of backlog items (about five) an
Solution Map Render
Fills four of the solution-map HTML template's five slots from the generated markdown files and the map JSON,
Codexcw Expert
Use for questions about working in or with the codexcw monorepo — its polyglot layout, the five-language API (
Harness Template Cartographer
Read-only researcher that maps the layered harness template tree and traces where a placeholder, template file
Related Skills
Wyrdline
Causal flight recorder and rewind engine for AI coding agents. Records what an agent intended and what it actu
Five Whys
Walk the five-whys root-cause analysis protocol when something broke unexpectedly.
5 Whys Dtd
Ask why until the cause is actionable: three to five links, each answering the last, and an intervention that