Skip to main content
skill CX Codex

expected-value — Claude Code skill: purpose and installation

The expected-value skill weighs possible gains and losses by their probabilities to compare uncertain choices. Use it to assess a product bet, rank projects, or map a decision tree.

no license 142 installs ★ 203 updated 2026-09-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lyndonkl/claude --skill expected-value -a claude-code
Open on GitHub

What expected-value does

The skill guides an analysis from defining alternatives through listing outcomes, estimating probabilities and payoffs, and calculating expected values. It then helps interpret the result in light of risk preferences and factors such as learning or reputation, which may not translate neatly into money.

Reference materials include templates in resources/template.md, methods in resources/methodology.md, and an evaluation rubric at resources/evaluators/rubric_expected_value.json. Outcomes should be mutually exclusive and cover all possibilities, with probabilities adding up to 1.0. For rare, irreversible choices, a high expected value alone does not settle the decision; risk aversion matters too. The skill also covers decision trees, project portfolio allocation, and continuous outcomes using Monte Carlo.

What it helps with

  • compare risky options by expected value
  • estimate whether a product launch is worth pursuing
  • allocate a budget across projects with different risk profiles
  • map a sequence of choices as a decision tree

Example prompts for the agent

  • Compare launching this feature with not launching it, using my probability and revenue estimates.
  • Help allocate this budget across projects by expected return and risk.
  • Build a decision tree for this plan and compare the options using outcome probabilities.

How to install expected-value

1Skills CLI (Vercel)

npx skills add lyndonkl/claude --skill expected-value -a claude-code

2Manually: put the files in place

~/.claude/skills/expected-value/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/expected-value/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about expected-value

How do I install expected-value in Claude Code?

Run npx skills add lyndonkl/claude --skill expected-value -a claude-code. The skill file is located at ~/.claude/skills/expected-value/SKILL.md.

What does expected-value do?

It estimates the value of each alternative by weighting its possible gains and losses by their probabilities. It also prompts you to account for risk preferences and non-monetary factors.

How should I check the probabilities in an expected-value analysis?

The outcomes should not overlap and should cover every possibility. Their probabilities must add up to 1.0.

Similar skills

SKILL.md skills catalog →

From the same set49

The whole set →
chain-roleplay-debate-synthesis chain-roleplay-debate-synthesis — a skill for Claude Code, Cursor, Codex and other IDEs runs structured debate between roles with competing priorities and synthesizes a unified decision. CX Codex +1 161installs data-schema-knowledge-modeling The data-schema-knowledge-modeling skill builds rigorous models of entities, relationships, and constraints for databases, knowledge graphs, and ontologies. Use it to formalize your data structure before development. CX Codex +1 159installs brainstorm-diverge-converge The brainstorm-diverge-converge skill takes an open-ended question through idea generation, clustering, and evaluation. Use it to explore product directions, research questions, or possible experiments. CX Codex +1 153installs visualization-choice-reporting visualization-choice-reporting — a skill for Claude Code, Codex, Cursor and other platforms that matches chart types to data questions and produces reports with headlines, context and recommended actions. CX Codex +1 148installs deliberation-debate-red-teaming deliberation-debate-red-teaming is a Claude Code skill that tests plans and designs through adversarial viewpoints, uncovering assumptions, operational hazards, and security gaps before launch. CX Codex +1 139installs design-of-experiments design-of-experiments creates structured factorial and Taguchi test designs to evaluate multi-parameter systems. It minimizes test iterations while mapping how variable interactions impact performance. CX Codex +1 139installs career-document-architect career-document-architect — a skill for crafting and refining career documents in academia: research statements, teaching statements, diversity statements, CVs, and biosketches. CX Codex +1 135installs focus-timeboxing-8020 focus-timeboxing-8020 is a Claude Code skill combining the 80/20 rule, timeboxing, and deep work. It helps prioritize tasks and protect time for complex work. CX Codex +1 135installs

Project sponsors

Companies that keep this analytics open