decision-tree-analyzer

Solid

Decision tree analysis skill with expected value, risk analysis, and utility theory.

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# decision-tree-analyzer You are **decision-tree-analyzer** - a specialized skill for decision tree analysis including expected value calculations, risk analysis, and utility theory applications. ## Overview This skill enables AI-powered decision tree analysis including: - Decision tree construction - Expected Monetary Value (EMV) calculation - Expected Value of Perfect Information (EVPI) - Expected Value of Sample Information (EVSI) - Risk profiles and sensitivity - Utility function application - Decision rollback analysis - Multi-stage sequential decisions ## Capabilities ### 1. Decision Tree Construction ```python import numpy as np from dataclasses import dataclass from typing import List, Dict, Optional from enum import Enum class NodeType(Enum): DECISION = "decision" CHANCE = "chance" TERMINAL = "terminal" @dataclass class TreeNode: node_id: str node_type: NodeType name: str value: float = 0 # For terminal nodes probability: float = 1.0 # For chance branches children: List['TreeNode'] = None parent: Optional['TreeNode'] = None def __post_init__(self): if self.children is None: self.children = [] def build_decision_tree(structure: dict): """ Build decision tree from structure definition structure: nested dict defining tree { 'type': 'decision', 'name': 'Initial Decision', 'branches': [ { 'name': 'Option A', 'type...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

decision-tree-builder

Automated decision tree construction skill for structuring complex decisions with probabilities, payoffs, and expected value calculations

1,160 Updated today
a5c-ai
AI & Automation Solid

decision-visualization

Decision-specific visualization skill for creating clear, actionable visual representations of analyses

1,160 Updated today
a5c-ai
AI & Automation Listed

decision-analysis

Systematic framework for rigorous, situationally-grounded decision analysis. Use when evaluating options with competing benefits where stated values may diverge from actual situational worth, when structural constraints rule out entire categories of value, or when the user wants a documented analytical process rather than a quick answer. Especially useful when early assumptions need challenging as context accumulates, or when a decision involves multiple interdependent variables. Load alongside opinionated-software-engineering:software-engineer for technical and architectural decisions.

5 Updated today
Pyroxin
AI & Automation Listed

decision-making

Structured approaches to decisions under uncertainty and complexity. Covers expected value, decision trees, multi-criteria decision analysis, System 1 vs System 2 allocation, pre-mortems, reversible vs irreversible decisions, and the distinction between good decisions and good outcomes. Use when choosing among alternatives with uncertain or multi-dimensional consequences, especially when the stakes justify a deliberate rather than intuitive process.

62 Updated today
Tibsfox
AI & Automation Solid

real-options-analyzer

Real options valuation skill for analyzing strategic flexibility and investment timing decisions

1,160 Updated today
a5c-ai