hermes

Run a five-whys analysis

Runs a five-whys and fishbone root-cause analysis on a repeated operational problem, separating evidence from guesses, and ends with countermeasures and owners. Use after recurring failures.

context

You facilitate root-cause analysis for operations teams in the lean tradition. Five whys works when each answer is backed by evidence and when the chain stops at a cause the organisation can control, usually a process, system or standard, not a person. It fails when people guess, follow a single chain when there are several, or stop at "human error" or "staff didn't follow the procedure". You pair it with a fishbone (Ishikawa) diagram to find all candidate causes before drilling down, and you keep the analysis blame-free.

task

Analyse this problem.

problem

Only if [FACTS] is given:

facts

  1. Problem statement: rewrite it as a specific, measurable gap: what, where, when, how often and how big, against the expected standard. If facts are missing, say which.
  2. Fishbone: brainstorm candidate causes under People, Methods (process), Machines (equipment and systems), Materials, Measurement, and Environment. Mark each as supported by the facts, contradicted, or a hypothesis.
  3. Why chains: for the two or three most plausible branches, ask "why?" repeatedly (usually three to six times) until you reach a cause that, if removed, would prevent recurrence and that the organisation controls. At each step, cite the supporting fact or mark it as a hypothesis to verify. Where an answer is "a person made a mistake", ask why the system allowed or encouraged it.
  4. Root causes: list the root causes reached, with the confidence level and the evidence. Distinguish the root cause from contributing factors.
  5. Evidence to collect: for each hypothesis, the cheapest check that would confirm or rule it out (records to pull, observation, a test, a short interview), and who could do it.
  6. Countermeasures: for each confirmed or probable root cause, a containment action (stop the bleeding now), a permanent corrective action, and a preventive action elsewhere. Prefer error-proofing and process or system changes over training and reminders. Give an owner role, a due date and how effectiveness will be measured.
  7. Follow-up: when to review whether the problem recurred and the metric to watch.
constraints
  • Never present a hypothesis as a fact. Mark every unverified step "hypothesis" and list how to verify it.
  • Do not stop at blaming an individual; keep the analysis blame-free and focused on systems and standards.
  • Do not invent data, dates or statements. If the facts are thin, still build the fishbone and chains as hypotheses and make Evidence to collect the main output.
  • For safety incidents, injuries or regulatory breaches, note that a formal investigation and any legal reporting duties may apply and should be checked with the responsible officer.
output format

Problem statement

Fishbone

A text diagram or one list per category, each cause marked supported, contradicted or hypothesis.

Why chains

For each branch: numbered "Why?" steps, each with its evidence or "hypothesis".

Root causes

Table: Root cause | Contributing factors | Confidence | Evidence.

Evidence to collect

Table: Hypothesis | Check | Who | By when.

Countermeasures

Table: Root cause | Containment | Corrective | Preventive | Owner | Due | Measure of success.

Follow-up

1 required value still a placeholder; the assistant will ask for it.

details

kind
Prompt: a task you run by name to get one finished thing back
domain
Business and strategy
category
Operations
level
Intermediate
made for
Operations, People manager, Founder / business owner
risk
read-only
version
v1.0.0 · incubating
reviewed
2026-10-02
works in
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Antigravity, OpenCode, Windsurf, Zed, Continue, AGENTS.md, ChatGPT, claude.ai

Edit on GitHubReport a problem

use in

Hodios CLI
npx @hermes-hq/hodios install run-five-whys --target claude-code
Agent Skills
npx skills add hermes-hq/hodios-dist --skill run-five-whys -a claude-code
Add the Hodios marketplace (once)
claude plugin marketplace add hermes-hq/hodios-dist
Install the business plugin
claude plugin install hodios-business@hodios

The plugin brings every entry in this domain at once.

pairs well with

All of Operations
PromptOperations

Map a business process

Maps a current-state business process, finds the bottleneck, handoff waste and rework loops, and proposes a future state with quick wins. Use when a process is slow, error-prone or frustrating.

map-business-process
PromptOperations

Write a standard operating procedure

Writes a standard operating procedure from a process description - purpose, scope, roles, numbered steps, checks and exceptions - with gaps flagged for confirmation. Use to document a repeatable task.

write-sop
PromptOperations

Automate a business workflow

Finds the best automation candidates in a business workflow and designs no-code automations with triggers, steps, data mapping and failure handling. Use before building automations in your tools.

automate-business-workflow
PromptOperations

Build a staff schedule

Builds a staff rota from hourly demand, availability, skills and labour rules, with coverage, cost and fairness checks and an absence-cover plan. For shops, restaurants, clinics and support teams.

build-staff-schedule
PromptOperations

Compare vendors

Builds a weighted vendor comparison with must-have gates, scored criteria, questions to ask each vendor and red flags, using only evidence you provide. Use when choosing a supplier or software tool.

compare-vendors
PromptOperations

Engineer a restaurant menu

Analyses menu item sales and margins into stars, plowhorses, puzzles and dogs, and recommends pricing, placement, recipe and removal changes with the maths shown.

engineer-restaurant-menu