JoshuaRamirez

Why Expander — Development agent for Claude Code

Development community

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

Terminal
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 Repository