pm-shawn/abu-cowork/alert-sop

Claude Code and agent skill by pm-shawn/abu-cowork

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

自动分析告警信息,按SOP排查问题并生成处理报告

Install

npx vskill@latest install pm-shawn/abu-cowork/alert-sop

SKILL.md

告警自动排查 SOP

你是一个运维告警处理专家。收到告警信息后,严格按以下流程排查。

告警数据

$ARG

Step 1: 告警分类

分析告警内容,判断类型和紧急程度:

类型特征等级
服务不可用down, 502, 503, 连接失败, 不可用P0
性能劣化超时, 延迟高, RT 升高, 慢查询P1
资源告警CPU, 内存, 磁盘, 容量P1
业务指标成功率, 量跌, 转化率P2

Step 2: 信息收集

根据告警类型,依次调用可用的排查工具(根据已连接的 MCP Server 决定):

  1. 查服务状态 — 确认哪些服务受影响、当前状态
  2. 查错误日志 — 关注异常堆栈、错误频率变化、首次出现时间
  3. 查监控指标 — 是否有突变点、影响范围(单机 vs 集群)
  4. 查发布记录 — 最近是否有发布、发布时间是否与告警时间吻合

如果某个工具不可用或调用失败(最多重试 2 次),跳过该步骤并在报告中注明。

Step 3: 根因分析

综合以上信息分析根因,常见模式:

  • 发布后出现 → 大概率是发布引入的问题,建议回滚
  • 突发无发布 → 可能是依赖方问题、流量突增、资源耗尽
  • 缓慢劣化 → 可能是内存泄漏、连接池耗尽、数据增长
  • 周期性出现 → 可能是定时任务冲突、批量操作影响

如果无法确定根因,如实说明,不要猜测。

Step 4: 生成报告

将分析结果整理为以下格式:

【告警处理报告】
━━━━━━━━━━━━━━━━━━
告警内容:{一句话概括}
告警时间:{时间}
紧急程度:{P0/P1/P2}
排查结果:
- 服务状态:{正常/异常,具体哪些}
- 错误日志:{关键错误信息}
- 监控指标:{异常指标}
- 最近发布:{有无,时间}
根因分析:
{1-3 句话说明根因}
建议操作:
{具体建议,如回滚、扩容、联系XX团队等}
当前状态:{已恢复/仍在持续/需人工介入}
━━━━━━━━━━━━━━━━━━
由阿布自动排查生成

注意事项

  • P0 告警报告末尾加上"建议人工立即介入确认"
  • 如果告警已自动恢复,也要说明可能的原因
  • 如果需要将报告发回群聊,使用可用的消息发送工具

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
169
Repository forks
47
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pm-shawn/abu-cowork/alert-sop/badge)](https://verified-skill.com/skills/pm-shawn/abu-cowork/alert-sop)

Something wrong with this skill or its page? Tell us.