Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By JoshuaRamirezv0.3.0MITIn 1 marketplace
Exhaustive Five Whys: asks why, or any combination of why, what, when, where and how, about one problem or a list, each up to five levels deep with five answers at every step (3,905 per tree at full depth), using parallel sub-agents in capped waves and a 1-5 model level, then assembles one JSON file plus an index and mechanical hygiene flags. Resumable and partial runs. Generation only; analysis is up to you.
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
five-whys, five-ws, 5w1h, root-cause, causal-analysis, sub-agents, json
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that runs an exhaustive Five Whys on one problem or a list of problems. Choose any combination of five questions (why, what, when, where and how), and each problem gets one tree per question. Each question is asked up to five levels deep: every answer gets five answers of its own, each asked the same question again. At the full depth, each tree holds:
5 + 25 + 125 + 625 + 3,125 = 3,905 answers
By default it asks only why, which is a classic exhaustive Five Whys.
The whole run goes into one JSON file you can read into context in full. The plugin also writes mechanical aids: an index, hygiene flags and measurements. It never ranks, prunes, summarizes or picks answers. Analysis is up to you.
/plugin marketplace add JoshuaRamirez/claude-code-plugins
/plugin install five-whys@RedJay
/five-whys Our deploys keep failing on Friday afternoons
That asks why. Name other questions with --ask, or in words at the start:
/five-whys --ask what,when,how Our deploys keep failing on Friday afternoons
/five-whys ask how and where for: Our deploys keep failing on Friday afternoons
When the questions come from your words, the skill says which set it understood.
A list of problems, one per line, each asked why and how two levels deep:
/five-whys --ask why,how --depth 2
1. Deploys keep failing on Friday afternoons
2. Login is slow after 9am
3. Nightly backups skip runs
| Question | Each answer is | Level 1 asks |
|---|---|---|
why | a cause | Why does this happen? |
what | a fact or component | What exactly is happening, and what does it involve? |
when | a time or condition | When does this happen, and under what conditions? |
where | a place, system, stage or group | Where does this happen: in which places, systems, stages or groups? |
how | a mechanism or step | How does this happen: by what mechanism or sequence of steps? |
Deeper levels ask the same question of each answer, such as "How does this come about: ?".
--depth sets the levels for every tree, from 1 to 5. A run's size is inputs ×
questions × answers per tree:
| Depth | Answers per tree | 1 input, all 5 questions | 10 inputs, 1 question |
|---|---|---|---|
| 1 | 5 | 25 | 50 |
| 2 | 30 | 150 | 300 |
| 3 | 155 | 775 | 1,550 |
| 4 | 780 | 3,900 | 7,800 |
| 5 | 3,905 | 19,525 | 39,050 |
--model-level places the agents on a low-to-high continuum of models. Root
agents are few and write the top levels, so they step up first; branch agents
are many and write the deep levels:
| Level | Root agents | Branch agents |
|---|---|---|
| 1 | haiku | haiku |
| 2 | sonnet | haiku |
| 3 | sonnet | sonnet |
| 4 | opus | sonnet |
| 5 | opus | opus |
Without it, agents run on the session's model. At depth 3 or less one agent writes a whole tree, so only the root column applies.
Options go before the inputs; -- ends them if an input itself starts with
dashes. The script parses them, so a typo is an error rather than part of an
input. Each line is one input, and list markers such as - or 2. are
dropped. When it's unclear whether the text is one problem or several, the
skill shows the items it sees and asks which should get their own trees.
| Option | Effect | Why it exists |
|---|---|---|
--smoke | 3 wide x 3 deep: 39 answers from 4 agents | Rehearse cheaply before paying for a full run |
--ask QUESTIONS | Questions to ask, comma-separated (why by default) | Look at a problem from more than one angle |
--model-level N | Model mix from 1 (all haiku) to 5 (all opus) | Trade cost against quality in one step; the quality effect is unmeasured |
--breadth N | Answers per question | Size the tree to the problem |
--depth N | Levels for every tree, 1 to 5 | Size the tree to the problem |
--split N | Levels root agents write (default: sized so no agent writes more than 155 answers) | Balance fragment size against agent count for unusual shapes |
--max-parallel N | Agents per wave, 5 by default, up to 20 | Choose between speed and machine load; smaller waves also let later branches see earlier ones |
--context-file PATH | Put a file's text in every agent prompt | Give specifics without being asked for them |
--base DIR | Write runs somewhere other than .five-whys/ | Keep test runs apart from real ones |
--yes | Skip the questions about inputs and context, and the cost confirmation | Unattended runs such as the eval |
--resume RUN_DIR | Continue an interrupted run; add --max-parallel N to change the wave size | Recover without losing finished fragments |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
five-whys@RedJay is listed by joshuaramirez/claude-code-plugins — review the source before installing
npx claudepluginhub joshuaramirez/claude-code-plugins --plugin five-whysPlugins from other owners that cover similar ground