본문으로 건너뛰기
cccskills
무료GitHub에 공개

agent-incident-postmortem

Run a blameless postmortem for an incident caused by an AI agent or LLM feature — hallucinated facts shipped to users, runaway tool use, prompt injection, cost blowouts, or wrong actions taken autonomously. Use when asked to write up an AI incident, analyse why an agent did something wrong, or produce corrective actions after an LLM failure. Produces a structured postmortem with trace reconstruction, a root-cause layer analysis, and corrective actions including a permanent regression case. For non-AI production incidents use incident-postmortem.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Agent Incident Postmortem Skill

AI incidents differ from outages: the system didn't go down — it did something wrong, confidently, and maybe only once. This skill adapts blameless postmortem practice to nondeterministic systems, where "can we reproduce it?" needs traces, not just steps.

What This Skill Produces

  • A blameless postmortem document with timeline and user/business impact
  • A trace reconstruction of what the agent saw, decided, and did
  • A root-cause analysis across the AI failure layers (not "the model hallucinated" as a conclusion)
  • Corrective actions — always including a new permanent case in the regression suite

Required Inputs

Ask for (if not already provided):

  • What the agent did and what it should have done
  • The trace — the full request: system prompt, context, tool calls and results, output. If no trace exists, that absence is itself a finding
  • Blast radius — how many users/requests, over what window, and whether it's ongoing
  • Detection — how it was noticed (user report? monitor? luck?) and how long after it started

Root-Cause Layers

Walk the layers in order; the root cause is usually the earliest layer that could have prevented the outcome. "The model was wrong" is a starting point, never the conclusion — models are known to be fallible, so the question is what let a fallible output become an incident.

LayerAsk
Input / contextWas the context wrong, stale, contradictory, or poisoned (injection)? Did retrieval feed it bad ground truth?
Model behaviourGiven that context, was the output a foreseeable failure mode (fabrication under missing data, over-compliance with injected text)?
GuardrailsWhat check should have caught this output and didn't exist / didn't fire? (schema validation, groundedness check, action allow-list)
Action layerWhy could the wrong output become a real action or reach a user without the appropriate gate for its risk level?
DetectionWhy did we learn about it this way, this late? What signal would have caught it in minutes?

Nondeterminism Discipline

  • Reproduce with the trace, not the anecdote: replay the exact context; then re-run N times to measure frequency — a 1-in-20 failure at 10k requests/day is 500 incidents/day.
  • Pin everything when replaying: model version, prompt version, temperature, tool results.
  • If it can't be reproduced: say so, keep the trace as the evidence, and treat frequency as unknown — not as "rare".

Output Format

AI Incident Postmortem: [title] — [date]

Severity: [level] · Status: [resolved/monitoring] · Owner: [name]

Summary: [3 sentences: what the agent did, impact, root cause layer]

Impact: [users/requests affected, window, cost, trust/regulatory dimension]

Timeline: [first bad output → detection → mitigation → resolution, with the detection gap called out]

Trace reconstruction: [what was in the window; which tool calls ran; where the path diverged from intended behaviour]

Root cause by layer:

LayerFinding
Input/context
Model behaviour
Guardrails
Action layer
Detection

Reproduction: [replayed? failure frequency over N runs / not reproducible — evidence is the trace]

Corrective actions:

ActionLayerOwnerDue
Add this trace as a permanent regression caseeval
[guardrail/monitor/context fix]

What went well / what got lucky: [both, honestly]

Quality Checks

  • The postmortem is blameless toward humans and useful about the system — "prompt engineer error" and "model hallucinated" are both banned conclusions
  • Root cause identifies the earliest layer that could have prevented impact, not just the layer that misbehaved
  • The trace (or its absence) is in the document; findings cite it
  • Failure frequency was measured or explicitly marked unknown
  • Corrective actions include the permanent regression case and at least one detection improvement

Anti-Patterns

  • Do not close with "improved the prompt" as the only action — the same class of output must also be caught by a guardrail or gate next time
  • Do not assess frequency from one replay — nondeterministic failures hide at low temperatures and reappear at scale
  • Do not skip the injection question when any untrusted text (web, user docs, tickets) was in the window
  • Do not let "the model will be better next version" close an action item — upgrades are migrations (see model-migration-plan), not fixes
  • Do not write it as an outage report — the system was up; the failure was behavioural, and the doc must analyse behaviour

Example Trigger Phrases

  • "Write up an AI incident."
  • "Analyse why an agent did something wrong."
  • "Produce corrective actions after an LLM failure."

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Design a 360-degree feedback survey or write a structured 360 feedback report. Use when asked to build a 360 feedback process, write 360 feedback for a colleague, design a feedback survey, or produce a feedback report. Produces either a complete survey instrument with rating scales and open-ended questions, or a structured narrative feedback report with themes, strengths, and development areas.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mohitagw15856/pm-claude-skills1.5천2026년 10월 21일 업데이트

Decode a 401k or workplace retirement plan — the real cost of its funds, the match's fine print, vesting math, and the plan features worth using or avoiding. Use when someone asks 'is my 401k any good', 'decode my 401k plan', 'which funds should I look at', or 'what fees am I paying'. Produces a fee decode in dollars-over-time, match and vesting math, a fund-lineup triage by cost, and the questions for HR or the plan administrator.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mohitagw15856/pm-claude-skills1.5천2026년 10월 21일 업데이트

Design statistically rigorous A/B tests for product features, UI changes, onboarding flows, and pricing experiments. Use when asked to set up an experiment, design an A/B test, calculate sample size, or interpret test results. Produces a complete test plan with hypothesis, variant definitions, sample size, duration estimate, guardrail metrics, and a results interpretation guide.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mohitagw15856/pm-claude-skills1.5천2026년 10월 21일 업데이트

Analyse a finished A/B test and write the readout — the result, whether it's statistically and practically significant, what it means, and the ship/no-ship call. Use when asked to analyse experiment results, write an A/B test readout, interpret test data, or decide whether to ship a variant. Produces a clear verdict with the lift and confidence, segment cuts, the risks (peeking, novelty, sample), and a recommendation. Distinct from planning a test — this reads results.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mohitagw15856/pm-claude-skills1.5천2026년 10월 21일 업데이트

Build or tailor an academic CV for faculty, postdoc, research or fellowship applications: publications, grants, teaching, supervision and service in the order the field expects, with consistent citations. Use when asked to write my academic CV, update my CV for a lectureship, tenure-track or postdoc application, format my publications list, or adapt my academic CV for an industry research role. Produces the full academic CV, a field-appropriate section order, a clean publications list in one citation style, and a two-page summary version when asked.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mohitagw15856/pm-claude-skills1.5천2026년 10월 21일 업데이트

Generate a WCAG 2.2 accessibility audit checklist and remediation suggestions for any UI or design. Use when asked to audit for accessibility, check WCAG compliance, review a design for a11y issues, or create an accessibility remediation plan. Produces a prioritised checklist with pass/fail assessments and specific fixes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mohitagw15856/pm-claude-skills1.5천2026년 10월 21일 업데이트

mohitagw15856의 스킬 모두 보기

이 스킬의 문제 신고