← 返回
未分类 中文

Channel Tree

Manages hierarchical OpenClaw session channels to split tasks, create sub-channels, track status, and save tree state with inheritance and health monitoring.
管理层次化的OpenClaw会话通道,用于拆分任务、创建子通道、跟踪状态、保存树状态(支持继承)并监控健康状态。
kukuxnd kukuxnd 来源
未分类 clawhub v3.1.0 1 版本 99751.2 Key: 无需
★ 0
Stars
📥 401
下载
💾 0
安装
1
版本
#latest

概述

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 <name>
python3 channel_tree.py create universe <name> [hall_id]
python3 channel_tree.py create world <name> [universe_id]
python3 channel_tree.py create forest <name> [world_id]
python3 channel_tree.py create tree <name> [forest_id]
python3 channel_tree.py create channel <type> <name> [parent_id]

# 查看 & 切换
python3 channel_tree.py list [id]
python3 channel_tree.py switch <path>
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

TypePurposeToken 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 operation
  • idle: 2+ hours no activity
  • frozen: Paused/archived
  • dead: 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

版本历史

共 1 个版本

  • v3.1.0 当前
    2026-05-03 09:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,090 📥 818,637
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,388 📥 321,420
life-service

Kuuila Game

kukuxnd
通用互动游戏框架,支持单人文字冒险、猜谜及多人武侠游戏,含私聊控制群游戏和实时状态同步。
★ 0 📥 875