Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问clear审计未展示

root-cause-analysis根本原因分析

Agent Skill

root-cause-analysis 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

523

周安装

22

GitHub Stars

公开资料未说明

下载量

183
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:root-cause-analysis(根本原因分析)
来源仓库:https://github.com/outfitter-dev/agents
仓库路径:skills/root-cause-analysis
安装命令:
npx skills add outfitter-dev/agents --skill "root-cause-analysis"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add outfitter-dev/agents --skill "root-cause-analysis"

简介

root-cause-analysis 用于发现并安装 AI 代理的技能。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中技能生态集成的场景。
  • 通过 npx 和指定仓库路径安装,支持技能动态加载与管理。
  • 使用前需确认权限范围、维护状态,注意可能触发的网络请求与代码执行。
  • 建议结合项目规范验证技能兼容性与实际用途。

SKILL.md

Root Cause Analysis

Symptom → hypothesis formation → evidence gathering → elimination → root cause → verified fix.

<when_to_use>

  • Diagnosing system failures or unexpected behavior
  • Investigating incidents or outages
  • Finding the actual cause vs surface symptoms
  • Preventing recurrence through understanding
  • Any situation where "why did this happen?" needs answering

NOT for: known issues with documented fixes, simple configuration errors, guessing without evidence

</when_to_use>

<discovery_phase>

Core Questions

QuestionWhy it matters
What's the symptom?Exact manifestation of the problem
When did it start?First occurrence, patterns in timing
Can you reproduce it?Consistently, intermittently, specific conditions
What changed recently?Deployments, config, dependencies, environment
What have you tried?Previous fix attempts, their results
What are the constraints?Time budget, what can't be modified

Confidence Thresholds

LevelStateAction
0-2Symptom unclear or can't reproduceKeep gathering info
3Good context, some gapsCan start hypothesis phase
4+Clear pictureProceed to investigation

At level 3+, transition to hypothesis formation. Below level 3, keep gathering context.

</discovery_phase>

<hypothesis_formation>

Quality Criteria

Good HypothesisWeak Hypothesis
TestableToo broad ("something's wrong")
FalsifiableUntestable
SpecificContradicts evidence
PlausibleAssumes conclusion

Multiple Working Hypotheses

Generate 2-4 competing theories:

  1. List each hypothesis with supporting/contradicting evidence
  2. Rank by likelihood (evidence support, parsimony, testability)
  3. Design tests to differentiate between them

</hypothesis_formation>

<evidence_gathering>

Observation Collection

CategoryWhat to Gather
Error manifestationExact symptoms, messages, states
Reproduction stepsMinimal sequence triggering issue
System stateLogs, variables, config at failure time
EnvironmentVersions, platform, dependencies
TimingWhen started, frequency, patterns

Breadcrumb Analysis

Trace backwards from symptom:

  1. Last known good state — what was working?
  2. First observable failure — when did it break?
  3. Changes between — what's different?
  4. Root trigger — first thing that went wrong

</evidence_gathering>

<hypothesis_testing>

Test Design

For each hypothesis:

  1. Prediction — if true, what should we observe?
  2. Test method — how to verify?
  3. Expected result — what confirms/refutes?
  4. Time budget — when to move on?

Testing Priorities

PriorityStrategy
FirstQuick, non-destructive, local tests
SecondMost likely causes, common failures
ThirdEdge cases, rare failures

Execution Loop

Baseline → Single variable change → Observe → Document → Iterate

</hypothesis_testing>

<elimination_methodology>

Three core techniques:

TechniqueWhen to Use
Binary SearchLarge problem space, ordered changes
Variable IsolationMultiple variables, need causation
Process of EliminationFinite set of possible causes

See elimination-techniques.md for detailed methods.

</elimination_methodology>

<time_boxing>

PhaseDurationExit Condition
Discovery5-10 minQuestions answered, can reproduce
Hypothesis10-15 min2-4 testable theories ranked
Testing15-30 min per hypothesisConfirmed or ruled out
FixVariableRoot cause addressed
Verification10-15 minFix confirmed, prevention documented

If stuck beyond 2x estimate → step back, seek fresh perspective, or escalate.

</time_boxing>

<audit_trail>

Log every step:

[TIME] PHASE: Action → Result
[10:15] DISCOVERY: Gathered error logs → Found NullPointerException
[10:22] HYPOTHESIS: User object not initialized
[10:28] TEST: Added null check logging → Confirmed user is null

Benefits: Prevents revisiting same ground, enables handoff, catches circular investigation.

See documentation-templates.md for full templates.

</audit_trail>

<common_pitfalls>

Watch for these patterns:

TrapCounter
"I already looked at that"Re-examine with fresh evidence
"That can't be the issue"Test anyway, let evidence decide
"We need to fix this quickly"Methodical investigation is faster
Confirmation biasActively seek disconfirming evidence
Correlation = causationTest direct causal mechanism

See pitfalls.md for detailed resistance patterns and recovery.

</common_pitfalls>

<confidence_calibration>

LevelIndicators
HighConsistent reproduction, clear cause-effect, multiple confirmations, fix verified
ModerateReproduces mostly, strong correlation, single confirmation
LowInconsistent reproduction, unclear correlation, unverified hypothesis

</confidence_calibration>

ALWAYS:

  • Gather sufficient context before hypothesizing
  • Form multiple competing hypotheses
  • Test systematically, one variable at a time
  • Document investigation trail
  • Verify fix actually addresses root cause
  • Document for future prevention

NEVER:

  • Jump to solutions without diagnosis
  • Trust single hypothesis without testing alternatives
  • Apply fixes without understanding cause
  • Skip verification of fix
  • Repeat same failed investigation steps
  • Hide uncertainty about root cause

Deep-dive documentation:

Related skills:

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.13%
按下载量换算57

windsurf

22.21%
按下载量换算41

OpenCode

18.85%
按下载量换算34

Cursor

12.61%
按下载量换算23

Codex

8.11%
按下载量换算15

Antigravity

3.76%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills