System dynamics modeling skill for feedback loop analysis, stock-flow diagrams, and dynamic simulation
Creates and simulates system dynamics models to analyze feedback loops and policy impacts.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
The System Dynamics Modeler skill provides capabilities for building and analyzing system dynamics models to understand complex systems with feedback loops, delays, and non-linear behaviors. It supports causal loop diagramming, stock-flow modeling, and policy testing for strategic decision support.
# Define causal relationships
causal_loops = {
"variables": [
"Market Share", "Revenue", "R&D Investment",
"Product Quality", "Customer Satisfaction", "Word of Mouth"
],
"links": [
{"from": "Market Share", "to": "Revenue", "polarity": "+"},
{"from": "Revenue", "to": "R&D Investment", "polarity": "+"},
{"from": "R&D Investment", "to": "Product Quality", "polarity": "+", "delay": True},
{"from": "Product Quality", "to": "Customer Satisfaction", "polarity": "+"},
{"from": "Customer Satisfaction", "to": "Word of Mouth", "polarity": "+"},
{"from": "Word of Mouth", "to": "Market Share", "polarity": "+"}
],
"loops": [
{"name": "Growth Engine", "type": "reinforcing", "variables": ["Market Share", "Revenue", "R&D Investment", "Product Quality", "Customer Satisfaction", "Word of Mouth"]}
]
}
# Define stock-flow structure
model = {
"stocks": {
"Customers": {
"initial_value": 1000,
"inflows": ["customer_acquisition"],
"outflows": ["customer_churn"]
},
"Brand_Awareness": {
"initial_value": 0.1,
"inflows": ["marketing_effect"],
"outflows": ["awareness_decay"]
}
},
"flows": {
"customer_acquisition": "potential_customers * conversion_rate * Brand_Awareness",
"customer_churn": "Customers * churn_rate",
"marketing_effect": "marketing_spend * effectiveness / market_size",
"awareness_decay": "Brand_Awareness * decay_rate"
},
"auxiliaries": {
"potential_customers": "market_size - Customers",
"conversion_rate": "base_conversion * (1 + product_quality_factor)"
},
"constants": {
"market_size": 100000,
"base_conversion": 0.05,
"churn_rate": 0.02,
"decay_rate": 0.1,
"effectiveness": 0.001
}
}
# Simulation settings
simulation_config = {
"time_settings": {
"initial_time": 0,
"final_time": 120, # months
"time_step": 1,
"save_interval": 1
},
"integration_method": "euler|rk4",
"scenarios": [
{"name": "Base Case", "parameters": {}},
{"name": "High Marketing", "parameters": {"marketing_spend": 50000}},
{"name": "Low Churn", "parameters": {"churn_rate": 0.01}}
]
}
| Type | Behavior | Example |
|---|---|---|
| Reinforcing (R) | Exponential growth/decline | Sales -> Revenue -> Marketing -> Sales |
| Balancing (B) | Goal-seeking, oscillation | Inventory -> Orders -> Production -> Inventory |
{
"model_type": "causal_loop|stock_flow",
"model_definition": {
"stocks": "object",
"flows": "object",
"auxiliaries": "object",
"constants": "object",
"causal_links": ["object"]
},
"simulation_config": {
"initial_time": "number",
"final_time": "number",
"time_step": "number",
"scenarios": ["object"]
},
"analysis_options": {
"equilibrium_analysis": "boolean",
"sensitivity_analysis": "boolean",
"loop_analysis": "boolean"
}
}
{
"simulation_results": {
"time": ["number"],
"variables": {
"variable_name": ["number"]
}
},
"scenario_comparison": {
"scenario_name": {
"final_values": "object",
"peak_values": "object",
"time_to_equilibrium": "number"
}
},
"feedback_loops": [
{
"name": "string",
"type": "reinforcing|balancing",
"variables": ["string"],
"dominance_periods": ["object"]
}
],
"equilibrium_analysis": {
"stable_points": ["object"],
"unstable_points": ["object"]
},
"visualization_paths": ["string"]
}
The skill supports policy testing:
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.