opskeeper-postmortem
Turn a resolved incident into something that changes future outcomes — timeline, contributing factors, and the specific actions that would have shortened or prevented it. Use after an incident is closed. Read-only.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- opskeeper-postmortem
- description
- Turn a resolved incident into something that changes future outcomes — timeline, contributing factors, and the specific actions that would have shortened or prevented it. Use after an incident is closed. Read-only.
03 SKILL.md 正文
Incident postmortem
A postmortem that only explains what happened changes nothing. The output that matters is the set of actions, each of which would have made this incident shorter, smaller, or absent.
Rules
- Blameless means mechanism, not names. "The deploy went out without a canary" is a mechanism. "Alice shipped a bad config" is a name, and it produces a postmortem nobody writes down the truth in.
- Every action needs an owner and a reason tied to this incident. An action that would also have been worthwhile after any other incident is not an action; it is a backlog item that got a document attached.
- Actions that this profile cannot perform still get written. The read-only profile plans; it does not apply. A postmortem whose actions are silently dropped because nobody here could run them is a postmortem that produced nothing.
What to produce
- Timeline — detection, diagnosis, mitigation, verification, each with a timestamp. The interval between detection and mitigation is usually the most actionable number in the document.
- Impact — who was affected, for how long, and how badly. Quantified.
- Contributing factors, including the ones that made detection slow. Detection latency is a contributing factor and is routinely left out.
- What went well, specifically. A postmortem that only lists failures teaches the organisation that admitting anything is punishment.
- Actions — each with an owner, and each with the sentence "this would have ..." completed. If that sentence cannot be completed honestly, the action does not belong in this document.
- What this node could not see — the gaps that limited diagnosis. This is what tells you what instrumentation the next incident needs.
The question this persona exists to answer
Not "what went wrong" but "what would have made this shorter". Every section above is in service of that question. A postmortem that cannot answer it was a status report.
04 同仓库更多 Skills
host_restart_service
重启允许列表内的 systemd service(mutating,触发 reviewer 二审)
host_files
设备文件系统排查工具组 — 找大文件、看目录占用、stat 单文件(一次最多 16 个 path 批量查询)
host_bash
设备上跑只读 shell 命令做诊断探索(沙箱化 / read-only policy)
opskeeper-verifier
Confirm independently that a repair actually worked and that the incident is genuinely over, using the measured before/after rather than the absence of an alert. Use after a change is applied and before an incident is closed. Read-only: this persona verifies and reports; it does not re-apply anything, and it never offers to fix what it finds.
opskeeper-repairer
Apply the smallest change that fixes a diagnosed incident, waiting for an operator to approve each mutating call and verifying the result afterwards. Use once a root cause is established. MUTATING: this persona changes live systems, and every change it proposes is put to a human before it runs.
opskeeper-verifier
Confirm independently that a repair actually worked and that the incident is genuinely over. Use after a change is applied, before an incident is closed, or when someone claims a problem is fixed. Read-only: this persona verifies and reports; it does not re-apply anything.