/install channel-tree
Channel Tree Skill
Hierarchical management: 🏛️ Hall → 🌌 Universe → 🌍 World → 🌲 Forest → 📁 Tree → 📋 Channel
Hierarchy Levels
🏛️ Master's Hall (殿堂) - 主的领地,最大聚合
└── 🌌 Universe (宇宙) - 独立宇宙/项目
└── 🌍 World (世界) - 大型领域/部门
└── 🌲 Forest (森林) - 项目群/功能组
└── 📁 Tree (树) - 单个项目/会话
└── 📋 Channel (频道) - TASK, QA, BRANCH
Quick Commands
cd /root/.openclaw/workspace/channel_tree/
# 创建层级
python3 channel_tree.py create hall \x3Cname>
python3 channel_tree.py create universe \x3Cname> [hall_id]
python3 channel_tree.py create world \x3Cname> [universe_id]
python3 channel_tree.py create forest \x3Cname> [world_id]
python3 channel_tree.py create tree \x3Cname> [forest_id]
python3 channel_tree.py create channel \x3Ctype> \x3Cname> [parent_id]
# 查看 & 切换
python3 channel_tree.py list [id]
python3 channel_tree.py switch \x3Cpath>
python3 channel_tree.py sessions
python3 channel_tree.py context
# 监控
python3 channel_tree.py monitor
Environment Variables
CHANNEL_TREE_HALL=my-hall
CHANNEL_TREE_UNIVERSE=my-universe
CHANNEL_TREE_WORLD=my-world
CHANNEL_TREE_FOREST=my-forest
CHANNEL_TREE_SESSION=my-tree
Special Commands
->0: 整理历史记录到频率树,回到根殿堂,打印完整树结构
Channel Types
| Type | Purpose | Token Strategy |
|---|---|---|
task |
工作任务 | Lean context |
qa |
问答/咨询 | Minimal context |
branch |
子任务分支 | Inherit as needed |
Inheritance Levels
- L1 (Full): Identity, core memory, long-term goals
- L2 (Selective): Preferences, current project context
- L3 (On-demand): Temp data, history snippets
Health States
active: Normal operationidle: 2+ hours no activityfrozen: Paused/archiveddead: 24+ hours no response
State File
/root/.openclaw/workspace/channel_tree/universe.json
Example Session
# 创建殿堂
python3 channel_tree.py create hall "虾3x殿堂"
# 构建下级
CHANNEL_TREE_HALL=虾3x殿堂 \
python3 channel_tree.py create universe "当前会话"
CHANNEL_TREE_HALL=虾3x殿堂 \
CHANNEL_TREE_UNIVERSE=当前会话 \
python3 channel_tree.py create world "服务运维"
CHANNEL_TREE_HALL=虾3x殿堂 \
CHANNEL_TREE_UNIVERSE=当前会话 \
CHANNEL_TREE_WORLD=服务运维 \
python3 channel_tree.py create forest "游戏服务"
CHANNEL_TREE_HALL=虾3x殿堂 \
CHANNEL_TREE_UNIVERSE=当前会话 \
CHANNEL_TREE_WORLD=服务运维 \
CHANNEL_TREE_FOREST=游戏服务 \
python3 channel_tree.py create tree "灵安城"
# 切换上下文
python3 channel_tree.py switch 游戏服务
# 查看全貌
python3 channel_tree.py list
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install channel-tree - After installation, invoke the skill by name or use
/channel-tree - Provide required inputs per the skill's parameter spec and get structured output
What is Channel Tree?
Manages hierarchical OpenClaw session channels to split tasks, create sub-channels, track status, and save tree state with inheritance and health monitoring. It is an AI Agent Skill for Claude Code / OpenClaw, with 141 downloads so far.
How do I install Channel Tree?
Run "/install channel-tree" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Channel Tree free?
Yes, Channel Tree is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Channel Tree support?
Channel Tree is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Channel Tree?
It is built and maintained by kukuxNd (@kukuxnd); the current version is v3.1.0.