codexkit-root-cause-analyzer

codexkit-root-cause-analyzer is a skill for Claude Code, Codex from hoavdc/CodexKit. It costs 76 tokens per session (1,090 once invoked), scanned A, original, MIT.

A root cause analysis is a structured investigation into why a problem keeps happening, using methods such as the 5 Whys, Fishbone diagrams, and Pareto analysis. It focuses on underlying causes rather than only visible symptoms.

In plain words
What is it for?
Use it to examine timelines, impact, past fixes, and related data, then produce corrective actions for production incidents and other recurring operational problems.
Why use it?
It helps teams avoid repeating temporary fixes when investigating incidents, quality defects, or recurring customer complaints.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hoavdc/codexkit/codexkit-root-cause-analyzer
Any agent
npx skills add hoavdc/CodexKit --skill codexkit-root-cause-analyzer
Clone the repo
git clone --depth 1 https://github.com/hoavdc/CodexKit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codexkit-root-cause-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoavdc/codexkit/codexkit-root-cause-analyzer.svg)](https://agentmods.dev/skills/hoavdc/codexkit/codexkit-root-cause-analyzer)
Your own site
<a href="https://agentmods.dev/skills/hoavdc/codexkit/codexkit-root-cause-analyzer"><img src="https://agentmods.dev/badge/skills/hoavdc/codexkit/codexkit-root-cause-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,090 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00076 $0.01090
Opus 5 $0.00038 $0.00545
Sonnet 5 $0.00015 $0.00218
Haiku 4.5 $0.00008 $0.00109

Measured yesterday against content hash d0c9befa5781, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codexkit-root-cause-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/codexkit-root-cause-analyzer/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Root Cause Analyzer

Purpose

Move beyond symptomatic fixes to identify true root causes of recurring problems, using proven analytical methods and producing actionable corrective actions.

When to use

  • a problem has occurred more than once despite previous fixes
  • a production incident needs thorough investigation
  • quality defects are increasing and the cause is unclear
  • customer complaints cluster around a specific area
  • post-mortem or incident review

When not to use

  • the cause is obvious and the fix is straightforward
  • strategic planning (use strategy tools)
  • risk identification for future events (use risk-register)

Inputs

  • problem statement (what happened, when, how bad)
  • impact data (who was affected, financial cost, customer impact)
  • timeline of events leading to the problem
  • previous fix attempts and their outcomes
  • relevant process or system documentation
  • available data or metrics related to the problem

Procedure

  1. Define the problem precisely:
    • What is happening vs. what should be happening?
    • When did it start? How often does it occur?
    • What is the quantified impact?
    • Template: "[Thing] is [problem] resulting in [impact] since [when]"
  2. Choose analysis method based on problem type:
    • 5 Whys: for linear causation chains (simple to moderate)
    • Ishikawa / Fishbone: for complex problems with multiple potential causes
      • 6M categories: Man, Machine, Method, Material, Measurement, Mother Nature (Environment)
    • Pareto Analysis: when multiple causes contribute and you need to prioritize
      • 80/20 rule: find the 20% of causes responsible for 80% of the impact
  3. Execute analysis:
    • For 5 Whys: ask "why?" iteratively until you reach a systemic cause (typically 3–7 levels). Stop when the answer points to a process, policy, or system — not a person.
    • For Ishikawa: brainstorm causes in each 6M category, then validate with data.
    • For Pareto: list all contributing causes, quantify frequency or impact, sort descending, calculate cumulative %.
  4. Validate root cause — confirm it is:
    • Actionable (you can do something about it)
    • Preventable (fixing it prevents recurrence)
    • Systemic (not blaming an individual)
  5. Define corrective actions (CAPA framework):
    • Containment: immediate actions already taken
    • Corrective Action: fix the root cause
    • Preventive Action: prevent recurrence in similar processes
    • Each action: What | Who | When | Verification method
  6. Define recurrence metrics — how will you know it's fixed?

Read the full file on GitHub · 111 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 111 lines · 76 tokens per session scan A d0c9befa5781

Subscribe to this mod's changes

codexkit-root-cause-analyzer is a skill published in the GitHub repository hoavdc/CodexKit (21 stars, last pushed 3mo ago), licensed MIT. It adds 76 tokens to every session and 1,090 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

reducing-aigc-detection

Systematically reduce AIGC detection rates in academic papers (Chinese/English). Analyzes detection reports, identifies high-impact sections, applies multi-layer rewriting strategies preserving formatting/footnotes, and verifies results. Supports 维普/知网/Turnitin platforms.

telagod/code-abyss · 62 tokens

architecting-security

安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust identity, designing IAM/SSO/PAM, building compliance evidence chains, or planning privacy-by-design.

telagod/code-abyss · 104 tokens

building-agent-systems

AI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition, file locking), LLM security (prompt injection, jailbreak defense, output filtering), RAG architecture (chunking, hybrid retrieval, rerank), and prompt…

telagod/code-abyss · 110 tokens

cultivating-personas

Distills AI agent voice patterns from conversation into a Persona Voice Card v1.0 (self/user/language/register/emojipolicy/flourish only — no judgment-shaped fields), validates schema + content safety + differentiation, and routes contributions through the existing submission portal. Use when the user wants to…

telagod/code-abyss · 85 tokens

defending-applications

Application security defense knowledge for builders. Covers Web/API/GraphQL hardening (XSS/SQLi/SSRF/IDOR/BOLA/Mass Assignment/deserialization/upload/path traversal), authentication/authorization (OAuth 2.0/OIDC/JWT/Session/Cookie/SAML/SSO), and LLM application security (prompt injection, jailbreak, RAG poisoning…

telagod/code-abyss · 152 tokens

detecting-and-responding

蓝队与紫队工程:检测规则编写、SIEM/EDR 调优、事件响应、数字取证、威胁狩猎、ATT&CK 映射、紫队演练闭环。Use when writing Sigma/YARA detection rules, tuning SIEM noise, responding to security incidents, conducting forensic analysis, hunting threats, or running purple team exercises.

telagod/code-abyss · 87 tokens