When
You run a Cohub deployment (or internal platform Space) and need environment-wide default skills, prompts, models, or agent rules.
Outcome
- 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
Steps
- Confirm env:
PLATFORM_SPACE_ID,PLATFORM_CONFIG_ROOT(default often/configs). - Open that Space only for platform defaults — not customer project work.
- Layout: ``
text AGENTS.md CLAUDE.md .agents/skills/<name>/SKILL.md .agents/prompts/… .cohub/models.json .cohub/… (generations, explore, etc.)`` - Save on that Space →
publishPlatformConfig+ cache publishers (models/prompts/generations/skills). - Smoke in a normal project sandbox: ``
bash ls /configs/platform/.agents/skills # Chat: /skill:<platform-skill-name>`` - Change management: treat like production config — review diffs, Save notes, avoid drive-by experiments.
Done when
- [ ] Save on platform Space publishes without warnings (or warnings understood)
- [ ] New sandbox sees platform skills/rules
- [ ] Project workspace can still override same-named skills
Avoid
- Putting one customer’s kit into platform config
- Confusing platform Space with user
name=configSpace - Editing
/configs/platforminside a sandbox (read-only projection)
Also: .cohub layers & priority · playbook.