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
- Idor Hunter — IDOR / BOLA specialist (H1 #55, OWASP API1:2023) 812 ★
- Agent Contract: Direct Markdown Sharing — This contract defines the public Proof SDK flow for creating and operating on shared documents over HTTP 700 ★
- Review Performance — Reviews code changes for performance issues including algorithmic complexity, unnecessary allocations, lock co 432 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Casper
CASPER-3, the woman. Judges a proposition on pragmatics — whether it can actually be run, maintained, and live
Codexcw Expert
Use for questions about working in or with the codexcw monorepo — its polyglot layout, the five-language API (
Nami
Read-only codebase navigator for Superloopy subagent-driven work. Finds files and code in the working tree and
Harness Template Cartographer
Read-only researcher that maps the layered harness template tree and traces where a placeholder, template file
Integration Critic
Adversarially reviews the COMBINED (union) tree of a multi-node ATLAS-WEAVE run through the SEAM lens — the cr
CRM Reader
Read-only reader of CRM contact files and the pipeline entry for a named person, company, or deal. Dispatched
Related Skills
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
Five
Apply the Five Whys root cause analysis technique to investigate an issue