decision-treesDecision 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.
Install via ClawdBot CLI:
clawdbot install evgyur/decision-treesDecision tree analysis: a visual tool for making decisions with probabilities and expected value.
โ Good for:
โ Not suitable for:
Decision tree = tree-like structure where:
Process:
EV = ฮฃ (probability_i ร value_i)
Example:
Decision: Go to party or stay home?
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)
Decision: Launch new product?
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).
Decision: Enter position or wait?
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).
โ ๏ธ Critical points:
But: The method is valuable for structuring thinking, even if numbers are approximate.
Ask:
Help estimate through:
Draw tree in markdown:
Decision
โโ Option A
โ โโ Outcome A1 (X%) โ Value Y
โ โโ Outcome A2 (Z%) โ Value W
โโ Option B
โโ Outcome B1 (100%) โ Value V
For each option:
EV_A = (X% ร Y) + (Z% ร W)
EV_B = V
Option with highest EV = best choice (rationally).
But add context:
Position Sizing:
Entry Timing:
Product Launch:
Hiring Decision:
Career Change:
Real Estate:
Capacity Planning:
Vendor Selection:
Use scripts/decision_tree.py for automated EV calculations:
python3 scripts/decision_tree.py --interactive
Or via JSON:
python3 scripts/decision_tree.py --json tree.json
JSON format:
{
"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)
Before giving recommendation, ensure:
โ 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
โ 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
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.
Generated Mar 1, 2026
A company evaluates whether to launch a new product by estimating probabilities of success and failure, along with associated profits and losses. This helps in making a data-driven go/no-go decision based on expected value calculations.
An investor assesses different position sizes for a trade, considering probabilities of price movements and potential profits or losses. This optimizes capital allocation to maximize expected returns while managing risk.
An individual compares options like staying in a current job, switching to a new role, or starting a business. Outcomes include salary changes and job satisfaction, with probabilities based on market trends and personal skills.
A business decides on expanding operations by evaluating options such as opening a new location or outsourcing. It considers costs, revenue projections, and success probabilities to choose the most profitable path.
A homebuyer compares buying different properties versus continuing to rent, factoring in probabilities of price appreciation, maintenance costs, and lifestyle changes to determine the best financial and personal outcome.
Offer a cloud-based decision tree tool with tiered pricing for individuals, teams, and enterprises. Include features like collaborative tree building, data import, and automated EV calculations to attract recurring revenue.
Provide expert consulting to businesses for complex decision-making processes, such as product launches or strategic planning. Use the skill to structure analyses and deliver actionable recommendations based on expected value.
Develop online courses, workshops, or certifications teaching decision tree analysis. Target professionals in business, finance, and operations, offering practical examples and interactive tools to enhance learning.
๐ฌ Integration Tip
Integrate with data sources like spreadsheets or CRM systems to pull historical data for probability estimation, and use visualization libraries to generate interactive decision trees for better user engagement.
Extract text from PDFs with OCR support. Perfect for digitizing documents, processing invoices, or analyzing content. Zero dependencies required.
Fast local PDF parsing with PyMuPDF (fitz) for Markdown/JSON outputs and optional images/tables. Use when speed matters more than robustness, or as a fallback while heavier parsers are unavailable. Default to single-PDF parsing with per-document output folders.
Find, evaluate, and recommend ClawHub skills by need with quality filtering and preference learning.
Fetch full tweets, long tweets, quoted tweets, and X Articles from X/Twitter without login or API keys, using no dependencies and zero configuration.
Skill ๆฅๆพๅจ | Skill Finder. ๅธฎๅฉๅ็ฐๅๅฎ่ฃ ClawHub Skills | Discover and install ClawHub Skills. ๅ็ญ'ๆไปไนๆ่ฝๅฏไปฅX'ใ'ๆพไธไธชๆ่ฝ' | Answers 'what skill can X', 'find a skill'. ่งฆๅ...
Generate QR codes from text or URL for mobile scanning.