快速搭建 OpenClaw workspace 骨架的技能包
yaml
id: workspace-bootstrap
name: Workspace Bootstrap
version: 1.0.0
author: 善人 + 小溪
purpose: 快速复刻"最佳实践"workspace 骨架
maturity: L4(可产品化)
tags: [workspace, setup, bootstrap, template]
解决的问题:
提供的价值:
bash
# 最小配置(适合个人助理)
/workspace-bootstrap create --template minimal
# 标准配置(适合技术助手)
/workspace-bootstrap create --template standard
# 完整配置(适合思维教练)
/workspace-bootstrap create --template full
bash
/workspace-bootstrap check
bash
/workspace-bootstrap examples
text
skills/workspace-bootstrap/
├── SKILL.md # 技能定义(本文件)
├── templates/
│ ├── WORKSPACE-TEMPLATE.md # 通用骨架定义
│ ├── WORKSPACE-EXAMPLES.md # 配置示例(3个场景)
│ ├── SOUL-template.md # SOUL.md 模板
│ ├── AGENTS-template.md # AGENTS.md 模板
│ ├── MEMORY-template.md # MEMORY.md 模板
│ ├── USER-template.md # USER.md 模板
│ └── HEARTBEAT-template.md # HEARTBEAT.md 模板
├── scripts/
│ ├── bootstrap.sh # 自动创建目录
│ ├── validate.sh # 验证 workspace
│ └── check-pitfalls.sh # 检查已知的坑
└── examples/
├── mindset-coach/ # 思维教练配置(高复杂度)
├── tech-assistant/ # 技术助手配置(中复杂度)
└── personal-assistant/ # 个人助理配置(低复杂度)
自动创建 60+ 目录:
bash
agents/main
memory
skills
user-data
scripts
shared/{inbox,outbox,status,working}
reports
wiki/{concepts,entities,how-to}
temp
.learnings
自动生成 7 个核心文件:
SOUL.md - 身份定义AGENTS.md - 启动流程MEMORY.md - 记忆索引USER.md - 用户画像HEARTBEAT.md - 心跳自检IDENTITY.md - 身份标识(可选)TOOLS.md - 工具配置(可选)3 种配置场景:
自动检测 7 个常见问题:
text
用户:我刚安装了 OpenClaw,不知道怎么开始
小溪:用 workspace-bootstrap 快速搭建!
/workspace-bootstrap create --template standard
text
用户:我有旧的 workspace,想升级到新结构
小溪:用 workspace-bootstrap 检查!
/workspace-bootstrap check
text
用户:不知道怎么配置团队
小溪:看看示例!
/workspace-bootstrap examples
选项说明目录数文件数minimal最小配置155standard标准配置306full完整配置60+7
检查当前 workspace 状态:
已实现:
计划实现:
这是一个 迭代中的技能包,欢迎反馈:
.learnings/ERRORS.md版本日期变更v1.0.02026-04-07L3→L4 升级:测试覆盖(100%)、文档补充、发布准备v0.3.02026-04-06新增配置向导、坑点检查v0.1.02026-04-06初始版本,基础模板
此技能包已达到 L4 级别(可产品化),准备发布到 ClawHub