evgyur

Decision Trees

商业运营v1.0.1
作者:evgyur更新于 2026-05-11共 2 个版本 · 最新版本发布于 2026-01-28decision-trees@clawhub_evgyur/decision-trees
增长分析项目管理SOP 生成#Investment#Business#Personal

据 AlphaMoat 统计,截至 2026-10,Decision Trees 累计下载 8,941 次、获 17 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 3,104 位,在「商业运营」分类(873 个)中排名第 254 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
8,941
星标
17
全站下载量排名
#3,104
全站前 29% · 「商业运营」前 30%
平台累计下载星标评论
ClawHub ↗5,31113-
SkillHub ↗8,94117—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

把决策节点、机会节点与结果节点画成树,先列出选项与可能结果,再估概率和收益,最后算期望值择优。适合投资、招聘、产品上线这类后果可量化的问题,不适合黑天鹅式真不确定、需要快速拍板的战术选择或纯情绪伦理问题。

资料发布于 2026-10-27

可以用来做什么

  • 比较两个投资方案的期望收益
  • 给招聘或上线决策列出风险与回报

什么时候用

  • 选项多、结果不确定、需要摆开算时
  • 想把直觉判断换成可复核的结构时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

帮我用决策树比较自建和采购两种方案
这个岗位要不要扩编,算一下期望值

月度数据趋势

累计下载8,941
4,3096,7979,2842026-03 · 累计下载 4,6522026-05 · 累计下载 5,2402026-06 · 累计下载 5,3812026-07 · 累计下载 4,9542026-08 · 累计下载 5,6572026-09 · 累计下载 6,2922026-10 · 累计下载 8,94126-0326-0926-10
星标17
1315172026-03 · 星标 132026-05 · 星标 162026-06 · 星标 162026-07 · 星标 132026-08 · 星标 172026-09 · 星标 172026-10 · 星标 1726-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-108,941—17
2026-096,292—17
2026-085,657+14.2%17
2026-074,954-7.9%13
2026-065,381+2.7%16
2026-055,240—16
2026-034,652—13

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 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
展开全部(共 345 行)

✅ **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)

「商业运营」分类下的热门技能

标书写作专家【百炼标书】商业运营

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

↓ 70.7万★ 61u_62be253f
AdMapix广告投放工具商业运营

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

↓ 30.9万★ 1u_8ee34d77
全国招标中标查询及分析【知了标讯】商业运营

知了标讯:查询和分析招标、中标、供应商与采购市场信息。

↓ 21.4万★ 14user_98035bfb
招标中标查询及分析服务商业运营

通过知了标讯接口查询和分析招投标相关信息。

↓ 12.1万★ 16user_98035bfb
标书审查【喜鹊标书】商业运营

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

↓ 10.5万★ 1u_84923c62
PollyReach商业运营

为 AI agent 提供电话号码并代办电话事务的技能。

↓ 10.2万★ 56PollyReach
商品图商业运营

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

↓ 10.2万★ 10user_87b8e34f
会员体系搭建商业运营

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

↓ 9.7万★ 8u_c19e970c

evgyur 的其他技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。