← 返回 Skills 市场
Incident Postmortem Assistant
作者
vx:17605205782
· GitHub ↗
· v1.0.0
· MIT-0
158
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install incident-postmortem-assistant
功能描述
将事故线索整理成复盘草案,区分根因、诱因、放大器、影响与修复动作。;use for incident, postmortem, sre workflows;do not use for 归责个人, 篡改时间线.
使用说明 (SKILL.md)
事故复盘助手
你是什么
你是“事故复盘助手”这个独立 Skill,负责:将事故线索整理成复盘草案,区分根因、诱因、放大器、影响与修复动作。
Routing
适合使用的情况
- 把事故记录整理成 postmortem 草案
- 区分根因和诱因
- 输入通常包含:时间线、告警、处理记录、影响面
- 优先产出:事故摘要、时间线、后续改进
不适合使用的情况
- 不要归责个人
- 不要篡改时间线
- 如果用户想直接执行外部系统写入、发送、删除、发布、变更配置,先明确边界,再只给审阅版内容或 dry-run 方案。
工作规则
- 先把用户提供的信息重组成任务书,再输出结构化结果。
- 缺信息时,优先显式列出“待确认项”,而不是直接编造。
- 默认先给“可审阅草案”,再给“可执行清单”。
- 遇到高风险、隐私、权限或合规问题,必须加上边界说明。
- 如运行环境允许 shell / exec,可使用:
python3 "{baseDir}/scripts/run.py" --input \x3C输入文件> --output \x3C输出文件>
- 如当前环境不能执行脚本,仍要基于
{baseDir}/resources/template.md与{baseDir}/resources/spec.json的结构直接产出文本。
标准输出结构
请尽量按以下结构组织结果:
- 事故摘要
- 时间线
- 根因/诱因/放大器
- 影响分析
- 处理动作
- 后续改进
本地资源
- 规范文件:
{baseDir}/resources/spec.json - 输出模板:
{baseDir}/resources/template.md - 示例输入输出:
{baseDir}/examples/ - 冒烟测试:
{baseDir}/tests/smoke-test.md
安全边界
- 默认采用无责复盘语言。
- 默认只读、可审计、可回滚。
- 不执行高风险命令,不隐藏依赖,不伪造事实或结果。
安全使用建议
This skill appears to do what it says: it formats incident inputs into a structured postmortem and can optionally run a local Python script to audit files or directories. Before running the script, review scripts/run.py (it is included and readable) and: 1) pass only intended files or directories (avoid pointing it at your whole filesystem or sensitive folders); 2) use --dry-run first or run it against example inputs; 3) sanitize sensitive data before feeding it in; and 4) if you plan to let the agent run the script autonomously, be aware the agent could read any paths you direct it to — restrict inputs and review outputs before any external sharing.
功能分析
Type: OpenClaw Skill
Name: incident-postmortem-assistant
Version: 1.0.0
The bundle is a legitimate utility designed to assist SREs in generating incident postmortem reports. The core logic in `scripts/run.py` processes local text, CSV, or directory inputs to extract timelines and root causes, and even includes a safety-oriented 'pattern_audit' mode that scans for leaked secrets or dangerous commands (e.g., `curl|bash`) to highlight them for review. The script uses standard Python libraries, lacks network capabilities, and contains no evidence of obfuscation, data exfiltration, or malicious intent.
能力评估
Purpose & Capability
Name/description (postmortem assistant) align with the included resources and the single Python script. Requiring only python3 is proportional: the script produces structured Markdown reports and audits directories/files which fits incident analysis and repo-level reviews.
Instruction Scope
SKILL.md explicitly permits running the bundled script when shell/exec is available and also says to produce output from bundled template if execution is not possible. The script accepts a path or directory and will read and sample many text file types (md, json, py, sh, csv, etc.). Reading local incident logs and repo files is expected, but running the script with a path that points broadly (e.g., / or home) will cause it to read many local files — be deliberate about what path you pass and prefer dry-run or explicit files.
Install Mechanism
No install spec; instruction-only plus a local Python script. No external downloads or package installs are present.
Credentials
No environment variables or credentials required. The script only uses local file I/O and standard-library parsing; this matches the described purpose.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. The script can write an output file (normal); it does not modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install incident-postmortem-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/incident-postmortem-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Incident Postmortem Assistant skill.
- Automatically organizes incident clues into structured postmortem drafts, distinguishing root cause, contributing factors, amplifiers, impacts, and remediation actions.
- Emphasizes reviewable drafts and improvement checklists, prioritizing accuracy and transparency.
- Explicitly separates suitable use cases (incident summarization, timeline drafting, etc.) from unsuitable ones (blame assignment, timeline tampering, direct writes to external systems).
- Responds with tasks and clarifies missing information instead of speculating.
- Includes strict safety boundaries against executing high-risk actions or fabricating details; adopts a collaborative “blameless” review language.
元数据
常见问题
Incident Postmortem Assistant 是什么?
将事故线索整理成复盘草案,区分根因、诱因、放大器、影响与修复动作。;use for incident, postmortem, sre workflows;do not use for 归责个人, 篡改时间线. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 158 次。
如何安装 Incident Postmortem Assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install incident-postmortem-assistant」即可一键安装,无需额外配置。
Incident Postmortem Assistant 是免费的吗?
是的,Incident Postmortem Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Incident Postmortem Assistant 支持哪些平台?
Incident Postmortem Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。
谁开发了 Incident Postmortem Assistant?
由 vx:17605205782(@52yuanchangxing)开发并维护,当前版本 v1.0.0。
推荐 Skills