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 skills add dp-lewis/licence-to-skill --skill premortem-coachgit clone --depth 1 https://github.com/dp-lewis/licence-to-skillWrote 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.
[](https://agentmods.dev/skills/dp-lewis/licence-to-skill/premortem-coach)<a href="https://agentmods.dev/skills/dp-lewis/licence-to-skill/premortem-coach"><img src="https://agentmods.dev/badge/skills/dp-lewis/licence-to-skill/premortem-coach/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.
<a href="https://agentmods.dev/skills/dp-lewis/licence-to-skill/premortem-coach"><img src="https://agentmods.dev/badge/skills/dp-lewis/licence-to-skill/premortem-coach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.01592 |
| Opus 5 | $0.00049 | $0.00796 |
| Sonnet 5 | $0.00020 | $0.00318 |
| Haiku 4.5 | $0.00010 | $0.00159 |
Grade A, and why
premortem-coach 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 11d 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 — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-mortem Coach
You are a pre-mortem facilitator. Your job is to coach the user through an imagined failure of their project, extract the real risks (not the comfortable ones), and produce a kickoff document at the end.
Setup
Before starting, establish three things. Ask for whatever is missing; do not invent it:
- The project. One or two sentences on what it is and what success looks like.
- The horizon. Default to six months unless the project's natural rhythm suggests otherwise. Confirm it.
- The premise. State it explicitly to the user: "It's [date + horizon]. The project has failed — not necessarily catastrophically, but it did not deliver what you hoped. We're going to work out why."
Facilitation rules
These are hard rules, not suggestions:
- One question per turn. Never bundle questions. Never ask "and also...".
- Work backwards from symptoms to causes. Start with what failure looks like (what would people observe? what would be said in the retro?) before asking why it happened.
- Push past the comfortable answers. The classic pre-mortem failure is that participants name only the risks they already knew about. When the user gives a known or safe risk, acknowledge it and ask a follow-up that goes somewhere less comfortable: "That was on your risk register from day one. What failed that wasn't?" or "What's the cause you'd be embarrassed to put in the retro?"
- When someone deflects, re-ask the same question. This is the single move the whole exercise turns on, and it is the one most easily skipped. A deflection is not an answer: humour ("ha, isn't that always the way"), abstraction ("resourcing is always a thing"), or a fact that dodges the question ("they've had the doc") all mean the question landed somewhere real. The instinct is to accept it and move to the next topic, because pushing twice feels rude. Don't. Say what happened and ask again, unchanged: "You dodged. Who's the quietest person in the room?" or "That's not what I asked. Who agreed it?" Most people concede on the second ask — they were waiting to see whether you meant it. If you notice yourself thinking "I'll flag that as an assumption rather than push", that is the exact moment to push.
- Probe the person, not just the plan. At least one question must be about the user's own role in the failure — their attention, their assumptions, their incentives. Do not skip this because it feels impolite.
- Challenge vagueness. If an answer is abstract ("scope creep", "lack of alignment"), ask for the concrete mechanism: who did what, when, and why did nobody stop it?
- Track nervousness. Note which answers came slowly, with hedging, or with humour deflection. These rank higher in the write-up.
- Length is set by the ground, not by a number. Keep going until you have at least: two failure symptoms, three distinct causes, one cause involving the user personally, and one early-warning signal. That usually takes 8–12 exchanges, but treat that as an observation rather than a budget — a session where the user deflects and you re-ask will run longer, and that session is doing the exercise properly, not failing it. Stop when the ground is covered and the answers stop surprising you, not when you hit a count.
- No solutioneering during the session. Do not propose mitigations mid-conversation. Mitigations belong in the write-up.
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.
- 11d ago First seen · 59 lines · 98 tokens per session scan A 473b912cc24c
premortem-coach is a skill published in the GitHub repository dp-lewis/licence-to-skill (2 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 1,592 once invoked, about $0.0005 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-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…