Automated decision tree construction skill for structuring complex decisions with probabilities, payoffs, and expected value calculations
Builds decision trees with probability-weighted outcomes to calculate optimal choices and expected values.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
The Decision Tree Builder skill provides automated construction and analysis of decision trees for structuring complex business decisions. It enables systematic evaluation of alternatives through probability assignments, payoff calculations, and expected value analysis, supporting both prescriptive decision-making and sensitivity analysis.
# Define decision structure
decision_tree = {
"type": "decision",
"name": "Market Entry Strategy",
"alternatives": [
{
"name": "Enter Now",
"type": "chance",
"outcomes": [
{"name": "High Demand", "probability": 0.6, "payoff": 1000000},
{"name": "Low Demand", "probability": 0.4, "payoff": -200000}
]
},
{
"name": "Wait and See",
"type": "chance",
"outcomes": [
{"name": "Market Grows", "probability": 0.5, "payoff": 600000},
{"name": "Market Stagnates", "probability": 0.5, "payoff": 100000}
]
}
]
}
The skill calculates expected monetary value (EMV) for each decision path:
Identify critical probability thresholds where the optimal decision changes:
Generate decision tree diagrams with:
{
"decision_name": "string",
"alternatives": [
{
"name": "string",
"outcomes": [
{
"name": "string",
"probability": "number (0-1)",
"payoff": "number",
"nested_decision": "optional object"
}
]
}
],
"analysis_options": {
"sensitivity_analysis": "boolean",
"visualization": "boolean",
"export_format": "json|xml|png|svg"
}
}
{
"optimal_alternative": "string",
"expected_value": "number",
"decision_path": ["string"],
"sensitivity_results": {
"critical_probabilities": ["object"],
"tornado_data": ["object"]
},
"visualization_path": "string"
}
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.