返回顶部
c

channel-tree

Hierarchical session/channel management system: Hall → Universe → World → Forest → Tree → Channel. Multi-hall architecture, L1/L2/L3 inheritance, health monitoring, and session isolation. Triggers: "create hall", "build universe", "manage tree", "fork conversation", "organize hierarchy", "->0 to sync history and print tree".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 3.1.0
安全检测
已通过
96
下载量
0
收藏
概述
安装方式
版本历史

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 ```bash 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 ```bash 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 ```bash # 创建殿堂 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 ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 channel-tree-1775985901 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 channel-tree-1775985901 技能

通过命令行安装

skillhub install channel-tree-1775985901

下载 Zip 包

⬇ 下载 channel-tree v3.1.0

文件大小: 5.47 KB | 发布时间: 2026-4-13 09:40

v3.1.0 最新 2026-4-13 09:40
Added ->0 command for history sync. Improved documentation. Multi-hall support.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部