何时用
你在运营 Cohub 部署/内部平台 Space,需要环境级默认 skills、prompts、models 或 agent 规则。
结果
- The Space id equals
PLATFORM_SPACE_ID - After Save, files exist under platform config root and sandboxes see
/configs/platform/.agents - Platform skills show up in
/skill:/GET /api/skillswith scopeplatform - Redis skills cache for platform is refreshed on publish
步骤
- 确认
PLATFORM_SPACE_ID/PLATFORM_CONFIG_ROOT。 - 该 Space 只放平台默认,不做业务项目。
- 目录结构同上。
- 存档触发平台发布与缓存刷新。
- 在普通项目沙箱检查
/configs/platform/.agents与/skill:。 - 按生产配置管理:看 diff、写 Save 备注。
完成标准
- [ ] Save on platform Space publishes without warnings (or warnings understood)
- [ ] New sandbox sees platform skills/rules
- [ ] Project workspace can still override same-named skills
别这样做
- Putting one customer’s kit into platform config
- Confusing platform Space with user
name=configSpace - Editing
/configs/platforminside a sandbox (read-only projection)
另见:.cohub 分层与优先级 · 实践卡。