← 返回 Skills 市场
kukuxnd

Channel Tree

作者 kukuxNd · GitHub ↗ · v3.1.0 · MIT-0
cross-platform ✓ 安全检测通过
141
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install channel-tree
功能描述
Manages hierarchical OpenClaw session channels to split tasks, create sub-channels, track status, and save tree state with inheritance and health monitoring.
使用说明 (SKILL.md)

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 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
安全使用建议
This skill appears to do what it says: local hierarchical channel/session management stored in a JSON file. Before installing or running it, consider: 1) It will create and update /root/.openclaw/workspace/channel_tree/universe.json — if you don’t want data under /root, edit BASE_DIR in the script or run as a different user. 2) The script reads optional env vars named CHANNEL_TREE_HALL/UNIVERSE/WORLD/FOREST/SESSION (these were not listed as required in the registry metadata); setting them controls context but they are not secret. 3) There are no network calls or credential requests in the visible code, but you should review the entire script file (it was partially truncated in the manifest) to confirm there is no external communication. 4) Back up any existing universe.json before first run. If you want extra assurance, run the script in a sandboxed environment or inspect the file fully for unexpected behavior.
功能分析
Type: OpenClaw Skill Name: channel-tree Version: 3.1.0 The channel-tree skill is a hierarchical organization tool for managing agent sessions and tasks across multiple levels (Hall, Universe, World, etc.). The core logic in scripts/channel_tree.py is a straightforward JSON-based state manager that tracks these hierarchies in a local file (universe.json) without any network access, sensitive data exfiltration, or dangerous command execution.
能力评估
Purpose & Capability
Name/description describe hierarchical channel/session management and the included Python script implements create/list/switch/monitor operations and a JSON state file — the required files and behavior are coherent with the stated purpose.
Instruction Scope
SKILL.md instructs running the included script and setting optional CHANNEL_TREE_* environment variables. Commands and documented state path (/root/.openclaw/workspace/channel_tree/universe.json) align with the script's behavior. There are no instructions to read unrelated system files or to send data externally.
Install Mechanism
No install spec is present (instruction-only with a bundled script). No external downloads or package installs are performed by the skill, minimizing install-time risk.
Credentials
The registry declares no required environment variables but both SKILL.md and the script use optional CHANNEL_TREE_* variables (CURRENT_*). This is proportionate to the skill's purpose, but the registry metadata could have listed them. The skill does not request credentials or secret variables.
Persistence & Privilege
The skill creates and writes persistent state to /root/.openclaw/workspace/channel_tree/universe.json. always:false (not force-included) and it does not modify other skills. Users should be aware state is stored on disk (under /root by default) and may want to change BASE_DIR or run under a non-root account if that is a concern.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install channel-tree
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /channel-tree 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.1.0
Added ->0 command for history sync. Improved documentation. Multi-hall support.
v3.0.0
Added Master's Hall level: Hall→Universe→World→Forest→Tree→Channel. Multi-hall architecture.
v2.0.0
Universe→World→Forest→Tree→Channel hierarchy. Multi-level organizational structure.
v1.1.0
Multi-session isolation: each session has independent tree. Added: switch, sessions, touch commands.
v1.0.0
Initial release: hierarchical session management with L1/L2/L3 inheritance, monitoring, and Feishu integration
元数据
Slug channel-tree
版本 3.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Channel Tree 是什么?

Manages hierarchical OpenClaw session channels to split tasks, create sub-channels, track status, and save tree state with inheritance and health monitoring. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 141 次。

如何安装 Channel Tree?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install channel-tree」即可一键安装,无需额外配置。

Channel Tree 是免费的吗?

是的,Channel Tree 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Channel Tree 支持哪些平台?

Channel Tree 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Channel Tree?

由 kukuxNd(@kukuxnd)开发并维护,当前版本 v3.1.0。

💬 留言讨论