Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

expected-value

БесплатноБез исполняемых скриптовНе проверен

Use when making decisions under uncertainty with quantifiable outcomes, comparing risky options (investments, product bets, strategic choices), prioritizing…

onfire7777от onfire7777★ 17 звёзд на GitHub

Об этом скилле

Expected Value

Table of Contents

Purpose

Expected Value (EV) provides a framework for making rational decisions under uncertainty by calculating the probability-weighted average of all possible outcomes. This skill guides you through identifying scenarios, estimating probabilities and payoffs, computing expected values, and interpreting results while accounting for risk preferences and real-world constraints.

When to Use

Use this skill when:

  • Investment decisions: Should we invest in project A (high risk, high return) or project B (low risk, low return)?
  • Product bets: Launch feature X (uncertain adoption) or focus on feature Y (safer bet)?
  • Resource allocation: Which initiatives have highest expected return given limited budget?
  • Go/no-go decisions: Is expected value of launching positive after accounting for probabilities of success/failure?
  • Pricing & negotiation: What's expected value of accepting vs. rejecting an offer?
  • Insurance & hedging: Should we buy insurance (guaranteed small loss) vs. risk large loss?
  • A/B test interpretation: Which variant has higher expected conversion rate accounting for uncertainty?
  • Portfolio optimization: Diversify to maximize expected return for given risk tolerance?

Trigger phrases: "expected value", "EV calculation", "risk-adjusted return", "probability-weighted outcomes", "decision tree", "should I take this gamble", "compare risky options"

What Is It?

Expected Value (EV) = Σ (Probability of outcome × Value of outcome)

For each possible outcome, multiply its probability by its value (payoff), then sum across all outcomes.

Core formula:

EV = (p₁ × v₁) + (p₂ × v₂) + ... + (pₙ × vₙ)

where:
- p₁, p₂, ..., pₙ are probabilities of each outcome (must sum to 1.0)
- v₁, v₂, ..., vₙ are values (payoffs) of each outcome

Quick example:

Scenario: Launch new product feature. Estimate 60% chance of success ($100k revenue), 40% chance of failure (-$20k sunk cost).

Calculation:

  • EV = (0.6 × $100k) + (0.4 × -$20k)
  • EV = $60k - $8k = $52k

Interpretation: On average, launching this feature yields $52k. Positive EV → launch is rational choice (if risk tolerance allows).

Core benefits:

  • Quantitative comparison: Compare disparate options on same scale (expected return)
  • Explicit uncertainty: Forces estimation of probabilities instead of gut feel
  • Repeatable framework: Same method applies to investments, products, hiring, etc.
  • Risk-adjusted: Weights outcomes by likelihood, not just best/worst case
  • Portfolio thinking: Optimal long-term strategy is maximize expected value over many decisions

Workflow

Copy this checklist and track your progress:

Expected Value Analysis Progress:
- [ ] Step 1: Define decision and alternatives
- [ ] Step 2: Identify possible outcomes
- [ ] Step 3: Estimate probabilities
- [ ] Step 4: Estimate payoffs (values)
- [ ] Step 5: Calculate expected values
- [ ] Step 6: Interpret and adjust for risk preferences

Step 1: Define decision and alternatives

What decision are you making? What are the mutually exclusive options? See resources/template.md.

Step 2: Identify possible outcomes

For each alternative, what could happen? List scenarios from best case to worst case. See resources/template.md.

Step 3: Estimate probabilities

What's the probability of each outcome? Use base rates, reference classes, expert judgment, data. See resources/methodology.md.

Step 4: Estimate payoffs (values)

What's the value (gain or loss) of each outcome? Quantify in dollars, time, utility. See resources/methodology.md.

Step 5: Calculate expected values

Multiply probabilities by payoffs, sum across outcomes for each alternative. See resources/template.md.

Step 6: Interpret and adjust for risk preferences

Choose option with highest EV? Or adjust for risk aversion, non-monetary factors, strategic value. See resources/methodology.md.

Validate using resources/evaluators/rubric_expected_value.json. Minimum standard: Average score ≥ 3.5.

Common Patterns

Pattern 1: Investment Decision (Discrete Outcomes)

  • Structure: Go/no-go choice with 3-5 discrete scenarios (best, base, worst case)
  • Use case: Product launch, hire vs. not hire, accept investment offer, buy vs. lease
  • Pros: Simple, intuitive, easy to communi
Полный SKILL.md на GitHub

Установить expected-value в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

resources/evaluators/rubric_expected_value.jsonresources/methodology.mdresources/template.md

FAQ

Что делает скилл expected-value?

Use when making decisions under uncertainty with quantifiable outcomes, comparing risky options (investments, product bets, strategic choices), prioritizing projects by expected return, assessing whether to take a gamble, or when user mentions expected value, EV calculation, risk-adjusted return, probability-weighted outcomes, decision tree, or needs to choose between uncertain alternatives.

Как установить скилл expected-value?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл expected-value запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить expected-value с