account-rotation
Switch coding-agent accounts and verify runtime identity. Use when: the caller requests an account change; never rotate automatically to evade a quota.
Analyze outcomes or an interim cutoff. Use when: a postmortem is explicitly requested; consumes available judgment, never gates code acceptance or requires a lesson.
$ npx -y skills add boshu2/agentops --skill postmortem --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/postmortemContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze outcomes or an interim cutoff. Use when: a postmortem is explicitly requested; consumes available judgment, never gates code acceptance or requires a lesson.
name: postmortem
description: 'Analyze outcomes or an interim cutoff. Use when: a postmortem is explicitly requested; consumes available judgment, never gates code acceptance or requires a lesson.'
practices:
- sre
- lean-startup
hexagonal_role: domain
consumes: []
produces:
- postmortem-report.md
context_rel: []
skill_api_version: 1
user-invocable: true
disable-model-invocation: true
metadata:
capabilities: [postmortem]
effects: [write_postmortem_report]
canonical_status: canonical
disposition: keep_strategy
tier: judgment
dependencies: []
context:
window: fork
intent:
mode: task
sections:
exclude:
- HISTORY
output_contract: 'concise inline causal analysis; a requested durable report is YYYY-MM-DD-postmortem-<topic>.md in caller-selected protected external non-Git storage'Answer an explicit retrospective causal question about a completed or stopped goal, session or change using its actual intent, outcome and judgment evidence. For an explicitly requested interim analysis, pin the cutoff and pending checks; its conclusions describe that interval and do not establish a final outcome.
Postmortem this stopped change using its accepted intent, native session, check results and reviewer messages. Which correction cycles were avoidable, and which checks were necessary? No verdict file was saved. Answer inline.
or a code-acceptance gate: acceptance proof and causal inference are different judgments. A request for code and a postmortem does not make the postmortem an input to code judgment. Wait for a known outcome unless interim analysis was requested; keep the caller's overall request incomplete until its requested analysis exists.
or fabricate missing proof to enable a retrospective. An existing `verdict.v2` is optional evidence; its absence does not exclude a stopped or unvalidated subject.
tracker state, change the remaining plan, reopen work or promote a rule.
Manufacture neither certainty nor a lesson.
1. Pin the explicit question, accepted intent, subject identity, actual outcome and available judgment. Cite native work/session references, commits, checks and reviewer messages as applicable; cite an existing verdict by exact id. Keep missing evidence explicit before drawing conclusions. 2. Reconstruct only the relevant evidence-backed timeline. Keep delivered behavior, failed/stopped work and process output distinct; hidden author reasoning is not fact. Missing judgment is not a PASS or a FAIL. 3. Separate delivered facts from causal hypotheses. Test contributing conditions against cited evidence, at least one plausible alternative and a counterfactual. Distinguish necessary validation and compatibility work from avoidable rework; repeated review alone proves no waste. 4. For time/token claims, state source, interval, units, included/excluded actors and uncertainty. Separate elapsed time, overlapping work and accounting scopes; never equate totals with waste, savings or money without supporting evidence. 5. Optionally seek independent support or challenge for contested causal claims within caller authority. Return supported/rejected claims, unknowns and at most three supported changes with limits or small suggested experiments. Stop; suggestions do not authorize implementation.
Treat causal statements as hypotheses until the mechanism is demonstrated. Promoting a claim from correlation to cause requires all three:
outcome, in terms a reader could check against the subject;
least one plausible alternative does not;
with the cited evidence showing it did differ.
Post-hoc fix attribution — "we changed X and the failure stopped, therefore X was the cause" — satisfies none of these alone. The symptom may be intermittent, or recovery and the change may share an unobserved cause. Keep such claims as correlations with untested alternatives and a suggested discriminating experiment. Every supported causal claim needs all three elements with citations; anything less stays a correlation or unknown.
hypotheses/evidence/counterfactuals, unknowns and bounded suggestions. No mandatory report or worksheet.
protected external non-Git storage. Missing routing does not authorize a repository fallback; preserve existing requested evidence under owner policy.
contract markers. It does not inspect report truth, causal support or acceptance.
[Memory](../memory/SKILL.md) owns any separately authorized curation, support and destination-disclosure review; retrospective evidence cannot promote itself.
Behavior examples are in [postmortem.feature](references/postmortem.feature).
Agent work you can verify and build on. AgentOps means agent operations: applying years of DevOps experience to how coding agents plan, implement, validate, and hand off work.
Switch coding-agent accounts and verify runtime identity. Use when: the caller requests an account change; never rotate automatically to evade a quota.
Coordinate selected writers with Agent Mail messages and advisory file reservations. Use when: this adapter is requested; mail does not own tracker status.
Dispatch independent tasks to parallel workers or selected persistent roles. Use when: delegation is authorized with disjoint scopes; execution does not…
Run a supplied task in AGY Antigravity and collect its result. Use when: the caller selects AGY; never a fallback for native coding.
Search agent session logs and cited episodes with CASS. Use when: past prompts, decisions or failures may answer a question; repeated text is not a proven…