Token导航 LogoToken导航

Agent Skill · 运维和基础设施

forecast-premortem(预测事前分析)

forecast-premortem 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

forecast-premortem 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证为 MIT,暂无第三方扫描结果,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 1,310。

总安装 672周安装 28GitHub Stars 175下载 224核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:forecast-premortem(预测事前分析)
来源仓库:https://github.com/nicepkg/ai-workflow
仓库路径:skills/forecast-premortem
安装命令:
npx skills add https://github.com/nicepkg/ai-workflow --skill forecast-premortem
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/nicepkg/ai-workflow --skill forecast-premortem

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

forecast-premortem 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态进行整理时使用。适用于监控代码变更、跟踪 Issue 进展或分析协作流程,提升开发效率。

通过 GitHub API 交互,Agent 可自动提取关键信息并生成结构化报告。安装前需确认权限范围和维护状态,注意是否涉及联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/forecast-premortem

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nicepkg/ai-workflow --skill forecast-premortem;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

forecast-premortem 怎么安装?

在终端执行 npx skills add https://github.com/nicepkg/ai-workflow --skill forecast-premortem。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

forecast-premortem 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

forecast-premortem 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

forecast-premortem 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

forecast-premortem 用的人多吗?

公开数据是累计安装 672 次,近一周安装 28 次,下载 224 次,GitHub 175 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

forecast-premortem 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
forecast-premortem

预测事前分析 · 本页

672175权限未标注MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Forecast Pre-Mortem

Table of Contents


What is a Forecast Pre-Mortem?

A forecast pre-mortem is a stress-testing technique where you assume your prediction has already failed and work backward to construct the history of how it failed. This reveals blind spots, tail risks, and overconfidence.

Core Principle: Invert the problem. Don't ask "Will this succeed?" Ask "It has failed - why?"

Why It Matters:

  • Defeats overconfidence by forcing you to imagine failure
  • Identifies specific failure modes you hadn't considered
  • Transforms vague doubt into concrete risk variables
  • Widens confidence intervals appropriately
  • Surfaces "unknown unknowns"

Origin: Gary Klein's "premortem" technique, adapted for probabilistic forecasting


When to Use This Skill

Use this skill when:

  • High confidence (>80% or <20%) - Most likely to be overconfident
  • Feeling certain - Certainty is a red flag in forecasting
  • Prediction is important - Stakes are high, need robustness
  • After inside view analysis - Used specific details, might have missed big picture
  • Before finalizing forecast - Last check before committing

Do NOT use when:

  • Confidence already low (~50%) - You're already uncertain
  • Trivial low-stakes prediction - Not worth the time
  • Pure base rate forecasting - Premortem is for inside view adjustments

Interactive Menu

What would you like to do?

Core Workflows

1. Run a Failure Premortem - Assume prediction failed, explain why 2. Run a Success Premortem - For pessimistic predictions (<20%) 3. Dragonfly Eye Perspective - View failure through multiple lenses 4. Identify Tail Risks - Find black swans and unknown unknowns 5. Adjust Confidence Intervals - Quantify the adjustment 6. Learn the Framework - Deep dive into methodology 7. Exit - Return to main forecasting workflow


1. Run a Failure Premortem

Let's stress-test your prediction by imagining it has failed.

Failure Premortem Progress:
- [ ] Step 1: State the prediction and current confidence
- [ ] Step 2: Time travel to failure
- [ ] Step 3: Write the history of failure
- [ ] Step 4: Identify concrete failure modes
- [ ] Step 5: Assess plausibility and adjust

Step 1: State the prediction and current confidence

Tell me:

  1. What are you predicting?
  2. What's your current probability?
  3. What's your confidence interval?

Example: "This startup will reach $10M ARR within 2 years" - Probability: 75%, CI: 60-85%

Step 2: Time travel to failure

The Crystal Ball Exercise:

Jump forward to the resolution date. It is now [resolution date]. The event did NOT happen. This is a certainty. Do not argue with it.

How does it feel? Surprising? Expected? Shocking? This emotional response tells you about your true confidence.

Step 3: Write the history of failure

Backcasting Narrative: Starting from the failure point, work backward in time. Write the story of how we got here.

Prompts:

  • "The headlines that led to this were..."
  • "The first sign of trouble was when..."
  • "In retrospect, we should have known because..."
  • "The critical mistake was..."

Frameworks to consider:

  • Internal friction: Team burned out, co-founders fought, execution failed
  • External shocks: Regulation changed, competitor launched, market shifted
  • Structural flaws: Unit economics didn't work, market too small, tech didn't scale
  • Black swans: Pandemic, war, financial crisis, unexpected disruption

See Failure Mode Taxonomy for comprehensive categories.

Step 4: Identify concrete failure modes

Extract specific, actionable failure causes from your narrative.

For each failure mode: (1) What happened, (2) Why it caused failure, (3) How likely it is, (4) Early warning signals

Example:

Failure ModeMechanismLikelihoodWarning Signals
Key engineer quitLost technical leadership, delayed product15%Declining code commits, complaints
Competitor launched free tierDestroyed unit economics20%Hiring spree, beta leaks
Regulation passedMade business model illegal5%Proposed legislation, lobbying

Step 5: Assess plausibility and adjust

The Plausibility Test:

Ask yourself:

  • How easy was it to write the failure narrative?

- Very easy → Drop confidence by 15-30% - Very hard, felt absurd → Confidence was appropriate

  • How many plausible failure modes did you identify?

- 5+ modes each >5% likely → Too much uncertainty for high confidence - 1-2 modes, low likelihood → Confidence can stay high

  • Did you discover any "unknown unknowns"?

- Yes, multiple → Widen confidence intervals by 20% - No, all known risks → Confidence appropriate

Quantitative Method: Sum the probabilities of failure modes:

P(failure) = P(mode_1) + P(mode_2) + ... + P(mode_n)

If this sum is greater than 1 - your_current_probability, your probability is too high.

Example: Current success: 75% (implied failure: 25%), Sum of failure modes: 40% Conclusion: Underestimating failure risk by 15%, Adjusted: 60% success

Next: Return to menu or document findings


2. Run a Success Premortem

For pessimistic predictions - assume the unlikely success happened.

Success Premortem Progress:
- [ ] Step 1: State pessimistic prediction (<20%)
- [ ] Step 2: Time travel to success
- [ ] Step 3: Write the history of success
- [ ] Step 4: Identify how you could be wrong
- [ ] Step 5: Assess and adjust upward if needed

Step 1: State pessimistic prediction

Tell me: (1) What low-probability event are you predicting? (2) Why is your confidence so low?

Example: "Fusion energy will be commercialized by 2030" - Probability: 10%, Reasoning: Technical challenges too great

Step 2: Time travel to success

It is now 2030. Fusion energy is commercially available. This happened. It's real. How?

Step 3: Write the history of success

Backcasting the unlikely: What had to happen for this to occur?

  • "The breakthrough came when..."
  • "We were wrong about [assumption] because..."
  • "The key enabler was..."
  • "In retrospect, we underestimated..."

Step 4: Identify how you could be wrong

Challenge your pessimism:

  • Are you anchoring too heavily on current constraints?
  • Are you underestimating exponential progress?
  • Are you ignoring parallel approaches?
  • Are you biased by past failures?

Step 5: Assess and adjust upward if needed

If success narrative was surprisingly plausible, increase probability.

Next: Return to menu


3. Dragonfly Eye Perspective

View the failure through multiple conflicting perspectives.

The dragonfly has compound eyes that see from many angles simultaneously. We simulate this by adopting radically different viewpoints.

Dragonfly Eye Progress:
- [ ] Step 1: The Skeptic (why this will definitely fail)
- [ ] Step 2: The Fanatic (why failure is impossible)
- [ ] Step 3: The Disinterested Observer (neutral analysis)
- [ ] Step 4: Synthesize perspectives
- [ ] Step 5: Extract robust failure modes

Step 1: The Skeptic

Channel the harshest critic. You are a short-seller, a competitor, a pessimist. Why will this DEFINITELY fail?

Be extreme: Assume worst case, highlight every flaw, no charity, no benefit of doubt

Output: List of failure reasons from skeptical view

Step 2: The Fanatic

Channel the strongest believer. You are the founder's mother, a zealot, an optimist. Why is failure IMPOSSIBLE?

Be extreme: Assume best case, highlight every strength, maximum charity and optimism

Output: List of success reasons from optimistic view

Step 3: The Disinterested Observer

Channel a neutral analyst. You have no stake in the outcome. You're running a simulation, analyzing data dispassionately.

Be analytical: No emotional investment, pure statistical reasoning, reference class thinking

Output: Balanced probability estimate with reasoning

Step 4: Synthesize perspectives

Find the overlap: Which failure modes appeared in ALL THREE perspectives?

  • Skeptic mentioned it
  • Even fanatic couldn't dismiss it
  • Observer identified it statistically

These are your robust failure modes - the ones most likely to actually happen.

Step 5: Extract robust failure modes

The synthesis:

Failure ModeSkepticFanaticObserverRobust?
Market too smallDefinitelyDebatableBase rate suggests yesYES
Execution riskDefinitelyNo way50/50Maybe
Tech won't scaleDefinitelyAlready solvedUnknownInvestigate

Focus adjustment on the robust failures that survived all perspectives.

Next: Return to menu


4. Identify Tail Risks

Find the black swans and unknown unknowns.

Tail Risk Identification Progress:
- [ ] Step 1: Define what counts as "tail risk"
- [ ] Step 2: Systematic enumeration
- [ ] Step 3: Impact × Probability matrix
- [ ] Step 4: Set kill criteria
- [ ] Step 5: Monitor signposts

Step 1: Define what counts as "tail risk"

Criteria: Low probability (<5%), High impact (would completely change outcome), Outside normal planning, Often exogenous shocks

Examples: Pandemic, war, financial crisis, regulatory ban, key person death, natural disaster, technological disruption

Step 2: Systematic enumeration

Use the PESTLE framework for comprehensive coverage:

  • Political: Elections, coups, policy changes, geopolitical shifts
  • Economic: Recession, inflation, currency crisis, market crash
  • Social: Cultural shifts, demographic changes, social movements
  • Technological: Breakthrough inventions, disruptions, cyber attacks
  • Legal: New regulations, lawsuits, IP challenges, compliance changes
  • Environmental: Climate events, pandemics, natural disasters

For each category, ask: "What low-probability event would kill this prediction?"

See Failure Mode Taxonomy for detailed categories.

Step 3: Impact × Probability matrix

Plot your tail risks:

High Impact
│
│  [Pandemic]        [Key Founder Dies]
│
│
│  [Recession]       [Competitor Emerges]
│
└─────────────────────────────────────→ Probability
  Low                              High

Focus on: High impact, even if very low probability

Step 4: Set kill criteria

For each major tail risk, define the "kill criterion":

Format: "If [event X] happens, probability drops to [Y]%"

Examples:

  • "If FDA rejects our drug, probability drops to 5%"
  • "If key engineer quits, probability drops to 30%"
  • "If competitor launches free tier, probability drops to 20%"
  • "If regulation passes, probability drops to 0%"

Why this matters: You now have clear indicators to watch

Step 5: Monitor signposts

For each kill criterion, identify early warning signals:

Kill CriterionWarning SignalsCheck Frequency
FDA rejectionPhase 2 trial results, FDA feedbackMonthly
Engineer quitCode velocity, satisfaction surveysWeekly
Competitor launchHiring spree, beta leaks, patentsMonthly
RegulationProposed bills, lobbying, hearingsQuarterly

Setup monitoring: Calendar reminders, news alerts, automated tracking

Next: Return to menu


5. Adjust Confidence Intervals

Quantify how much the premortem should change your bounds.

Confidence Interval Adjustment Progress:
- [ ] Step 1: State current CI
- [ ] Step 2: Evaluate premortem findings
- [ ] Step 3: Calculate width adjustment
- [ ] Step 4: Set new bounds
- [ ] Step 5: Document reasoning

Step 1: State current CI

Current confidence interval: Lower bound: __%, Upper bound: __%, Width: ___ percentage points

Step 2: Evaluate premortem findings

Score your premortem on these dimensions (1-5 each):

  1. Narrative plausibility - 1 = Failure felt absurd, 5 = Failure felt inevitable
  2. Number of failure modes - 1 = Only 1-2 unlikely modes, 5 = 5+ plausible modes
  3. Unknown unknowns discovered - 1 = No surprises, all known, 5 = Many blind spots revealed
  4. Dragonfly synthesis - 1 = Perspectives diverged completely, 5 = All agreed on failure modes

Total score: __ / 20

Step 3: Calculate width adjustment

Adjustment formula:

Width multiplier = 1 + (Score / 20)

Examples:

  • Score = 4/20 → Multiplier = 1.2 → Widen CI by 20%
  • Score = 10/20 → Multiplier = 1.5 → Widen CI by 50%
  • Score = 16/20 → Multiplier = 1.8 → Widen CI by 80%

Current width: ___ points, Adjusted width: Current × Multiplier = ___ points

Step 4: Set new bounds

Method: Symmetric widening around current estimate

New lower = Current estimate - (Adjusted width / 2)
New upper = Current estimate + (Adjusted width / 2)

Example: Current: 70%, CI: 60-80% (width = 20), Score: 12/20, Multiplier: 1.6, New width: 32, New CI: 54-86%

Step 5: Document reasoning

Record: (1) What failure modes drove the adjustment, (2) Which perspective was most revealing, (3) What unknown unknowns were discovered, (4) What monitoring you'll do going forward

Next: Return to menu


6. Learn the Framework

Deep dive into the methodology.

Resource Files

📄 Premortem Principles - Why humans are overconfident, hindsight bias and outcome bias, the power of inversion, research on premortem effectiveness

📄 Backcasting Method - Structured backcasting process, temporal reasoning techniques, causal chain construction, narrative vs quantitative backcasting

📄 Failure Mode Taxonomy - Comprehensive failure categories, internal vs external failures, preventable vs unpreventable, PESTLE framework for tail risks, kill criteria templates

Next: Return to menu


Quick Reference

The Premortem Commandments

  1. Assume failure is certain - Don't debate whether, debate why
  2. Be specific - Vague risks don't help; concrete mechanisms do
  3. Use multiple perspectives - Skeptic, fanatic, observer
  4. Quantify failure modes - Estimate probability of each
  5. Set kill criteria - Know what would change your mind
  6. Monitor signposts - Track early warning signals
  7. Widen CIs - If premortem was too easy, you're overconfident

One-Sentence Summary

Assume your prediction has failed, write the history of how, and use that to identify blind spots and adjust confidence.

Integration with Other Skills

  • Before: Use after inside view analysis (you need something to stress-test)
  • After: Use scout-mindset-bias-check to validate adjustments
  • Companion: Works with bayesian-reasoning-calibration for quantitative updates
  • Feeds into: Monitoring systems and adaptive forecasting

Resource Files

📁 resources/


Ready to start? Choose a number from the menu above.

平台分布

OpenCode

31.25%
按下载量换算70

Cursor

24.3%
按下载量换算54

Claude Code

16.69%
按下载量换算37

github-copilot

12.63%
按下载量换算28

Gemini CLI

7.22%
按下载量换算16

cline

3.41%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills