Search

PythonReactSEOPDF
OpenClaw

decision-trees

Decision tree analysis for complex decision-making across all domains. Use when user needs to evaluate multiple options with uncertain outcomes, assess risk/reward scenarios, or structure choices systematically. Applicable to business, investment, personal decisions, operations, career choices, product strategy, and any situation requiring structured evaluation. Triggers include decision tree, should I, what if, evaluate options, compare alternatives, risk analysis.

evgyur0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install evgyur/decision-trees

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Decision Trees — Structured Decision-Making

Decision tree analysis: a visual tool for making decisions with probabilities and expected value.

When to Use

✅ Good for:

  • Business decisions (investments, hiring, product launches)
  • Personal choices (career, relocation, purchases)
  • Trading & investing (position sizing, entry/exit)
  • Operational decisions (expansion, outsourcing)
  • Any situation with measurable consequences

❌ Not suitable for:

  • Decisions with true uncertainty (black swans)
  • Fast tactical choices
  • Purely emotional/ethical questions

Method

Decision tree = tree-like structure where:

  • Decision nodes (squares) — your actions
  • Chance nodes (circles) — random events
  • End nodes (triangles) — final outcomes

Process:

  1. Define options — all possible actions
  2. Define outcomes — what can happen after each action
  3. Estimate probabilities — how likely is each outcome (0-100%)
  4. Estimate values — utility/reward for each outcome (money, points, utility units)
  5. Calculate EV — expected value = Σ (probability × value)
  6. Choose — option with highest EV

Formula

EV = Σ (probability_i × value_i)

Example:

  • Outcome A: 70% probability, +$100 → 0.7 × 100 = $70
  • Outcome B: 30% probability, -$50 → 0.3 × (-50) = -$15
  • EV = $70 + (-$15) = $55

Classic Example (from Wikipedia)

Decision: Go to party or stay home?

Estimates:
  • Party: +9 utility (fun)
  • Home: +3 utility (comfort)
  • Carrying jacket unnecessarily: -2 utility
  • Being cold: -10 utility
  • Probability cold: 70%
  • Probability warm: 30%
Tree:
Decision
├─ Go to party
│  ├─ Take jacket
│  │  ├─ Cold (70%) → 9 utility (party)
│  │  └─ Warm (30%) → 9 - 2 = 7 utility (carried unnecessarily)
│  │  EV = 0.7 × 9 + 0.3 × 7 = 8.4
│  └─ Don't take jacket
│     ├─ Cold (70%) → 9 - 10 = -1 utility (froze)
│     └─ Warm (30%) → 9 utility (perfect)
│     EV = 0.7 × (-1) + 0.3 × 9 = 2.0
└─ Stay home
   └─ EV = 3.0 (al...

Source information

Source
github
Repository
openclaw/skills
Path
skills/evgyur/decision-trees
Version
—
Commit
742c1cd577568ba2bd0ace727767bd52c1b0544c
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Decision Trees Skill

Decision tree analysis for complex decision-making across all domains.

📊 What It Does

Helps you make structured decisions using decision tree analysis with expected value (EV) calculations. Works for any situation where you need to evaluate multiple options with uncertain outcomes.

✨ Features

  • Universal application: business, investing, personal decisions, operations, career choices
  • Expected value calculation: quantify risk/reward scenarios
  • Visual tree structure: see all options and outcomes clearly
  • Python calculator: automate EV calculations (interactive + JSON)
  • Examples across domains: trading, business strategy, personal life, operations

🎯 Use Cases

Trading & Investing
  • Position sizing (how much capital to allocate)
  • Entry timing (buy now or wait)
  • Exit strategy (take profit or hold)
Business Strategy
  • Product launch decisions
  • Hiring choices
  • Capacity planning
  • Vendor selection
Personal Decisions
  • Career changes
  • Real estate purchases
  • Major life decisions
Operations
  • Outsourcing vs in-house
  • Expansion timing
  • Resource allocation

🚀 How It Works

  1. Define options — all possible actions
  2. Define outcomes — what can happen after each action
  3. Estimate probabilities — how likely is each outcome (0-100%)
  4. Estimate values — utility/reward for each outcome (money, points, utility units)
  5. Calculate EV — expected value = Σ (probability × value)
  6. Choose — option with highest EV (with qualitative context)

📝 Example

Decision: Launch new product?

Options:

  • Launch (40% success → +$500K, 60% failure → -$200K)
  • Don't launch (100% → $0)

Calculation:

Launch EV = (0.4 × $500K) + (0.6 × -$200K) = $80K
Don't launch EV = $0

✅ Recommendation: Launch (EV: $80K)

🛠️ Python Calculator

The skill includes a Python script for automated EV calculations:

Interactive mode:
python3 scripts/decision_tree.py -...

Extracted content

SKILL.md
# Decision Trees — Structured Decision-Making

Decision tree analysis: a visual tool for making decisions with probabilities and expected value.

## When to Use

✅ **Good for:**
- Business decisions (investments, hiring, product launches)
- Personal choices (career, relocation, purchases)
- Trading & investing (position sizing, entry/exit)
- Operational decisions (expansion, outsourcing)
- Any situation with measurable consequences

❌ **Not suitable for:**
- Decisions with true uncertainty (black swans)
- Fast tactical choices
- Purely emotional/ethical questions

## Method

**Decision tree** = tree-like structure where:
- **Decision nodes** (squares) — your actions
- **Chance nodes** (circles) — random events
- **End nodes** (triangles) — final outcomes

**Process:**
1. **Define options** — all possible actions
2. **Define outcomes** — what can happen after each action
3. **Estimate probabilities** — how likely is each outcome (0-100%)
4. **Estimate values** — utility/reward for each outcome (money, points, utility units)
5. **Calculate EV** — expected value = Σ (probability × value)
6. **Choose** — option with highest EV

## Formula

```
EV = Σ (probability_i × value_i)
```

**Example:**
- Outcome A: 70% probability, +$100 → 0.7 × 100 = $70
- Outcome B: 30% probability, -$50 → 0.3 × (-50) = -$15
- **EV = $70 + (-$15) = $55**

## Classic Example (from Wikipedia)

**Decision:** Go to party or stay home?

### Estimates:
- Party: +9 utility (fun)
- Home: +3 utility (comfort)
- Carrying jacket unnecessarily: -2 utility
- Being cold: -10 utility
- Probability cold: 70%
- Probability warm: 30%

### Tree:

```
Decision
├─ Go to party
│  ├─ Take jacket
│  │  ├─ Cold (70%) → 9 utility (party)
│  │  └─ Warm (30%) → 9 - 2 = 7 utility (carried unnecessarily)
│  │  EV = 0.7 × 9 + 0.3 × 7 = 8.4
│  └─ Don't take jacket
│     ├─ Cold (70%) → 9 - 10 = -1 utility (froze)
│     └─ Warm (30%) → 9 utility (perfect)
│     EV = 0.7 × (-1) + 0.3 × 9 = 2.0
└─ Stay home
   └─ EV = 3.0 (al...
README
# Decision Trees Skill

Decision tree analysis for complex decision-making across all domains.

## 📊 What It Does

Helps you make structured decisions using decision tree analysis with expected value (EV) calculations. Works for any situation where you need to evaluate multiple options with uncertain outcomes.

## ✨ Features

- **Universal application**: business, investing, personal decisions, operations, career choices
- **Expected value calculation**: quantify risk/reward scenarios
- **Visual tree structure**: see all options and outcomes clearly
- **Python calculator**: automate EV calculations (interactive + JSON)
- **Examples across domains**: trading, business strategy, personal life, operations

## 🎯 Use Cases

### Trading & Investing
- Position sizing (how much capital to allocate)
- Entry timing (buy now or wait)
- Exit strategy (take profit or hold)

### Business Strategy
- Product launch decisions
- Hiring choices
- Capacity planning
- Vendor selection

### Personal Decisions
- Career changes
- Real estate purchases
- Major life decisions

### Operations
- Outsourcing vs in-house
- Expansion timing
- Resource allocation

## 🚀 How It Works

1. **Define options** — all possible actions
2. **Define outcomes** — what can happen after each action
3. **Estimate probabilities** — how likely is each outcome (0-100%)
4. **Estimate values** — utility/reward for each outcome (money, points, utility units)
5. **Calculate EV** — expected value = Σ (probability × value)
6. **Choose** — option with highest EV (with qualitative context)

## 📝 Example

**Decision:** Launch new product?

**Options:**
- Launch (40% success → +$500K, 60% failure → -$200K)
- Don't launch (100% → $0)

**Calculation:**
```
Launch EV = (0.4 × $500K) + (0.6 × -$200K) = $80K
Don't launch EV = $0

✅ Recommendation: Launch (EV: $80K)
```

## 🛠️ Python Calculator

The skill includes a Python script for automated EV calculations:

### Interactive mode:
```bash
python3 scripts/decision_tree.py -...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.