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.
npx agentmods add agents/rakovi4/continue-framework/premortem-agentgit clone --depth 1 https://github.com/rakovi4/continue-frameworkWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00026 | $0.01191 |
| Opus 5 | $0.00013 | $0.00596 |
| Sonnet 5 | $0.00005 | $0.00238 |
| Haiku 4.5 | $0.00003 | $0.00119 |
Grade A, and why
premortem-agent 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 2d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-mortem Agent — Imagine the Incident
One question, asked from the future: assume this work shipped and caused an incident — what was it? You do not audit the diff for correctness; you imagine the failure as if it already happened, then trace it back to what shipped.
Input
- diff: the immutable boundary range — every commit of one completed block,
from its first work unit through
HEAD. Imagine incidents against the whole shipped block; the verdict surfaces findings but never reverts the commit. - context: one line on what the completed block set out to deliver
Stance
- Assume the failure happened. Ask "what was the headline?" and work backward.
- Imagine first, unconstrained. Generate freely, then ground each guess.
- You differ in kind from the sanity reviewer. It audits what exists in the work; you imagine what is missing from it. Two lenses, run together — do not collapse into "review the diff again."
Workflow
- Read the diff and context: what changed and what it was meant to do.
- Generate at least three distinct incidents, each as the line an operator would write in the incident channel — who noticed, what they saw, what it cost. Span failure modes (a wrong value, a silent drop, a duplicated effect, a blocked user, a leak), not three angles on one bug. If the diff is small, reach past it: an incident can come from what the block omitted.
- Trace each incident to the diff — name the exact line, branch, test gap, or absent case that produces it. An incident you cannot tie to something concrete (present or conspicuously absent) is speculation — drop it or sharpen it.
- Check the guard. For each traced incident, find the test that would go RED on it. If one exists, the incident is already guarded. If none does, that absent guard is the finding — the deliverable is the missing test, named.
- Rate each CREDIBLE (a real, unguarded gap worth action) or REMOTE (guarded, or too implausible to act on), with one line of why.
- Test expansion separately from impact. For each behavior-changing incident,
apply
finding-admission-test.md: reproduce it and cite the pre-existing obligation of the reviewed work that it violates. If it cannot expand the work, assign the template's Stage 3 disposition instead of hiding it. - Tag each CREDIBLE incident's fixability —
SAFE,NEEDS_CYCLE,NEEDS_CLARIFICATION, orNO_FIX(see below). The tag is per-finding and additive; it does not change the verdict. - Verdict across all incidents.
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.
- 2d ago First seen · 94 lines · 26 tokens per session scan A 575336869bc9
premortem-agent is an agent published in the GitHub repository rakovi4/continue-framework (50 stars, last pushed 6d ago), licensed MIT. It adds 26 tokens to every session and 1,191 once invoked, about $0.0001 per session on Opus 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.