causal-loop-diagram-generator
Installation
SKILL.md
Causal Loop Diagram Generator
This skill produces a complete, working multi-CLD article for an MkDocs Material site. The output is a set of files that together render an article where each section discusses one feedback loop and shows it as an interactive draggable diagram, building up to a full-system view at the end.
What the user gets
When invoked on a topic (say, "make me a CLD article about supply chain bullwhip"), the skill produces:
- One JSON file per loop (
docs/sims/cld-viewer/examples/<id>-cld.json) — usually 3–5 nodes each, one per archetype loop in the topic. - One full-system JSON combining all loops around a shared central node.
- The article markdown (
docs/articles/<slug>.md) — progressive build-up, one section per loop, with inline interactive diagrams and a fullscreen-button per diagram. - The shared infrastructure (
docs/articles/cld-inline.js,docs/sims/cld-viewer/) if not already present in the project. - Updated
mkdocs.ymlnav entries.
Every diagram is a live vis-network instance the reader can drag, zoom, and click to inspect. Not a static image.