systems-thinking-dsl-generator

Generate Systems Thinking Tool DSL models with stocks, flows, and lookup tables.

1|Updated Sep 14, 2025
One-click install
npx skills add https://github.com/doodzik/systems-thinking-tool --skill systems-thinking-dsl-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systems-thinking-dsl-generator
Source: https://github.com/doodzik/systems-thinking-tool/tree/main
Command: npx skills add https://github.com/doodzik/systems-thinking-tool --skill systems-thinking-dsl-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of manually writing System Dynamics DSL code by giving you a structured, ready-to-simulate DSL template for stocks, flows, constants, delays, lookup tables, graphs, and termination conditions.

Core Features & Use Cases

  • System Dynamics DSL generation: Produce valid DSL for stocks (accumulations), flows (rates), constants, and feedback-style system relationships.
  • Time behavior modeling: Add SMOOTH, DELAY, and DELAY_GRADUAL to represent perception lag, pipeline delay, and smooth material delays.
  • Nonlinear relationships & visualization: Use 1D/2D lookup tables and define graphs to inspect system behavior, including stop conditions for practical simulation runs.
  • Use case: Turn a domain description like “inventory depletes with delayed reorders and seasonal demand” into a complete DSL model that the tool can parse and simulate immediately.

Quick Start

Ask for: "Generate a complete Systems Thinking Tool DSL model for a thermostat with delayed perception, including one stock, two flows, and a line graph of the stock over time."

Frequently Asked Questions about systems-thinking-dsl-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a system dynamics DSL model from a text description?

System dynamics DSL generation converts your domain description into executable DSL code with stocks, flows, and feedback constructs. Provide a requirement like a thermostat with delayed perception, and it outputs a complete, ready-to-simulate DSL template.

What is a stock and flow model in system dynamics simulation?

A stock and flow model represents accumulations and their rates of change to simulate feedback systems. It captures nonlinear cause-effect relationships and policy interventions with time delays using constants, lookup tables, and rate expressions.

Can I model time delays and perception lag in a system dynamics simulation?

Yes, you can model time delays using built-in DSL functions like SMOOTH for perception lag, DELAY for pipeline delays, and DELAY_GRADUAL for smooth material delays. These functions populate rate expressions to accurately simulate delayed feedback systems.

How do I add lookup tables and graphs to a system dynamics model?

You add lookup tables and graphs by defining nonlinear relationships and visualization requirements in your domain description. The DSL generator outputs 1D or 2D lookup tables and configures graph blocks to inspect system behavior over time.

Does this system dynamics generator support termination conditions for simulations?

Yes, the system dynamics generator supports termination conditions by producing DSL with termination blocks. These blocks define stop conditions for practical simulation runs, allowing models to halt automatically when specific system states or limits are reached.

What is the best way to structure a system dynamics model for delayed reorders and seasonal demand?

The best way to structure this system dynamics model is to define an inventory stock with flows for depletion and reorders, applying DELAY functions for lag and lookup tables for seasonal demand. The generator outputs the complete DSL syntax for immediate simulation.