Agent skill

Alert Root Cause

by kubehan in kubehan/PromAI

“对活跃告警进行根因分析,关联指标和巡检记录。”

— description from SKILL.md by kubehan
No licenceAuto-check passedDevelopment

Install Alert Root Cause

skills CLI
$ npx skills add kubehan/PromAI --skill alert-root-cause -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kubehan/PromAI alert-root-cause --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kubehan/PromAI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/alert-root-cause .claude/skills/alert-root-cause && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
alert-root-cause
GitHub stars
125
Token cost
~319 tokens
SKILL.md length
64 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

  • Works in 4 steps: 使用 analyze_alert 工具 → 查询关联指标 → 查看巡检记录 → …
  • SKILL.md covers 前置条件, 步骤 and 常见场景示例
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Alert Root Cause is a skill in kubehan/PromAI (125 stars). Its SKILL.md is about 319 tokens. No licence found.

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 使用 analyze_alert 工具
  2. 查询关联指标
  3. 查看巡检记录
  4. 汇总分析

What it can do on your machine

Read from SKILL.md and the folder at commit fd7c8bc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are promql).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Alert Root Cause loads about 319 tokens when it runs. Until then it costs about 10 tokens; SKILL.md has 64 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~10
When it runs · the whole SKILL.md, loaded when a task matches
~319

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 64 words (~319 tokens).

name
alert-root-cause
user-invocable
true
x-enabled
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/alert-root-cause of kubehan/PromAI.

Open the folder on GitHubat commit fd7c8bc

Compare with similar skills

Alert Root Cause next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Alert Root Cause compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Alert Root Cause this skillkubehan/PromAI125—~319Automated safety check: PassNone
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
OpenLogi macOS Permissions TriageAprilNEA/OpenLogi23k—~2.5kAutomated safety check: NotesApache-2.0
Bug Finder for daisyUIsaadeghi/daisyui43k—~2.3kAutomated safety check: PassMIT
Root Cause Debugginggarrytan/gstack136k—~1.4kAutomated safety check: PassMIT
Review PRapache/shardingsphere21k—~6.4kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • Bug Finder for daisyUI

    saadeghi/daisyui

    Investigates suspected bugs in the daisyUI monorepo through read-only analysis, then writes a decision-ready fix plan in tmp/bugs without changing any product code.

    43k GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Root Cause Debugging

    garrytan/gstack

    Investigates bugs, errors and stack traces in phases and requires a root-cause hypothesis to be confirmed before any fix is written.

    136k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Review PR

    apache/shardingsphere

    Review Apache ShardingSphere or user-authorized downstream pull requests and PR discussions from public or authorized repository evidence.

    21k GitHub stars~6.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Graph-Based Bug Tracing

    tirth8205/code-review-graph

    Traces a bug through a code knowledge graph, following callers, callees and execution flow before opening source files, within a small token budget.

    32k GitHub starsUsed in 1 repo~287 tokens
    DevelopmentAuto-check passed

More from kubehan/PromAI

  • Disk Check

    kubehan/PromAI

    检查磁盘使用率并给出处理建议 — 综合 metrics 查询和 exec 脚本两种方式. An agent skill from kubehan/PromAI.

    125 GitHub stars~256 tokensUpdated 21 days ago
    Auto-check passed
  • Datasource Check

    kubehan/PromAI

    检查 Prometheus 数据源的连通性、数据延迟和指标采集健康度。

    125 GitHub stars~229 tokensUpdated 21 days ago
    Auto-check passed
  • Inspect Report

    kubehan/PromAI

    触发巡检任务并推送报告到通知渠道。

    125 GitHub stars~231 tokensUpdated 21 days ago
    Auto-check passed
  • Node Health

    kubehan/PromAI

    对指定节点进行一键健康检查(CPU、内存、磁盘、网络、运行时间)。

    125 GitHub stars~337 tokensUpdated 21 days ago
    Auto-check passed
  • Resource Analyze

    kubehan/PromAI

    综合分析 CPU、内存、负载等系统资源使用情况,定位瓶颈。

    125 GitHub stars~292 tokensUpdated 21 days ago
    Auto-check passed

Categories

Questions about Alert Root Cause

How do I install Alert Root Cause in Claude Code?

Run `npx skills add kubehan/PromAI --skill alert-root-cause -a claude-code`. Or copy the skill folder (skills/alert-root-cause in kubehan/PromAI) into .claude/skills/alert-root-cause in your project. Claude Code loads it when a task matches its description.

How do I install Alert Root Cause in Codex?

Run `npx skills add kubehan/PromAI --skill alert-root-cause -a codex`. Or copy the skill folder (skills/alert-root-cause in kubehan/PromAI) into .agents/skills/alert-root-cause in your project. Codex loads it when a task matches its description.

Can I use Alert Root Cause in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kubehan/PromAI --skill alert-root-cause -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/alert-root-cause, .gemini/skills/alert-root-cause, .github/skills/alert-root-cause and .opencode/skills/alert-root-cause in your project.

What does Alert Root Cause need to run?

SKILL.md names no scripts, command-line tools or credentials: Alert Root Cause is instructions for the agent only.

Does Alert Root Cause access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Alert Root Cause safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Alert Root Cause use?

No licence was found for Alert Root Cause or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Alert Root Cause use?

About 319 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Alert Root Cause?

Skills that share tags, products or a category with Alert Root Cause: Code Design Rationale Investigator (cursor/plugins, 10k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars), Bug Finder for daisyUI (saadeghi/daisyui, 43k stars) and Root Cause Debugging (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Alert Root Cause?

kubehan (a GitHub user) maintains it in kubehan/PromAI, which has 125 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 18, 2026.

Source: kubehan/PromAI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.