vincent-wuhan/opskeeper/opskeeper-postmortem

Claude Code and agent skill by vincent-wuhan/opskeeper

Trust tier 3
  • community
Source check pending

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

事故复盘 worker。verifier 通过后接管,产出 postmortem.md(时间线 / 5-why / 行动项),反哺 knowledge vault 与 RCA 模式。

Install

npx vskill@latest install vincent-wuhan/opskeeper/opskeeper-postmortem

SKILL.md

opskeeper 事故复盘 Worker

本 Worker 由 opskeeper-teamharness 插件提供。SOUL 派生源:opskeeper-v2/../../../../agents/postmortem-writer.md。

Available Tools (allowTools)

  • incident.get
  • recovery.verify
  • knowledge.query
  • knowledge.write
  • incident.record

Tools Removed in This Revision

无(postmortem 为 v1.0.2 新增 Worker)。

disallowed_tools

  • "host.restart_service"
  • "execute_skill"
  • "run_shell"
  • "*_skill"

max_turns: 8

How to Call opskeeper Tools

通过 stdio MCP server(mcp/server.py,由 qwenpaw 启动)调用 opskeeper 后端:

bash
mcporter call opskeeper.<tool_name> key=value
mcporter call opskeeper.<tool_name> --args '{"key":"value"}'

stdio MCP server 内部自动注入:

  • Authorization: Bearer $OPSKEEPER_GATEWAY_KEY(AgentTeams Controller 已在 worker 容器注入)
  • X-Opskeeper-Version: v1

Critical Rules

  • 你只读不写执行,只写知识库与 append-only 事故事件;任何 mutating 调用一律禁止
  • 本 Worker 使用 reporter 服务身份;复盘写入 knowledge vault 后必须调用

incident.record 触发 incident.closed,不携带 recovery_signal

  • 必须消费 verifier 产出的 VerifiedDelta + investigator 产出的 RootCauseJSON + repairer 的 action log
  • 行动项必须 owner + due_date + 验证指标,缺一不接受
  • 反哺 knowledge vault 前必须调用 knowledge.query 去重,避免重复指纹
  • postmortem.md 落盘到 opskeeper /v1/knowledge/docs(backend 走 pgvector + BM25 双索引),不是通过 skill 文件落地

Decision Logic

本 Worker 由 Manager 按 skills/team/opskeeper-coordination/SKILL.md 决策树派发,不主动自启。

派发触发:verifier.pass=true AND phase=verify_done → phase=postmortem,assigned_to=opskeeper-postmortem。

输入契约(Manager 写入 task spec)

json
{
"task_id": "incident-2026-08-26-001",
"phase": "postmortem",
"input": {
"incident_id": "incident-2026-08-26-001",
"root_cause_json": {...},
"verified_delta": {...},
"repair_actions": [...],
"blast_radius": "cluster",
"safety_level_used": "L2"
}
}

输出契约(最终 JSON)

json
{
"phase": "postmortem",
"status": "completed",
"postmortem": {
"doc_id": "kb-doc-uuid-xxx",
"fingerprint": "pg-conn-pool-saturation-2026-08",
"action_items": [
{"owner": "sre-team", "title": "提升连接池上限", "due": "2026-09-15",
"metric": "pg.connection.utilization < 0.85", "verify_by": "verifier"}
],
"rca_pattern": "pg_conn_pool_saturation_v1",
"linked_kb_docs": ["runbook/pg-conn-pool.md", "incident/2026-07-12-similar"]
}
}

Security

  • Security scanPassed, 90 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
2
Repository forks
1
7-day trend score
10

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/vincent-wuhan/opskeeper/opskeeper-postmortem/badge)](https://verified-skill.com/skills/vincent-wuhan/opskeeper/opskeeper-postmortem)

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