incident-postmortem

incident-postmortem is a skill for Claude Code, Codex from KimYx0207/Kim_Service. It costs 30 tokens per session (744 once invoked), scanned A, original, MIT.

An incident postmortem workflow for reconstructing a service failure and checking the resulting improvement actions. An incident postmortem is a written review of what happened, who or what was affected, and how recurrence should be reduced.

In plain words
What is it for?
Use it to calculate incident durations, document customer impact, examine contributing system factors, and track preventive, detection, and mitigation actions.
Why use it?
It replaces vague conclusions with a checked timeline, evidence-backed causes, and actions with owners, deadlines, and completion conditions. It also separates detection, mitigation, and recovery instead of treating them as one time.

Skill for Claude CodeCodex

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

Good fit Use it to calculate incident durations, document customer impact, examine contributing system factors, and track preventive, detection, and mitigation actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kimyx0207/kim_service/incident-postmortem
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 KimYx0207/Kim_Service --skill incident-postmortem
Clone the repo
git clone --depth 1 https://github.com/KimYx0207/Kim_Service

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 incident-postmortem

README.md
[![agentmods](https://agentmods.dev/badge/skills/kimyx0207/kim_service/incident-postmortem/github.svg)](https://agentmods.dev/skills/kimyx0207/kim_service/incident-postmortem)
Your own site
<a href="https://agentmods.dev/skills/kimyx0207/kim_service/incident-postmortem"><img src="https://agentmods.dev/badge/skills/kimyx0207/kim_service/incident-postmortem/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 incident-postmortem

Your own site · 80×15
<a href="https://agentmods.dev/skills/kimyx0207/kim_service/incident-postmortem"><img src="https://agentmods.dev/badge/skills/kimyx0207/kim_service/incident-postmortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 744 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.00030 $0.00744
Opus 5.5 $0.00012 $0.00298
Sonnet 5.5 $0.00006 $0.00149
Haiku 4.5 $0.00003 $0.00074

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

Security

Grade A, and why

incident-postmortem 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 16d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/run.mjs, scripts/runtime.mjs, tests/helper.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/incident-postmortem/SKILL.md · 45 lines

What it actually says

故障复盘与行动验证

把事故记录变成能复核的影响与恢复时间线,并让每一项改进都有负责人、期限和完成证据,减少“加强意识”式空泛结论。

使用

读取专业方法与交付模板,按 method.json 顺序处理实际材料。

node skills/incident-postmortem/scripts/run.mjs --input-json - < skills/incident-postmortem/examples/input.json

该示例是合成数据。替换输入时保持单位、身份和版本一致。脚本从 stdin 读取 JSON,stdout 返回一个带输入/规则哈希的回执;没有网络、付费模型调用或业务写入。脚本输出需配合领域说明,不能当成全部专业判断。完整机器结构见 capability.json,示例期望和反例见案例。

工作顺序

  1. 从监控、请求日志、变更单和应急记录建立统一时区时间线;区分用户影响、检测、缓解和真正恢复。
  2. 运行helper重算四段时长,人工核对日志定位与客户影响分母;时序矛盾先回源修正。
  3. 按触发因素、系统促因、检测缺口、恢复障碍写因果假设,给支持及反证,不按事件相邻直接定因。
  4. 将行动分为prevent/detect/mitigate,写负责人、期限和可观察完成条件,再检查逾期和虚假关闭。
  5. 交复盘正文、行动验证表及未核结论;实际通知、生产变更与关单交调用方。

交付与判断

时间按显式时区比较且开始≤发现≤缓解≤恢复≤观察时点;客户影响时长与分段相加一致。每项完成状态需要证据引用,缺失类型与逾期不能被平均分抵消。

缺行动类型、负责人/期限/验证条件、逾期未完成或声称完成却无证据时needs_review;completed只表示给定记录检查完成且没有这些缺口。

范围

  • 本包不替代正在发生的应急指挥,不自动隔离或重启生产系统。
  • 单次事件时间不能当成平均MTTR,不按人员责备代替系统分析。
  • 不把填完行动表等同完成改进,不自动发送事故通报。

公开事故通报、生产变更或责任处置沿用现有事故负责人授权;复盘编写和时间复算直接推进。 普通可逆的读取、复算与草稿编制直接按当前任务授权推进。needs_probe 表示宿主未认证,不意味着本地脚本不可运行。包保留完整目录即可独立运行;复制入口一份不会携带资料。

来源

PROVENANCE.md记录本次实际读取的原项目、固定版本、采用范围与未采用范围。原创工作流、脚本和合成例按MIT许可发布。

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. 16d ago First seen · 45 lines · 30 tokens per session scan A e2515f7651d3

Subscribe to this mod's changes

incident-postmortem is a skill published in the GitHub repository KimYx0207/Kim_Service (198 stars, last pushed 12d ago), licensed MIT. It adds 30 tokens to every session and 744 once invoked, about $0.0001 per session on Opus 5.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-11-14.

Related

incident-postmortem compared with skills from other repositories

incident-postmortem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
incident-postmortemKimYx0207/Kim_ServiceSkill19812d agoMITA30Claude Code, Codex
log-error-digestzebbern/claude-code-guideSkill4.7k4d agoMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9k2d agoApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill339todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
triaging-web-analytics-supportPostHog/posthogSkill41ktodaynoneA151Claude Code, Codex
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex