Command Palette

Search for a command to run...

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

expected-value

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

Calculates probability-weighted averages of all possible outcomes to enable rational decisions under uncertainty. Covers scenario identification, probability…

lyndonklот lyndonkl★ 208 звёзд на GitHub15 установок в других каталогах

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

Expected Value

Table of Contents

Core Formula

EV = Σ (Probability of outcome x Value of outcome)

EV = (p₁ × v₁) + (p₂ × v₂) + ... + (pₙ × vₙ)
where probabilities must sum to 1.0

Example: Launch feature with 60% chance of $100k revenue, 40% chance of -$20k sunk cost. EV = (0.6 x $100k) + (0.4 x -$20k) = $60k - $8k = $52k (positive EV, rational to launch if risk tolerance allows)

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 communicate (decision tree visualization)
  • Cons: Oversimplifies continuous distributions, binary framing may miss nuance
  • Example: Launch product feature (60% success $100k, 40% fail -$20k) → EV = $52k

Pattern 2: Portfolio Allocation (Multiple Options)

  • Structure: Allocate budget across N projects, each with own EV and risk profile
  • Use case: Venture portfolio, R&D budget, marketing spend allocation, team capacity
  • Pros: Diversification reduces variance, can optimize for risk/return tradeoff
  • Cons: Requires estimates for many variables, correlations matter (not independent)
  • Example: Invest in 3 startups ($50k each), EVs = [$20k, $15k, -$10k]. Total EV = $25k. Diversified portfolio reduces risk vs. single $150k bet.

Pattern 3: Sequential Decision (Decision Tree)

  • Structure: Series of decisions over time, outcomes of early decisions affect later options
  • Use case: Clinical trials (Phase I → II → III), staged investment, explore then exploit
  • Pros: Captures optionality (can stop if early results bad), fold-back induction finds optimal strategy
  • Cons: Tree grows exponentially, need probabilities for all branches
  • Example: Phase I drug trial (70% pass, $1M cost) → if pass, Phase II (50% pass, $5M) → if pass, Phase III (40% approve, $50M revenue). Calculate EV working backwards.

Pattern 4: Continuous Distribution (Monte Carlo)

  • Structure: Outcomes are continuous (revenue could be $0-$1M), use probability distributions
  • Use case: Financial modeling, project timelines, resource planning, sensitivity analysis
  • Pros: Captures full uncertainty, avoids discrete scenario bias, provides confidence intervals
  • Cons: Requires distributional assumptions, computationally intensive, harder to communicate
  • Example: Revenue ~ Normal($500k, $100k std dev). Run 10,000 simulations → mean = $510k, 90% CI = [$350k, $670k].

Pattern 5: Competitive Game (Payoff Matrix)

  • Structure: Your outcome depends on competitor's choice, create payoff matrix
  • Use case: Pricing strategy, product launch timing, negotiation, auction bidding
  • Pros: Incorporates strategic interaction, finds Nash equilibrium
  • Cons: Requires estimating competitor's probabilities and payoffs, game-theoretic complexity
  • Example: Price high vs. low, competitor pri
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

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

FAQ

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

Calculates probability-weighted averages of all possible outcomes to enable rational decisions under uncertainty. Covers scenario identification, probability estimation, payoff quantification, and risk-adjusted interpretation. Use when 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, or decision tree.

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

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

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

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

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

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