Install
openclaw skills install cognitive-topologyAgent认知拓扑引擎。自动将复杂任务分裂为多个独立分支,并行执行后汇总整合。触发场景:(1)复杂问题需要多角度分析 (2)多独立子任务需要并行执行 (3)需要清晰追踪思维分支 (4)用户说"分叉"、"分支分析"、"多线程"时。使用 sessions_spawn 创建分支,分支结果写入 L2 文件,Main Se...
openclaw skills install cognitive-topology把复杂任务的「一条直线」变成「多分支并行」。
当任务符合以下任一条件时,自动启用本技能:
使用 sessions_spawn 创建独立分支:
sessions_spawn(
mode="session",
runtime="subagent",
task="<具体分支任务>",
label="ct-<序号>-<简短描述>"
)
每个分支有独立 Session ID,互不干扰。
~/.openclaw/workspace/cognitive-topology/branches/<branch_id>_L2.mdMain Session 等待所有分支完成,读取所有 L2 文件,生成 synthesis:
cat ~/.openclaw/workspace/cognitive-topology/branches/*_L2.md
~/.openclaw/workspace/cognitive-topology/
├── branches/ # 分支工作目录
│ ├── ct-1_anal_ai_L2.md # 分支1的L2
│ ├── ct-2_anal_chip_L2.md # 分支2的L2
│ └── ...
├── topology_latest.json # 当前拓扑状态
└── synthesis.md # 整合结果
无 UI,星空图用文本树替代:
🌐 认知拓扑
├── branch-1 [分析AI板块]
│ └── ✅ 已完成
├── branch-2 [分析半导体]
│ └── ⏳ 进行中
└── branch-3 [分析新能源]
└── ⏳ 待启动
场景:分析 A 股三个方向的机会
Main Session 收到任务后: