catcolab-causal-loop
БесплатноБез исполняемых скриптовНе проверенCatColab Causal Loop Diagrams - systems dynamics modeling with reinforcing (R) and balancing (B) feedback loops, delays, and Lotka-Volterra semantics for…
от plurigrid★ 73 звезды на GitHubОб этом скилле
CatColab Causal Loop Diagrams: Systems Dynamics
Trit: 0 (ERGODIC - coordinator/mediator) Color: Yellow (#FFD700)
Overview
Causal Loop Diagrams (CLDs) in CatColab model feedback systems:
- Variables: System quantities that change over time
- Positive links (+): Same-direction influence (increase→increase)
- Negative links (-): Opposite-direction influence (increase→decrease)
- Loops: Reinforcing (R) or Balancing (B) feedback
CLDs are essential for understanding system behavior, policy analysis, and strategic planning.
Mathematical Foundation
A causal loop diagram is a signed directed graph with loop classification:
┌─────────────────────────────────────────────────────┐
│ CAUSAL LOOP DIAGRAM │
├─────────────────────────────────────────────────────┤
│ Variables: │
│ Population, Resources, Pollution, Quality │
│ │
│ Positive Links (+): │
│ Population ──(+)──► Pollution │
│ Resources ──(+)──► Quality │
│ │
│ Negative Links (-): │
│ Pollution ──(-)──► Quality │
│ Quality ──(-)──► Population (emigration) │
│ │
│ Loops: │
│ R1: Population→Births→Population (reinforcing) │
│ B1: Population→Resources→Quality→Pop (balancing) │
└─────────────────────────────────────────────────────┘
Loop Classification
Reinforcing Loop (R): Even number of negative links
- Exponential growth or collapse
- "Snowball effect" or "vicious/virtuous cycle"
Balancing Loop (B): Odd number of negative links
- Goal-seeking behavior
- Homeostasis, equilibrium
REINFORCING (R): BALANCING (B):
A ──(+)──► B A ──(+)──► B
▲ │ ▲ │
│ │ │ │
└──(+)─────┘ └──(-)─────┘
(exponential) (equilibrium)
Double Theory
// Causal loop double theory with decorated edges
pub fn th_causal_loop() -> DiscreteDblTheory {
let mut cat = FpCategory::new();
// Object type
cat.add_ob_generator(name("Variable"));
// Morphism types (polarized links)
cat.add_mor_generator(name("Positive"), name("Variable"), name("Variable"));
cat.add_mor_generator(name("Negative"), name("Variable"), name("Variable"));
// Decorations (CatColab 0.2)
cat.add_mor_generator(name("Delay"), name("Variable"), name("Variable"));
cat.add_mor_generator(name("Indeterminate"), name("Variable"), name("Variable"));
cat.into()
}
CatColab Implementation
Variable Declaration
{
"type": "ObDecl",
"name": "MarketShare",
"theory_type": "Variable",
"description": "company's percentage of total market"
}
Positive Link
{
"type": "MorDecl",
"name": "growth_effect",
"dom": "MarketShare",
"cod": "Revenue",
"theory_type": "Positive",
"description": "higher market share increases revenue"
}
Negative Link
{
"type": "MorDecl",
"name": "saturation_effect",
"dom": "MarketShare",
"cod": "GrowthRate",
"theory_type": "Negative",
"description": "higher share reduces growth potential"
}
Delay (CatColab 0.2)
{
"type": "MorDecl",
"name": "investment_lag",
"dom": "RnD_Spending",
"cod": "ProductQuality",
"theory_type": "Delay",
"delay_time": 12, // months
"description": "R&D takes time to improve products"
}
Lotka-Volterra Semantics
CatColab generates Lotka-Volterra ODEs from causal loops:
For variables X, Y with positive link X→Y:
dY/dt = α·X·Y
For negative link X→Y:
dY/dt = -β·X·Y
General form:
dXᵢ/dt = Xᵢ · Σⱼ aᵢⱼ·Xⱼ
Practical Examples
Example 1: Adoption Dynamics
Word of Mouth
↗ (+)
Users ────────► Adoption Rate
▲ │
│ │
└────(+)──────────┘
R1: Viral Growth
Adoption Rate ──(+)──► Users
│
└──(-)──► Potential Users
│
B1: Market Saturation
Example 2: Thermostat (Balancing)
Desired Temp ──(+)──► Gap
▲ │
│ │
│ (+)
│ ▼
Actual Temp ◄──(+)── Heating
│
└──(-)──► Gap
B1: Temperature Control
Example 3: Arms Race (Reinforcing)
Country A Arms ──(+)──► Country A Threat Perception
▲ │
│ (+)
│ ▼
Country B Arms ◄──(+)── Country B Arms Spend
Установить catcolab-causal-loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл catcolab-causal-loop?
CatColab Causal Loop Diagrams - systems dynamics modeling with reinforcing (R) and balancing (B) feedback loops, delays, and Lotka-Volterra semantics for strategic analysis.
Как установить скилл catcolab-causal-loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл catcolab-causal-loop запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic