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 peterfei/forge-skill --skill premortem-skillgit clone --depth 1 https://github.com/peterfei/forge-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/peterfei/forge-skill/premortem-skill)<a href="https://agentmods.dev/skills/peterfei/forge-skill/premortem-skill"><img src="https://agentmods.dev/badge/skills/peterfei/forge-skill/premortem-skill/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/peterfei/forge-skill/premortem-skill"><img src="https://agentmods.dev/badge/skills/peterfei/forge-skill/premortem-skill.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.00085 | $0.02844 |
| Opus 5.5 | $0.00034 | $0.01138 |
| Sonnet 5.5 | $0.00017 | $0.00569 |
| Haiku 4.5 | $0.00009 | $0.00284 |
Grade A, and why
premortem-skill 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 1mo 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 — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
事前验尸(Premortem)· 思维工具
"A premortem is the hypothetical opposite of a postmortem. A postmortem in a medical setting allows health professionals and the family to learn what caused a patient's death. A premortem in a business setting comes at the beginning of a project rather than the end, so that the project can be improved rather than autopsied." — Gary Klein
激活条件与触发词
- 直接调用:「用事前验尸分析...」「premortem这个项目」「假设已失败」
- 语义触发:用户计划一个新项目或决策,想提前识别风险
- 组合调用:「先用事前验尸识别风险,再用场景规划构建应对」
方法框架概览
事前验尸的核心是假设项目已失败并反推失败原因,它通过心理时间旅行释放想象力、心理安全感释放真实观点、失败场景可视化触发预防行动来提前识别并消除风险。
核心原理(3-7个,每个须附 ≥2 个跨域证据)
原理 1: 前瞻性后见之明释放想象力
一句话定义:当你站在未来假设已经失败时,你会看到"现在"看不到的风险。
跨域证据:
- 认知心理学:Klein 在实验中发现 premortem 能识别出 30% 更多的项目风险(来源:Klein, Performing a Project Premortem, HBR, 2007)
- 油气工业:British Petroleum 在部分项目上实施 premortem 后显著降低了安全事故率(来源:Klein, Streetlights and Shadows, 2009)
应用方式:正式开会时,说"今天我们假设这个项目在 6 个月后死透了。每个人用 10 分钟写下来:它为什么会死?"
局限:如果团队缺乏相关领域经验,他们可能想不出有意义的风险。
原理 2: 群体智慧需要心理安全感
一句话定义:人们天然不愿意在领导面前说"我觉得这要翻车"。premortem 通过"假设已经翻了"降低心理障碍。
跨域证据:
- 组织心理学:Google Project Aristotle 发现心理安全感是高效团队的最强预测因子(来源:Google re:Work, Project Aristotle, 2016)
- 核工业:国际核电行业的事故报告系统依靠匿名报告制度降低恐惧(来源:IAEA, Safety Culture in Nuclear Installations, 2001)
应用方式:领导在 premortem 中最后一个发言。如果领导先发言,其他人就会"聪明地"附和。
局限:如果在惩罚文化严重的组织,仅靠 premortem 的形式不足以建立真实安全感。
原理 3: 时间距离降低确认偏差
一句话定义:现在看未来总是乐观的。站在未来回头看,乐观偏差自然消退。
跨域证据:
- 行为经济学:Kahneman & Tversky 的前景理论表明人在收益域厌恶风险但在损失域追求风险(来源:Kahneman, Thinking Fast and Slow, 2011)
- 投资决策:行为金融学发现基金经理在持有时(当下视角)高估成功概率,但在回顾评估时(事后视角)更准确(来源:Barberis & Thaler, A Survey of Behavioral Finance, 2003)
应用方式:用"为什么死了"代替"什么会出错",前者迫使站在未来视角回答。
局限:虚构未来失败的场景可能引发过度悲观,需要平衡。
原理 4: 失败可视化触发预防行动
一句话定义:当你具体想象失败的画面时,你会自动产生"怎么预防它发生"的冲动。
跨域证据:
- 航空安全:NASA 和航空业广泛使用 Failure Mode and Effects Analysis (FMEA) 将想象到的失效模式转化为预防措施(来源:NASA, FMEA Handbook, 2008)
- 医疗安全:手术安全清单来自对手术失败场景的系统性想象(来源:Gawande, The Checklist Manifesto, 2009)
应用方式:不是列一堆模糊的"风险",每个风险要具体到触发场景:"如果______发生,项目会死。"
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.
- 1mo ago First seen · 176 lines · 85 tokens per session scan A 4fd0df0001b9
premortem-skill is a skill published in the GitHub repository peterfei/forge-skill (15 stars, last pushed 3mo ago), licensed MIT. It adds 85 tokens to every session and 2,844 once invoked, about $0.0003 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.
Other skills, from other repositories
opencli-usage
Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.
crit-story
Author a crit story and continue the interactive review loop only when the user explicitly invokes crit-story or directly asks you to generate a crit story. Do not infer this skill from generic review, PR, or diff-review requests.
mnemon
Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.
mnemon
Persistent memory for MiniMax Code. Recall durable context, store important facts and decisions, and link related memories with the mnemon CLI.
tokf-filter
This skill should be used when the user asks to "create a filter", "write a tokf filter", "add a filter for ", "how do I filter output", or needs guidance on tokf filter step types, templates, pipes, or placement conventions.
antv-x6-editor
A skill for creating and troubleshooting interactive diagrams with AntV X6, a JavaScript engine for editors made of connected nodes and lines. It supports diagram types such as flowcharts, dependency graphs, entity-relationship diagrams, and organization charts.