RootCauseAnalysis
Skill này làm gì
Làm việc qua một sự cố hoặc thất bại lặp lại theo từng bước, dùng các phương pháp như Five Whys và biểu đồ xương cá. Skill dành cho các nhóm muốn tìm nguyên nhân hệ thống thật của vấn đề thay vì tìm người để đổ lỗi.
Khi nào nên dùng
- ✓Khi một thất bại cứ xảy ra và nguyên nhân thật chưa rõ.
- ✓Khi bạn cần một bản rà soát sau sự cố không quy lỗi cho cá nhân.
- ✓Khi một lỗi cứ quay lại và bạn muốn tìm nguyên nhân hệ thống.
Liên kết skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/RootCauseAnalysis/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Triển khai của chúng tôi cứ thất bại vào các ngày thứ Sáu. Chạy phân tích nguyên nhân gốc và cho tôi biết điều gì thực sự gây ra nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chọn một phương pháp phù hợp với loại thất bại, như Five Whys hoặc cây lỗi, và kiểm tra từng phát hiện với bằng chứng. Nó kết thúc ở các nguyên nhân hệ thống mà bạn có thể thay đổi, và không bao giờ nêu tên một người là lỗi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
RootCauseAnalysis Skill
RootCauseAnalysis investigates incidents and recurring failures with causal methods (Five Whys, Fishbone, blameless Postmortem, Fault Tree, Kepner-Tregoe) and traces them to systemic root causes rather than to a person to blame. Apollo/RealityCharting and FMEA are supporting methods documented in Foundation.md and MethodSelection.md, not separate intents.
Ideal State
- The method fits the failure class, as the situation table under Intent Routing maps it, and a non-trivial incident is written as a Postmortem with the other methods as its investigation tools.
- Every diagnosis is evidence-backed and blameless, with 3+ actionable systemic contributing factors rather than a single blame target. It ends at causes that are both systemic and within authority to change, never at a person to blame, and each corrective action prevents a class of recurrence rather than the latest trigger.
- Every conclusion that rests on a fact the request supplied cites that fact, checked at its source, and a caller's hypothesis is never taken as fact.
- Decisions are judged using the information available at the time.
- What the evidence cannot support is disclosed as a gap or a hypothesis, never filled with invented causes, probabilities or comparisons, and never padded with invented factors to meet the 3+ target.
- The analysis delivered is finished; no sub-work is still running when it is handed over.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| FiveWhys | "5 whys", "five whys", quick causal chain, ask why until root | Intents/FiveWhys.md |
| Fishbone | "fishbone", "ishikawa", categorized cause map, 6 M's / 4 P's / 8 M's | Intents/Fishbone.md |
| Postmortem | "postmortem", "incident review", "blameless postmortem", production incident | Intents/Postmortem.md |
| FaultTree | "fault tree", "fta", top-down deductive, safety-critical, AND/OR logic | Intents/FaultTree.md |
| KepnerTregoe | "kepner tregoe", "is/is-not", "what changed", distinction analysis, subtle defects | Intents/KepnerTregoe.md |
| Situation | Preferred intent |
|---|---|
| Single-thread incident, one clear failure point | FiveWhys |
| Multiple suspected categories (people, process, tools) | Fishbone |
| Production outage or security incident, needs formal review | Postmortem |
| Complex multi-path failure, safety-critical, need Boolean logic | FaultTree |
| Subtle defect, hard to reproduce, "why here and not there?" | KepnerTregoe |
| File | Read when |
|---|---|
MethodSelection.md |
choosing, combining or switching methods: decision flow, method comparison, domain map, speed-versus-thoroughness |
Foundation.md |
evidence crosses service boundaries, or the work uses Apollo evidence graphs or FMEA prioritization |
Standalone; no required skill dependency. Use SystemsThinking (Iceberg, FindArchetype) for recurring structural causes, FirstPrinciples to decompose a contributing factor, RedTeam to stress-test remediations, and Science for investigation hypotheses.
Data & Config
User customizations live at <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/RootCauseAnalysis/ (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude). When that directory exists, its PREFERENCES.md, configurations and resources apply and override the defaults here; when it is absent, the defaults stand.
Gotchas
- Start from the facts and paths the request supplies and read those paths; do not search for them again. Any search names the paths it covers, never the whole home tree or ~/Projects. This scopes where to look, never what may be investigated.
Examples
Example 1: Production outage
User: "Payments threw 500s for ten minutes after last night's deploy. Write the postmortem."
→ Postmortem intent, with FiveWhys or Fishbone on each contributing thread
→ A blameless record with a UTC timeline, defensive-layer map and strength-rated owned actions
Example 2: Works here, not there
User: "The export job fails only on the EU cluster and only on Mondays. Why?"
→ KepnerTregoe intent
→ An IS/IS-NOT matrix, the change that explains every IS without predicting the IS-NOTs, and a test to confirm it
Example 3: Quick causal chain
User: "5 whys on why the nightly backup keeps missing its window"
→ FiveWhys intent
→ An evidenced chain to systemic causes, read forward with no gaps, and owned c
Câu hỏi thường gặp
Nó có đổ lỗi cho cá nhân không?
Không. Phân tích không quy lỗi và tập trung vào các nguyên nhân hệ thống có thể thay đổi.
Nó có bịa nguyên nhân nếu bằng chứng yếu không?
Không. Bằng chứng thiếu được báo cáo là khoảng trống hoặc giả thuyết, không được lấp bằng nguyên nhân bịa.
Nó dùng những phương pháp nào?
Five Whys, biểu đồ xương cá, rà soát sau sự cố không quy lỗi (blameless postmortem), cây lỗi và Kepner-Tregoe, với FMEA là phương pháp hỗ trợ.
Chi tiết
Mô tả gốc của tác giả
Structured incident investigation using Five Whys, Fishbone, blameless Postmortem, Fault Tree, Kepner-Tregoe, and FMEA — traces failures to systemic root causes rather than blaming humans. USE WHEN root cause, RCA, 5 whys, fishbone, postmortem, incident analysis, fault tree, why does this keep failing, blameless, recurring bug. NOT FOR systemic loops (use SystemsThinking).
repo: danielmiessler/LifeOS
Độ phổ biến
- Sao GitHub
- 20k
- Vị trí xếp hạng
- #10452
- Giấy phép
- MIT
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
LifeOS
20kGiúp agent của bạn thiết lập LifeOS, một hệ thống cá nhân ánh xạ trạng thái hiện tại tới trạng thái lý tưởng qua một cuộc phỏng vấn và một bảng điều khiển.
AnnualReports
20kGiúp agent của bạn tìm và so sánh báo cáo an ninh mạng thường niên từ các nhà cung cấp lớn, như xu hướng vi phạm và ransomware, có nguồn cho mọi số liệu.
ApertureOscillation
20kDạy agent của bạn kiểm tra một câu hỏi thiết kế ở phạm vi hẹp và phạm vi rộng, rồi chỉ ra chỗ hai câu trả lời mâu thuẫn trước khi bạn xây dựng.
Aphorisms
20kCho phép agent của bạn tìm, ghép và theo dõi các câu trích dẫn có ghi tác giả từ một bộ sưu tập được chọn lọc, tránh những câu vừa được dùng trong bản tin.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.