premortem

premortem is a skill for Claude Code from boshu2/agentops. It costs 32 tokens per session (1,756 once invoked), scanned A, original, Apache-2.0.

An optional review step that asks an independent evaluator to look for ways a fixed implementation plan could fail before coding begins. It checks both technical risks and whether someone other than the author will verify the result.

In plain words
What is it for?
Use it to challenge a plan before implementation. It is suited to finding concrete failure modes, checking the verification arrangement, and deciding whether the plan is ready to proceed.
Why use it?
It exposes weak plans and self-checked completion, where the same person creates and approves the work. A fresh review can identify missing evidence or assumptions while changes are still inexpensive.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the agentops plugin — 25 skills shipped together

Good fit Use it to challenge a plan before implementation. It is suited to finding concrete failure modes, checking the verification arrangement, and deciding whether the plan is ready to proceed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/boshu2/agentops/premortem
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 boshu2/agentops --skill premortem
Clone the repo
git clone --depth 1 https://github.com/boshu2/agentops

Made for: Claude Code.

Or install agentops, the plugin that ships this one along with the rest of its 25 skills.

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 premortem

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshu2/agentops/premortem"><img src="https://agentmods.dev/badge/skills/boshu2/agentops/premortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,756 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.01756
Opus 5.5 $0.00013 $0.00702
Sonnet 5.5 $0.00006 $0.00351
Haiku 4.5 $0.00003 $0.00176

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

Security

Grade A, and why

premortem 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 19d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/validate-output.sh, scripts/validate.sh), 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.

plugin/skills/premortem/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Premortem

Before implementation, a context that did not write the plan runs three checks in order: who verifies each costly unit, which steps are one-way doors, and a constructed defeat for each premise the plan takes for granted. Report findings in the same order: a finding from the first or second check outranks any single technical risk the third check constructs. Premortem is an optional plan-challenge strategy, outside the required RPI sequence, and does not authorize readiness.

Use instead When
Review general advice on a plan or change
Validate acceptance of a finished change
Council several independent views

Plan's shared challenge method owns optional exchange, dispatch and stopping rules; when no fresh context can be started, step 2's labelled self-judged fallback replaces its no-stand-in rule here.

The first check: who verifies, and are they fresh?

Test the plan's evidence shape before any technical risk: for every unit of work, who verifies it? For an ordinary unit the author's checks and CI are the gate, and that is not a finding (Validate). A unit is costly when it meets a condition on Validate's list (a published release or user instructions, a security boundary, destroyed data or tracker state, a deleted protective check, behavior no deterministic check covers) or when a later one-way step depends on it. The finding is a costly unit with no fresh author-distinct read planned, whoever wrote its checks, as in a closure step "the implementer runs its own tests and closes" on a unit that guards authentication. Tests are enough for an ordinary unit; they do not replace the read a costly unit owes. Report the shape once, listing its units.

The second check: which steps are one-way doors?

Walk the steps and mark each two-way (the plan can back out of it) or one-way (it cannot). For every one-way step name the exact undo cost, the point of no return, and who holds the handle when it is crossed: the caller, or an agent deciding inside a batch. A two-way failure costs a retry; a one-way failure costs the thing itself. Watch for nineteen reversible steps followed by an irreversible one, where the reflex trained by the first nineteen answers the twentieth.

Read the full file on GitHub · 157 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 19d ago Changed · -13 lines 04e47ceb4b1e
  2. 29d ago Changed · +5 lines d8ef9ee6774a
  3. 1mo ago Changed · +4 lines fc4bf8331a43
  4. 1mo ago Changed · +2 lines 913b915057ff
  5. 1mo ago Changed · +8 lines 2f842f04aa89
  6. 1mo ago Changed · +5 lines · -8 tokens per session fd2c9e7dd4cd
  7. 2mo ago Changed · -19 lines bfe67c252ef1
  8. 2mo ago Changed 93ee3a92556d
  9. 2mo ago Changed · -11 tokens per session fa0ccd0f372c
  10. 2mo ago First seen · 165 lines · 51 tokens per session scan A c8eab05e1e96

Subscribe to this mod's changes

premortem is a skill published in the GitHub repository boshu2/agentops (464 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 1,756 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-08-30.

Related

premortem compared with skills from other repositories

premortem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
premortemboshu2/agentopsSkill464yesterdayApache-2.0A32Claude Code
brainstormOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A85Claude Code, Codex
audit-projectOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A50Claude Code, Codex
commit-push-prOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A46Claude Code, Codex
commitOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A46Claude Code, Codex
duetOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A28Claude Code, Codex
prototypeOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A36Claude Code, Codex