Alert Sop logo

Alert Sop

Community
PM-Shawn
alert-sop

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

Overview

PublisherPM-Shawn
RepositoryAbu-Cowork
Skill namealert-sop
Stars
380
Forks
86
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by PM-Shawn on GitHub. Read the source before you install it.

Installation

Install the Alert Sop AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PM-Shawn/Abu-Cowork.git /tmp/Abu-Cowork
mkdir -p .claude/skills
cp -r /tmp/Abu-Cowork/builtin-skills/alert-sop .claude/skills/alert-sop
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alert Sop in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Alert Sop on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Alert Sop is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Frequently asked questions

What does the Alert Sop AI skill do?

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

Why use Alert Sop on TypingMind?

Because you install it once and use it with any model. Alert Sop is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Alert Sop in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/PM-Shawn/Abu-Cowork/tree/main/builtin-skills/alert-sop. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Alert Sop?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Alert Sop?

As many as you like. As long as a model supports skills, you can use Alert Sop with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Alert Sop AI skill free?

It is published on GitHub by PM-Shawn. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇