Code Design Rationale Investigator
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
Drill into root cause with a 5-Why why chain, why analysis, or structured root cause investigation.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins 5why-root-cause --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause .claude/skills/5why-root-cause && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "5why-root-cause" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause into .claude/skills/5why-root-cause/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "5why-root-cause", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-causeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins 5why-root-cause --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause .agents/skills/5why-root-cause && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "5why-root-cause" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause into .agents/skills/5why-root-cause/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "5why-root-cause", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins 5why-root-cause --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause .cursor/skills/5why-root-cause && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "5why-root-cause" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause into .cursor/skills/5why-root-cause/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "5why-root-cause", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/hashgraph-online/awesome-codex-plugins.git --path plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins 5why-root-cause --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause .gemini/skills/5why-root-cause && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "5why-root-cause" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause into .gemini/skills/5why-root-cause/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "5why-root-cause", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install hashgraph-online/awesome-codex-plugins 5why-root-causeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause .github/skills/5why-root-cause && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "5why-root-cause" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause into .github/skills/5why-root-cause/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "5why-root-cause", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins 5why-root-cause --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause .opencode/skills/5why-root-cause && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "5why-root-cause" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause into .opencode/skills/5why-root-cause/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "5why-root-cause", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
5why-root-causeDrill into root cause with a 5-Why why chain, why analysis, or structured root cause investigation.
5why Root Cause is an agent skill from hashgraph-online/awesome-codex-plugins. Drill into root cause with a 5-Why why chain, why analysis, or structured root cause investigation. Builds a Why chain from symptom to systemic root cause, validates each step with evidence, and detects circular reasoning. Use for 8D D4, CAPA, FMEA cause analysis, or any quality investigation requiring confirmed root cause identification.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/chain-validation.md`).
It sits in Development, covering Root cause analysis. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 78497e5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
5why Root Cause loads about 2k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 1,019 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from hashgraph-online/awesome-codex-plugins at commit 78497e5, republished under its MIT licence (© hashgraph-online). 1,019 words, ~2,020 tokens.
.claude/skills/5why-root-cause/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Identify and validate a systemic root cause through a structured, evidence-based Why chain that can be directly linked to a corrective action.
Use 5-Why for any quality problem with a single, linear cause chain. Works best for process failures, equipment failures, and procedural non-compliances. For complex problems with multiple contributing causes, use Fishbone first to identify candidate root causes, then use 5-Why to drill into each.
If multiple potential cause paths exist — do not combine them into one chain. Run separate 5-Why chains for each path and determine which is confirmed by evidence.
When used for 8D D4, two separate Why chains are required:
| Chain | Starting question | What it finds |
|---|---|---|
| Occurrence chain | "Why did the defect happen?" | Root Cause of Occurrence (RCO) — the process or design failure that created the defect |
| Escape chain | "Why was the defect not detected before reaching the customer?" | Root Cause of Escape (RCE) — the detection system failure |
Run each chain independently. Do not mix occurrence and escape causes in the same chain — they have different corrective actions. The occurrence chain addresses prevention; the escape chain addresses detection.
Start with a factual, measurable problem statement. Not "the part was bad" but "dimension X measured 23.5mm; specification is 25.0 ± 0.5mm on part number Y, batch 2026-05-12."
The first Why answers: "Why did [specific symptom] occur?"
For each Why, follow these rules:
Rule 1: Each answer must be supported by evidence
Rule 2: Each answer must logically lead to the next Why
Rule 3: Keep the chain focused
Rule 4: Stop at a systemic root cause
Work backwards through the completed chain:
"Because [Why 5], therefore [Why 4]. Because [Why 4], therefore [Why 3]..."
If any step does not logically follow, revise that step.
The root cause is correct if:
If neither test is possible, the root cause is not confirmed — it is a hypothesis. Do not close the investigation on a hypothesis. Either obtain evidence to confirm it, or investigate alternative cause paths.
Problem: Connector pin bent at incoming inspection, 12/200 parts (6%).
| # | Why | Evidence | Validated? |
|---|---|---|---|
| 1 | Why are pins bent? | Pins deformed during insertion into housing | Microscopy confirmed deformation pattern |
| 2 | Why during insertion? | Insertion force exceeded pin yield strength | Force measurement: 48N, pin rated to 35N |
| 3 | Why was force 48N? | Operator used incorrect insertion tool (hand press vs. pneumatic jig) | Tool log: jig under maintenance since 05-10 |
| 4 | Why was incorrect tool used? | No instruction specifying which tool to use when jig is unavailable | Work instruction reviewed — no contingency |
| 5 | Why no contingency? | Tool maintenance downtime not considered in work instruction design | Process FMEA missing this scenario |
Root cause: Work instruction design does not cover tool substitution contingency; FMEA does not identify tool maintenance as a failure scenario.
Reversal check: "Because FMEA doesn't cover tool maintenance → therefore no contingency instruction → therefore wrong tool used → therefore excess force → therefore pins bent." ✓ Logical.
"Human error" as a final answer → Ask: why was the error possible? What in the system allowed it?
"Operator didn't follow the procedure" → Ask: why didn't they follow it? Was it unclear? Not trained? Impossible to follow?
"Machine was out of calibration" → Ask: why? What is the calibration interval? Was it missed? Why?
Circular reasoning → "The part was defective because it didn't meet spec, because it was defective." → reframe the first Why as the physical mechanism.
Stopping at a symptom, not a cause → "The defect occurred because the part was wrong" — that IS the defect, not a cause.
Branching the chain prematurely → Each Why step should have one answer. If you have two, run two separate 5-Why chains.
A validated 5-Why must include:
At the start of each use, ask the user:
"How would you like to receive the output? A — Structured Markdown (formatted tables and sections, ready to copy) B — Plain tables (simplified structure for Excel or Word) C — Narrative report (flowing text for a formal document or email)
Default: A."
Adapt all output sections to the chosen format. If the platform or session context already defines a format preference, skip this question.
| Version | Date | Author | Change |
|---|---|---|---|
| 1.0 | 2026-06-01 | @RBraga01 | Initial release |
| 1.1 | 2026-06-03 | @RBraga01 | Added dual-chain requirement (occurrence + escape), evidence status tracking |
© hashgraph-online, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause of hashgraph-online/awesome-codex-plugins.
Open the folder on GitHubat commit 78497e5
5why Root Cause next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| 5why Root Cause this skillhashgraph-online/awesome-codex-plugins | 1.2k | — | ~2k | Automated safety check: Pass | MIT | |
| Code Design Rationale Investigatorcursor/plugins | 10k | 9 repos | ~2.6k | Automated safety check: Pass | None | |
| OpenLogi macOS Permissions TriageAprilNEA/OpenLogi | 23k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Bug Finder for daisyUIsaadeghi/daisyui | 43k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Root Cause Debugginggarrytan/gstack | 136k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Review PRapache/shardingsphere | 21k | — | ~6.4k | Automated safety check: Pass | Apache-2.0 |
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
AprilNEA/OpenLogi
Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.
saadeghi/daisyui
Investigates suspected bugs in the daisyUI monorepo through read-only analysis, then writes a decision-ready fix plan in tmp/bugs without changing any product code.
garrytan/gstack
Investigates bugs, errors and stack traces in phases and requires a root-cause hypothesis to be confirmed before any fix is written.
apache/shardingsphere
Review Apache ShardingSphere or user-authorized downstream pull requests and PR discussions from public or authorized repository evidence.
tirth8205/code-review-graph
Traces a bug through a code knowledge graph, following callers, callees and execution flow before opening source files, within a small token budget.
hashgraph-online/awesome-codex-plugins
Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.
hashgraph-online/awesome-codex-plugins
Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).
hashgraph-online/awesome-codex-plugins
A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…
hashgraph-online/awesome-codex-plugins
Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…
hashgraph-online/awesome-codex-plugins
Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.
hashgraph-online/awesome-codex-plugins
Analyze nonfiction manuscripts for reader engagement signals, including heading-level word counts, slow starts, long slogs, weak takeaway titles, value pacing, beta-reader comment dropoff, and…
Categories
Drill into root cause with a 5-Why why chain, why analysis, or structured root cause investigation. 5why Root Cause is an agent skill from hashgraph-online/awesome-codex-plugins. Drill into root cause with a 5-Why why chain, why analysis, or structured root cause investigation.
5why Root Cause fits situations like: FMEA cause analysis; any quality investigation requiring confirmed root cause identification.
Run `npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a claude-code`. Or copy the skill folder (plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause in hashgraph-online/awesome-codex-plugins) into .claude/skills/5why-root-cause in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a codex`. Or copy the skill folder (plugins/RBraga01/Quality-Engineering-Skills/skills/problem-solving/5why-root-cause in hashgraph-online/awesome-codex-plugins) into .agents/skills/5why-root-cause in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill 5why-root-cause -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/5why-root-cause, .gemini/skills/5why-root-cause, .github/skills/5why-root-cause and .opencode/skills/5why-root-cause in your project.
SKILL.md names no scripts, command-line tools or credentials: 5why Root Cause is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
5why Root Cause is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with 5why Root Cause: Code Design Rationale Investigator (cursor/plugins, 10k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars), Bug Finder for daisyUI (saadeghi/daisyui, 43k stars) and Root Cause Debugging (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,242 GitHub stars. The repository holds 686 skills in this directory. The repository was last updated on October 8, 2026.
Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.