Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

root-cause-analysis

БесплатноБез исполняемых скриптовНе проверен

Investigate incidents, software defects, and data or process failures by forming falsifiable hypotheses, executing tests against available evidence, and…

microsoftот microsoft★ 1 654 звезды на GitHub

Об этом скилле

Root Cause Analysis

Goal

Identify the deepest actionable cause or combination of causes supported by executed tests. Own the investigation from the reported symptom through a reproducible causal explanation. Continue the hypothesis-test loop while a safe, authorized test can materially advance it. A plausible explanation, a query proposal, or service recovery is not a completed RCA.

Begin with every hypothesis, evidence item, and other observation the user supplied, including explicitly empty sets. When assessing hypothesis dispositions, invoke the sibling statistical-hypothesis-testing skill for applicable binary rates or average values across affected and unaffected cohorts. Invoke the sibling causal-evidence-likelihood skill for valid exploratory and confirmatory hypothesis-evidence pairs while preserving their different authority over disposition and completion. For statistically applicable confirmatory pairs, report significance after the declared multiple-comparisons correction and assess supporting and contradicting directions symmetrically; significance is not a prerequisite for causal-likelihood assessment. Other executed evidence remains subject to the investigation's disposition and completion criteria.

Use the host's actual tools and existing credentials; the skills grant no access. They cannot extend a host execution limit, schedule themselves, or guarantee a discoverable root cause. Before production use, follow references/setup-and-governance.md for installation, connector, privacy, verification, update, withdrawal, and human-review requirements.

Cost and Model Choice

Before starting a full real investigation, state the host-selected model, an anticipated AI-credit and monetary cost range, and the basis and uncertainty of that estimate. Use current host pricing and comparable measured usage when available. Distinguish consumption value from additional billing and an estimate from a spending limit; do not present benchmark costs as a real-incident price guarantee. If pricing or a defensible estimate is unavailable, say so and agree a spending limit before proceeding rather than inventing a price.

Ask whether to continue with the selected model, switch to the debugging model gpt-5.6-luna when available and current pricing establishes it as cheaper, or pause. If it is already selected, offer continue or pause rather than a redundant switch. Wait for the user's choice before evidence collection or the hypothesis-test loop. Switching models requires the host's supported control or a manual user change; verify the selected model rather than claiming that a prompt changed it. Explain that a cheaper model can change diagnostic quality, not just cost.

Record the selected model, estimate and pricing basis, approved spending limit, and retrievable user decision in the Investigation record. Reconfirm after a material scope, model, or budget change. Honor an existing explicit choice and budget for the same scope, including a fixed-profile benchmark, without asking again. Cost consent does not authorize tools, data access, or effects, and does not replace the approval contract below. Only host controls can enforce a spending limit; disclose when usage is unavailable or a response can cross a monitored cutoff.

Host Mode and Evidence Expansion

Determine the host mode before invoking an evidence-collection tool:

  • Use Azure SRE mode only when the host's system or platform configuration explicitly identifies itself as Azure SRE Agent. Tool names, tool descriptions, Azure capability, and catalog matches do not establish host identity.
  • In Azure SRE mode, read references/azure-sre-tools.md. Automatically invoke only catalog tools marked auto-invocable when the host-reported schema confirms a read-only operation within the declared collection scope. A missing, changed, or broader schema requires approval.
  • Otherwise use generic mode. Inventory available tools, identify the smallest bounded tool action that could expand or validate the evidence, and ask for approval before invocation. State every exact tool and operation, redacted query or command and parameters, target, evidence sought, scope, maximum call count, expected risk, and absolute expiry. One approval may cover a batch only when every call is enumerated. Do not request or accept approval for a tool class, including a shell, command runner, HTTP client, or generic query client. A new tool, operation, target, call beyond the approved count, materially broader scope, secret-bearing output, or write effect requires another approval.
  • If no additional tool is available or approved, continue with supplied evidence and observations. Record collection-dependent tests as Blocked rather than presenting supplied claims as independently verified.

Announce the selected mode before the first evidence-collection call. Treat absent or ambiguous host identity as generic mode. Before that call, record a decl

Полный SKILL.md на GitHub

Установить root-cause-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/azure-sre-tools.mdreferences/setup-and-governance.md

FAQ

Что делает скилл root-cause-analysis?

Investigate incidents, software defects, and data or process failures by forming falsifiable hypotheses, executing tests against available evidence, and iterating to a verified causal explanation or an explicit evidence blocker. Use when performing root cause analysis, incident investigation, or postmortem analysis, with cost and model choice confirmed before a full investigation.

Как установить скилл root-cause-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл root-cause-analysis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить root-cause-analysis с