Awesome Cohub
中文
Playbooksadvancedcohub.bp.platform-config2 min

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/skills with scope platform
  • Redis skills cache for platform is refreshed on publish

Steps

  1. Confirm env: PLATFORM_SPACE_ID, PLATFORM_CONFIG_ROOT (default often /configs).
  2. Open that Space only for platform defaults — not customer project work.
  3. Layout: ``text AGENTS.md CLAUDE.md .agents/skills/<name>/SKILL.md .agents/prompts/… .cohub/models.json .cohub/… (generations, explore, etc.) ``
  4. Save on that Space → publishPlatformConfig + cache publishers (models/prompts/generations/skills).
  5. Smoke in a normal project sandbox: ``bash ls /configs/platform/.agents/skills # Chat: /skill:<platform-skill-name> ``
  6. 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=config Space
  • Editing /configs/platform inside a sandbox (read-only projection)

Also: .cohub layers & priority · playbook.