evgyur

Decision Trees

Business Opsv1.0.1
By evgyurUpdated 2026-05-112 versions · latest released 2026-01-28decision-trees@clawhub_evgyur/decision-trees
Growth AnalyticsProject ManagementSOP Generation#Investment#Business#Personal

According to AlphaMoat, as of 2026-10, Decision Trees has 8,941 downloads and 17 stars — ranked by downloads #3,104 among 10,914 AI skills in this ranking, and #254 of 873 in Business Ops.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
8.9K
Stars
17
Overall download rank
#3,104
Top 29% overall · Top 30% in Business Ops
PlatformDownloadsStarsComments
ClawHub ↗5.3K13-
SkillHub ↗8.9K17—

Platforms count differently and update at different times.

What this skill does

It maps decision nodes, chance nodes and outcome nodes into a tree, asking first for options and possible outcomes, then for probability and payoff estimates, and finally picks the branch with the highest expected value. It suits investments, hiring or launches where consequences can be quantified, and is not meant for true black-swan uncertainty, fast tactical calls or purely emotional and ethical questions.

Profile published 2026-10-27

What you can do with it

  • Compare the expected return of two investment options
  • Lay out risks and rewards for a hiring or launch decision

When to use it

  • When options are many, outcomes uncertain and the maths should be laid out
  • When an intuitive call needs a reviewable structure

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Compare building in house versus buying with a decision tree
Should this team add a head, work out the expected value

Monthly Trend

Downloads8.9K
4.3K6.8K9.3K2026-03 · Downloads 4.7K2026-05 · Downloads 5.2K2026-06 · Downloads 5.4K2026-07 · Downloads 5.0K2026-08 · Downloads 5.7K2026-09 · Downloads 6.3K2026-10 · Downloads 8.9K26-0326-0926-10
Stars17
1315172026-03 · Stars 132026-05 · Stars 162026-06 · Stars 162026-07 · Stars 132026-08 · Stars 172026-09 · Stars 172026-10 · Stars 1726-0326-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-108.9K—17
2026-096.3K—17
2026-085.7K+14.2%17
2026-075.0K-7.9%13
2026-065.4K+2.7%16
2026-055.2K—16
2026-034.7K—13

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

8.8 KB · ClawHub v1.0.1
---
name: decision-trees
description: 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.
---

# Decision Trees — Structured Decision-Making

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

## When to Use
Show all (345 lines)

✅ **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 (always)
```

**Conclusion:** Go and take jacket (EV = 8.4) > stay home (EV = 3.0) > go without jacket (EV = 2.0)

## Business Example

**Decision:** Launch new product?

### Estimates:
- Success probability: 40%
- Failure probability: 60%
- Profit if success: $500K
- Loss if failure: $200K
- Don't launch: $0

### Tree:

```
Launch product
├─ Success (40%) → +$500K
└─ Failure (60%) → -$200K

EV = (0.4 × 500K) + (0.6 × -200K) = 200K - 120K = +$80K

Don't launch
└─ EV = $0
```

**Conclusion:** Launch (EV = +$80K) is better than not launching ($0).

## Trading Example

**Decision:** Enter position or wait?

### Estimates:
- Probability of rise: 60%
- Probability of fall: 40%
- Position size: $1000
- Target: +10% ($100 profit)
- Stop-loss: -5% ($50 loss)

### Tree:

```
Enter position
├─ Rise (60%) → +$100
└─ Fall (40%) → -$50

EV = (0.6 × 100) + (0.4 × -50) = 60 - 20 = +$40

Wait
└─ No position → $0

EV = $0
```

**Conclusion:** Entering position has positive EV (+$40), better than waiting ($0).

## Method Limitations

⚠️ **Critical points:**

1. **Subjective estimates** — probabilities often "finger in the air"
2. **Doesn't account for risk appetite** — ignores psychology (loss aversion)
3. **Simplified model** — reality is more complex
4. **Unstable** — small data changes can drastically alter the tree
5. **May be inaccurate** — other methods exist that are more precise (random forests)

**But:** The method is valuable for **structuring thinking**, even if numbers are approximate.

## User Workflow

### 1. Structuring

Ask:
- What are the action options?
- What are possible outcomes?
- What are values/utility for each outcome?
- How do we measure value? (money, utility units, happiness points)

### 2. Probability Estimation

Help estimate through:
- Historical data (if available)
- Comparable situations
- Expert judgment (user experience)
- Subjective assessment (if no data)

### 3. Visualization

Draw tree in markdown:

```
Decision
├─ Option A
│  ├─ Outcome A1 (X%) → Value Y
│  └─ Outcome A2 (Z%) → Value W
└─ Option B
   └─ Outcome B1 (100%) → Value V
```

### 4. EV Calculation

For each option:
```
EV_A = (X% × Y) + (Z% × W)
EV_B = V
```

### 5. Recommendation

Option with highest EV = best choice (rationally).

**But add context:**
- Risk tolerance (can user handle worst case)
- Time horizon (when is result needed)
- Other factors (reputational risk, emotions, ethics)

## Application Examples by Domain

### Trading & Investing

**Position Sizing:**
- Options: 5%, 10%, 20% of capital
- Outcomes: Profit/loss with different probabilities
- Value: Absolute profit in $

**Entry Timing:**
- Options: Enter now, wait for -5%, wait for -10%
- Outcomes: Price goes up/down
- Value: Opportunity cost vs better entry price

### Business Strategy

**Product Launch:**
- Options: Launch / don't launch
- Outcomes: Success / failure
- Value: Revenue, market share, costs

**Hiring Decision:**
- Options: Hire candidate A / candidate B / don't hire
- Outcomes: Successful onboarding / quit after X months
- Value: Productivity, costs, opportunity cost

### Personal Decisions

**Career Change:**
- Options: Stay / change job / start business
- Outcomes: Success / failure in new role
- Value: Salary, satisfaction, growth, risk

**Real Estate:**
- Options: Buy house A / house B / continue renting
- Outcomes: Price increase / decrease / personal situation changes
- Value: Net worth, monthly costs, quality of life

### Operations

**Capacity Planning:**
- Options: Expand production / outsource / status quo
- Outcomes: Demand increases / decreases
- Value: Profit, utilization, fixed costs

**Vendor Selection:**
- Options: Vendor A / Vendor B / in-house
- Outcomes: Quality, reliability, failures
- Value: Total cost of ownership

## Calculator Script

Use `scripts/decision_tree.py` for automated EV calculations:

```bash
python3 scripts/decision_tree.py --interactive
```

Or via JSON:

```bash
python3 scripts/decision_tree.py --json tree.json
```

JSON format:

```json
{
  "decision": "Launch product?",
  "options": [
    {
      "name": "Launch",
      "outcomes": [
        {"name": "Success", "probability": 0.4, "value": 500000},
        {"name": "Failure", "probability": 0.6, "value": -200000}
      ]
    },
    {
      "name": "Don't launch",
      "outcomes": [
        {"name": "Status quo", "probability": 1.0, "value": 0}
      ]
    }
  ]
}
```

Output:

```
📊 Decision Tree Analysis

Decision: Launch product?

Option 1: Launch
  └─ EV = $80,000.00
     ├─ Success (40.0%) → +$500,000.00
     └─ Failure (60.0%) → -$200,000.00

Option 2: Don't launch
  └─ EV = $0.00
     └─ Status quo (100.0%) → $0.00

✅ Recommendation: Launch (EV: $80,000.00)
```

## Final Checklist

Before giving recommendation, ensure:

- ✅ All options covered
- ✅ Probabilities sum to 100% for each branch
- ✅ Values are realistic (not fantasies)
- ✅ Worst case scenario is clear to user
- ✅ Risk/reward ratio is explicit
- ✅ Method limitations mentioned
- ✅ Qualitative context added (not just EV)

## Method Advantages

✅ **Simple** — people understand trees intuitively
✅ **Visual** — clear structure
✅ **Works with little data** — can use expert estimates
✅ **White box** — transparent logic
✅ **Worst/best case** — extreme scenarios visible
✅ **Multiple decision-makers** — can account for different interests

## Method Disadvantages

❌ **Unstable** — small data changes → large tree changes
❌ **Inaccurate** — often more precise methods exist
❌ **Subjective** — probability estimates "from the head"
❌ **Complex** — becomes unwieldy with many outcomes
❌ **Doesn't account for risk preference** — assumes risk neutrality

## Important

The method is valuable for **structuring thinking**, but numbers are often taken from thin air.

What matters more is the process — **forcing yourself to think through all branches** and explicitly evaluate consequences.

Don't sell the decision as "scientifically proven" — it's just a framework for conscious choice.

## Further Reading

- Decision trees in operations research
- Influence diagrams (more compact for complex decisions)
- Utility functions (accounting for risk aversion)
- Monte Carlo simulation (for greater accuracy)
- Real options analysis (for strategic decisions)

Popular in Business Ops

标书写作专家【百炼标书】Business Ops

百炼®标书是一个面向投标场景标书写作的skill,可以帮用户完成四件事:解读招标文件、生成投标文件、审查投标文件合规风险以及标书查重。它适合用自然语言直接写作,用户只要提供文件和需求,就能拿到解读结果、成品标书、审查报告、查重报告。百炼®标书官网:https://biaoshu.zhiliaobiaoxun.com

↓ 706.8K★ 61u_62be253f
AdMapix广告投放工具Business Ops

AdMapix广告原始数据层,广告创意/应用/排名/下载收入

↓ 308.7K★ 1u_8ee34d77
全国招标中标查询及分析【知了标讯】Business Ops

知了标讯: Searches and analyzes tender, award, supplier, and procurement-market information.

↓ 213.7K★ 14user_98035bfb
招标中标查询及分析服务Business Ops

Search and analyze tender and award information through the Zhiliaobiaoxun API.

↓ 121.5K★ 16user_98035bfb
标书审查【喜鹊标书】Business Ops

喜鹊标书审查|让投标风险看得见、查得清、改得准 投标文件准备好了,还有哪些遗漏和隐患?喜鹊标书审查对照招标要求,检查投标文件中的响应缺漏、内容矛盾和潜在风险,帮助您在提交前发现问题、明确修改重点。 - 问题一目了然:区分已确认风险与待核实事项,清晰呈现问题位置、具体表现及潜在影响。 - 审查有据可查:关联招标条款与投标内容,让您看清“要求是什么、哪里存在问题、判断依据是什么”。 - 原文快速定位:结合页码、检索线索和证据截图,减少来回翻找,方便逐项核对。 - 完整报告可交付:提供 Word 审查报告及审查版 PDF,便于团队复核、修改和留档。 支持 PDF、DOCX 及多附件审查。先检查文件,再展示价格并按次付费;支持随时查询进度、继续已付款任务和补领报告,让每一次审查都有清晰结果。 https://www.xiquebiaoshu.com/?source=skillhub](https://www.xiquebiaoshu.com/?source=bid-review-pay

↓ 104.8K★ 1u_84923c62
PollyReachBusiness Ops

A skill that gives an AI agent a phone number and runs phone tasks for it.

↓ 102.2K★ 56PollyReach
商品图Business Ops

将真实产品照片制作成影棚级电商主图、场景图或面向市场平台的高清商品图。这款 AI 商品图工作室用于商品图片处理和电商图片编辑,可替换背景、改善光效、搭建场景。它以原图中的商品外观特征为依据,从一张手机随拍就能做出白底主图、生活场景图和高级广告图。适用于亚马逊白底产品图、淘宝主图、Shopify 产品大图和社交媒体商品图。从一张产品照片出发,组合多张参考图,或在选定草稿上做定向精修,完成适合上架使用的成品;生活场景图和广告图也能直接用作商品详情页图片。

↓ 102.1K★ 10user_87b8e34f
会员体系搭建Business Ops

【零一数科·出品】会员体系搭建(免费版)。为私域用户设计会员体系搭建,产出会员等级成长表、积分获取消耗规则表、权益配置矩阵、积分财务测算表四件套。适用于会员积分体系设计、会员等级阶梯、成长值规则、权益配置、积分获取与消耗、积分财务测算、私域会员运营。

↓ 97.5K★ 8u_c19e970c

More from evgyur

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.