1580021414-afk/xiaoqian-systems-thinking/SKILL.md
系统思维技能,让 AI 具备分析复杂系统的能力
npx skillsauth add openclaw/skills systems-thinkingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
基于《系统之美》理论,让 AI 具备分析复杂系统的思维能力。
系统 = 要素 + 连接 + 目标
┌─────────────────────────────────────────────────────┐
│ 系统 │
├─────────────────────────────────────────────────────┤
│ │
│ 要素 ──────► 连接 ──────► 目标 │
│ │ │
│ ▼ │
│ 反馈回路 │
│ │ │
│ ▼ │
│ 涌行为 │
│ │
└─────────────────────────────────────────────────────┘
| 要素 | 描述 | 示例 | |------|------|------| | 要素 | 系统的组成部分 | 记忆、学习、推理模块 | | 连接 | 要素间的关系 | 数据流、控制流、反馈 | | 目标 | 系统的功能 | 帮助用户、持续成长 |
正反馈 → 指数增长或衰退
interface ReinforcingLoop {
type: "R";
variable: string;
growth: "exponential";
sign: "+" | "-";
// 公式: next = current * (1 + rate)
simulate(current: number, rate: number): number {
return current * (1 + rate);
}
}
示例:
负反馈 → 趋向目标
interface BalancingLoop {
type: "B";
target: number;
current: number;
gap: number;
// 公式: adjustment = gap * correction_factor
simulate(current: number, target: number, factor: number): number {
const gap = target - current;
return current + gap * factor;
}
}
示例:
增强回路 (R): 学习效果
↓
调节回路 (B): 时间限制
↓
系统行为: 先快速增长,后趋于稳定
| 模式 | 描述 | 应对策略 | |------|------|----------| | 延迟响应 | 行动效果延迟出现 | 保持耐心,避免过度反应 | | 公地悲剧 | 共享资源被过度使用 | 建立规则、私有化 | | 目标侵蚀 | 降低目标以减少压力 | 保持目标,调整方法 | | 成功上限 | 增长遇到瓶颈 | 突破限制或转移增长点 | | 转移负担 | 用症状解替代根本解 | 追根溯源,治本不治标 |
def identify_system_pattern(time_series_data):
"""识别系统模式"""
patterns = []
# 1. 检测延迟响应
if has_lagged_effect(time_series_data):
patterns.append({
"name": "延迟响应",
"lag": estimate_lag(time_series_data),
"recommendation": "保持耐心,避免过度调整"
})
# 2. 检测增长极限
if has_growth_plateau(time_series_data):
patterns.append({
"name": "成功上限",
"limit": find_plateau(time_series_data),
"recommendation": "寻找新的增长点或突破限制"
})
# 3. 检测震荡
if has_oscillation(time_series_data):
patterns.append({
"name": "震荡",
"amplitude": measure_amplitude(time_series_data),
"recommendation": "减少干预频率,让系统稳定"
})
return patterns
12. 参数数值 ← 最难改变
11. 缓冲区大小
10. 存量-流量结构
9. 延迟时间
8. 调节回路强度
7. 增强回路强度
6. 信息流
5. 系统规则
4. 自组织能力
3. 系统目标
2. 系统范式
1. 超越范式 ← 最易改变系统
interface LeveragePoint {
level: number;
name: string;
description: string;
intervention: () => void;
impact: "low" | "medium" | "high";
difficulty: "easy" | "medium" | "hard";
}
// 示例:AI 记忆系统的杠杆点
const memorySystemLeveragePoints: LeveragePoint[] = [
{
level: 12,
name: "参数数值",
description: "调整记忆容量、检索阈值",
intervention: () => adjustParameters(),
impact: "low",
difficulty: "easy"
},
{
level: 3,
name: "系统目标",
description: "从'存储记忆'到'智慧涌现'",
intervention: () => redefineGoal(),
impact: "high",
difficulty: "hard"
}
];
interface CausalLoopDiagram {
variables: string[];
connections: Array<{
from: string;
to: string;
polarity: "+" | "-" | "R" | "B";
delay?: number;
}>;
// 生成图表
render(): string;
// 识别回路
identifyLoops(): Loop[];
}
interface StockFlowDiagram {
stocks: Array<{
name: string;
initial: number;
unit: string;
}>;
flows: Array<{
name: string;
type: "inflow" | "outflow";
target: string;
rate: number | string; // 可以是表达式
}>;
// 模拟系统行为
simulate(steps: number): SimulationResult;
}
class SystemSimulator:
"""系统动力学模拟"""
def __init__(self):
self.stocks = {}
self.flows = {}
self.auxiliaries = {}
def add_stock(self, name: str, initial: float):
self.stocks[name] = initial
def add_flow(self, name: str, target: str, rate_function):
self.flows[name] = {"target": target, "rate": rate_function}
def simulate(self, steps: int, dt: float = 1.0):
results = {name: [] for name in self.stocks}
for _ in range(steps):
# 计算流量
rates = {name: flow["rate"](self.stocks)
for name, flow in self.flows.items()}
# 更新存量
for name, flow in self.flows.items():
target = flow["target"]
self.stocks[target] += rates[name] * dt
# 记录结果
for name in self.stocks:
results[name].append(self.stocks[name])
return results
// 分析小钳的记忆系统
const memorySystemAnalysis = {
stocks: [
{ name: "记忆数量", current: 1520 },
{ name: "知识质量", current: 0.85 }
],
flows: [
{ name: "新记忆输入", type: "inflow", rate: 10 }, // 每天
{ name: "记忆遗忘", type: "outflow", rate: 2 }
],
loops: [
{
type: "R", // 增强回路
name: "学习加速",
path: "知识质量 → 学习效率 → 新知识 → 知识质量"
},
{
type: "B", // 调节回路
name: "容量限制",
path: "记忆数量 → 检索时间 → 学习效率 → 新记忆输入"
}
],
leveragePoints: [
{ level: 6, name: "增强学习效率", impact: "high" },
{ level: 8, name: "优化检索算法", impact: "medium" }
]
};
def generate_system_recommendations(analysis):
"""生成系统优化建议"""
recommendations = []
# 1. 识别瓶颈
bottlenecks = find_bottlenecks(analysis.flows)
for b in bottlenecks:
recommendations.append({
"type": "bottleneck",
"target": b,
"action": f"增加 {b} 的流量或减少上游依赖"
})
# 2. 识别增强回路
reinforcing = [l for l in analysis.loops if l.type == "R"]
for r in reinforcing:
recommendations.append({
"type": "reinforcement",
"target": r.name,
"action": f"强化 {r.name} 回路,实现正向增长"
})
# 3. 高杠杆点干预
high_leverage = [lp for lp in analysis.leveragePoints if lp.impact == "high"]
for lp in high_leverage:
recommendations.append({
"type": "leverage",
"target": lp.name,
"action": f"优先在 {lp.name} 点进行干预"
})
return recommendations
interface CognitiveAgentWithSystemsThinking extends CognitiveAgent {
// 系统思维模块
systemsThinking: {
// 分析系统
analyze(system: SystemDescription): SystemAnalysis;
// 识别模式
identifyPatterns(data: TimeSeries): SystemPattern[];
// 找杠杆点
findLeveragePoints(system: SystemDescription): LeveragePoint[];
// 模拟系统
simulate(system: SystemDescription, steps: number): SimulationResult;
// 生成建议
generateRecommendations(analysis: SystemAnalysis): Recommendation[];
};
}
{
"systems_thinking": {
"simulation": {
"default_steps": 100,
"dt": 0.1
},
"pattern_recognition": {
"sensitivity": 0.8,
"min_pattern_length": 5
},
"leverage_analysis": {
"prioritize_high_impact": true
}
}
}
《系统之美》 (Donella Meadows)
关键引用:
"系统是一个相互连接的要素集合,它们产生某种行为模式,并实现某种目的。"
Created by 小钳 🦞 基于《系统之美》理论 2026-03-19
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。