/skills-for-humanity:s4h-probability-expected-value-calculationfrom skills-for-humanity
Calculates expected value (EV) to compare options under uncertainty, with catastrophic downside check. Useful for risk analysis and decision-making.
Ships in skills-for-humanity. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Expected value is the correct framework for comparing options under uncertainty. It multiplies each outcome's value by its probability and sums across all outcomes, producing a single number that accounts for the full distribution rather than just the most likely case. EV analysis forces explicitness about both probabilities and values — and it exposes asymmetric risk that intuition misses. One important constraint: EV math is overridden when any outcome is catastrophic enough to be unacceptable regardless of probability.
Step 1: Define the Options List the options being compared. Include "do nothing" or "wait" as explicit options — they have EVs too.
Framing check: Confirm the specific decision and its options before continuing. State what you've identified — the actual choice being evaluated, the options in play, and the unit of value — in one sentence, then use AskUserQuestion:
Step 2: List Outcomes for Each Option For each option: what are the possible outcomes? Use scenario-weighting to assign probabilities if this has not already been done. Outcomes must be mutually exclusive and exhaustive per option.
Step 3: Assign Values Assign a value to each outcome in a consistent unit (revenue, cost savings, time, abstract utility). The same unit must apply across all options for comparison to be valid. Negative values for bad outcomes.
Step 4: Calculate EV For each option: EV = sum of (probability × value) across all outcomes. Show the calculation.
Step 5: Compare EVs Identify the highest-EV option. Note whether any option has higher EV but worse downside — this is the asymmetric risk check.
Step 6: Check for Catastrophic Downside Is any outcome bad enough that it would be unacceptable regardless of its probability and regardless of EV? Ruin, existential harm, irreversible loss. If yes: that outcome overrides the EV comparison. Flag it explicitly.
Before proceeding, use the AskUserQuestion tool. State your interpretation of the situation in 1–2 sentences — what is being analyzed and what the core question is — then ask:
Proceed based on their selection. If the user reframes, incorporate the correction before running any analysis.
EV Table
| Option | Outcome | Probability | Value | P × V |
|---|---|---|---|---|
| Option A | Outcome 1 | |||
| Outcome 2 | ||||
| EV | = | |||
| Option B | Outcome 1 | |||
| EV | = |
Recommended Option: [highest EV + rationale]
Catastrophic Downside Flag: [Y/N — if yes: which outcome, why it overrides EV, revised recommendation]
Asymmetric Risk Note: [if any option has high upside but fat downside tail that EV smooths over]
EV assumes outcomes are fungible and the decision will be made many times — neither is always true. For one-shot decisions with irreversible outcomes, weight catastrophic downside beyond what probability × value captures.
After delivering this output, use AskUserQuestion to offer the next move:
/s4h-decision-criteria-weighting — Use expected values in the decision matrix/s4h-resource-allocation-analysis — Allocate resources proportional to expected value/s4h-decision-premortem-analysis — Stress-test the highest-EV optionWhat SKILL.md sets; muted values are Claude Code's defaults
212 skills in this plugin
/s4hMaster orchestration skill. Takes any situation in plain English, identifies the underlying goal, designs a multi-skill reasoning workflow, and executes it sequentially — feeding each skill's output into the next. Use when you say 'help me think through this', 'I need to figure out what to do', 'where do I start', or any time you want structured thinking applied end-to-end rather than routed to a single tool./s4h-aestheticEntry point for the aesthetic toolkit. Routes to the right aesthetic skill based on your situation. Use when you say 'aesthetic', 'check the design', 'does this feel right', 'is this elegant', 'is this too complex', 'what pattern is this', 'find the simpler version', or want an aesthetic lens applied without knowing which specific tool fits./Generated from the plugin's indexed repository (human-avatar/skills-for-humanity) — no native marketplace selected
npx claudepluginhub p/human-avatar-skills-for-humanityOther plugins' skills for the same job