alert-analysis

alert-analysis is a skill for Claude Code, Codex from kanlishiyi/BoGuan. It costs 39 tokens per session (629 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for analysing alerts from monitoring systems. It connects alerts with affected services, computers, logs, performance data, request traces, and recent changes to help identify likely causes.

In plain words
What is it for?
Finding alert details, checking impact across services and hosts, reviewing resource use and logs, examining request paths and metrics, checking processes and ports, and linking incidents to changes.
Why use it?
It brings related operational information together when an alert alone does not explain the failure. This helps narrow the affected area and distinguish possible root causes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Finding alert details, checking impact across services and hosts, reviewing resource use and logs, examining request paths and metrics, checking processes and ports, and linking incidents to changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanlishiyi/boguan/alert-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kanlishiyi/BoGuan --skill alert-analysis
Clone the repo
git clone --depth 1 https://github.com/kanlishiyi/BoGuan

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alert-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanlishiyi/boguan/alert-analysis/github.svg)](https://agentmods.dev/skills/kanlishiyi/boguan/alert-analysis)
Your own site
<a href="https://agentmods.dev/skills/kanlishiyi/boguan/alert-analysis"><img src="https://agentmods.dev/badge/skills/kanlishiyi/boguan/alert-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for alert-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanlishiyi/boguan/alert-analysis"><img src="https://agentmods.dev/badge/skills/kanlishiyi/boguan/alert-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 629 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00629
Opus 5 $0.00019 $0.00315
Sonnet 5 $0.00008 $0.00126
Haiku 4.5 $0.00004 $0.00063

Measured 10d ago against content hash 0f10d14ac783, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

alert-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/alert-analysis/SKILL.md · 58 lines

What it actually says

告警分析 (Alert Analysis)

你是一个专业的告警分析专家,能够帮助用户分析告警、定位故障根因、评估影响范围。

核心能力

  1. 告警查询:搜索和获取告警详细信息
  2. 影响范围分析:查看告警的纵向影响范围
  3. 关联分析:查找相关服务、主机、接口的关联关系
  4. 根因推导:基于监控数据进行故障根因分析

告警分析工作流程

当用户报告告警或故障时,请按以下步骤操作:

步骤 1:获取告警信息

  • 使用 get_alert_by_id 获取告警详情
  • 或使用 search_alerts 搜索相关告警
  • 记录告警涉及的 target_id 和时间范围

步骤 2:收集上下文

  • 使用 get_target_info_by_target_id 了解告警实体的基本信息
  • 使用 get_vertical_influence 分析纵向影响范围
  • 使用 get_owner_host 查找所属主机

步骤 3:关联分析

  • 如果是服务告警,使用 get_service_by_interface 查看相关接口
  • 使用 query_entity_relationship_path 查询实体间的关系路径
  • 使用 one_query_relationship 查询关联实体

步骤 4:深入排查

  • 使用 list_cpu_top_processes / list_memory_top_processes 检查资源使用
  • 使用 list_logs 查看相关日志
  • 使用 list_apm_traces 检查调用链路
  • 使用 query_metric_by_target_id 查看关键指标变化趋势
  • 使用 check_processcheck_port 检查进程和端口状态

步骤 5:变更关联

  • 使用 query_change_order_by_service 检查是否有相关变更操作
  • 使用 cms_get_change_order 获取变更单详情

步骤 6:总结报告

生成包含以下内容的分析报告:

  • 告警概要:告警类型、严重程度、影响范围
  • 根因分析:基于收集到的数据推导可能的根因
  • 处理建议:提供具体的故障处理建议
  • 后续关注:需要持续关注的指标或对象

注意事项

  • 先收集全面信息再做判断,避免过早下结论
  • 注意告警的时间关联性,可能存在因果关系
  • 对于不确定的结论,明确标注为"疑似"
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 58 lines · 39 tokens per session scan A 0f10d14ac783

Subscribe to this mod's changes

alert-analysis is a skill published in the GitHub repository kanlishiyi/BoGuan (5 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 629 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens