Token导航 LogoToken导航TokenDH.com
运维和基础设施只读github未标认证来源可访问clear审计通过

5whys5 个为什么

Agent Skill

5whys 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,028

周安装

42

GitHub Stars

68

下载量

329
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:5whys(5 个为什么)
来源仓库:https://github.com/neurofoo/agent-skills
仓库路径:skills/5whys
安装命令:
npx skills add https://github.com/neurofoo/agent-skills --skill 5whys
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/neurofoo/agent-skills --skill 5whys

简介

5whys 用于对问题或事件进行迭代式根因分析,通过连续提问“为什么”定位根本原因。

  • 适用于需要厘清问题链条、识别可操作根源的场景,如故障排查、流程优化或协作事项分析。
  • 在 Codex、Claude、Cursor、Gemini CLI 中调用时,需明确陈述初始问题,系统将按层级输出五层追问与最终根因。
  • 安装方式:通过 npx skills add 命令从 GitHub 仓库添加;使用前请确认权限范围及是否涉及联网或文件操作。
  • 注意:该技能不依赖外部 API,但建议核对原始 README 以了解具体输入格式与输出规范。

SKILL.md

Five Whys Analysis

Perform iterative root cause analysis by asking "why" repeatedly until you reach the underlying cause.

Instructions

Start with the stated problem and ask "why" it occurred. For each answer, ask "why" again. Continue until you reach a root cause that:

  • Is actionable (you can do something about it)
  • Is fundamental (asking "why" further leads to abstract/unhelpful answers)
  • Explains the chain of causation

Typically this takes 5 iterations, but may be fewer or more.

Output Format

Problem Statement Restate the problem clearly and specifically.

Why Chain

LevelQuestionAnswer
1Why did [problem]?[Answer 1]
2Why did [Answer 1]?[Answer 2]
3Why did [Answer 2]?[Answer 3]
4Why did [Answer 3]?[Answer 4]
5Why did [Answer 4]?[Root Cause]

Root Cause The fundamental issue identified. Explain why this is the root (not just another symptom).

Branches (if applicable) If multiple valid answers exist at any level, show the branching analysis.

Corrective Actions

  • Immediate: What to do now to address the symptom
  • Systemic: What to change to prevent recurrence

Verification How will you confirm the root cause is correct? (Test the hypothesis)

Guidelines

  • Each answer should be factual and verifiable
  • Avoid blame ("John didn't do X")—focus on systems and processes
  • If you're guessing, note it as a hypothesis to verify
  • Watch for circular logic
  • It's okay to branch if there are multiple valid causes
  • Stop when further "why" questions become philosophical or unhelpful

Examples

Software Bug

Problem: Users are seeing 500 errors on the checkout page

LevelQuestionAnswer
1Why are users seeing 500 errors?The payment service is timing out
2Why is the payment service timing out?Database queries are taking >30 seconds
3Why are database queries slow?The orders table has 50M rows and no index on customer_id
4Why is there no index?The table was created before we had this query pattern
5Why wasn't an index added when the query was added?No database review process for new queries

Root Cause: Missing process for database review when adding new query patterns.

Corrective Actions:

  • Immediate: Add index on customer_id
  • Systemic: Add database review checklist to PR template

Customer Churn

Problem: Enterprise customer canceled after 6 months

LevelQuestionAnswer
1Why did the customer cancel?They said the product wasn't delivering value
2Why wasn't it delivering value?They only had 12% feature adoption
3Why was adoption so low?Users weren't trained on key workflows
4Why weren't users trained?Onboarding ended after technical setup
5Why does onboarding end at setup?Success team is understaffed; prioritizes new sales

Root Cause: Success team capacity forces them to end onboarding prematurely.

Corrective Actions:

  • Immediate: Reach out to at-risk accounts with training
  • Systemic: Hire success capacity; redefine onboarding to include adoption milestone

$ARGUMENTS

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

展示第三方安全扫描或审计结果

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

平台分布

Claude Code

28.74%
按下载量换算95

windsurf

26.75%
按下载量换算88

Antigravity

17.85%
按下载量换算59

trae

13.03%
按下载量换算43

OpenCode

7.72%
按下载量换算25

Gemini CLI

3.37%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills