Awesome Cohub
中文
Playbooksintermediatecohub.bp.mod-mount2 min

When

Several Spaces should share the same skills, prompts, templates, or base tooling without copy-paste drift.

Mod vs Skill

ModSkill
WhatAnother Space mounted read-onlyA reusable procedure package (SKILL.md + assets)
Pathtypically /mods/<slug>/….agents/skills/<name>/ or via Mod
Best forShared bases, kits, org toolingMission playbooks, ops runbooks
MutationSource Space owns writesEdit in source / reinstall package

Rule: Mod is distribution & mount; Skill is the unit the Agent follows.

Outcome

  • Mod appears under /mods/<slug> (or your mount slug)
  • Agent can read mod files; skills/prompts from the mod show up when enabled
  • Team knows: change the source Space, consumers remount/restart as needed

Steps

  1. Treat the provider Space as a product: stable slug, README, AGENTS.md, skills under its tree.
  2. In the consumer Space → Settings → Mods → mount the provider Space with a clear slug (work-kit, wgetx, context).
  3. Expect Sandbox restart after mod changes; don’t debug mid-restart.
  4. Resolve real paths before use: ``bash ls /mods ls /mods/<slug> ``
  5. Prefer Agent instructions like: “follow /mods/<slug>/…/SKILL.md” or rely on /skill: discovery if the mod contributes skills.
  6. For installable public kits, you can still npx skills add or mount a Space that vendors the same tree — don’t double-maintain without a source of truth.
  7. Copy-on-write only when you must diverge; otherwise fix upstream mod.

Snapshot semantics (v2.7)

Mod resources are served from the latest checkpoint cache, not the live workspace:

  • The agent loads mod skills, rules, and append-system prompts from one immutable snapshot.
  • Mounted mods and sandboxes always agree on the same revision — no half-published state.
  • Deploy manifests mount CHECKPOINT_CACHE_ROOT read-only.
  • Edit the source Space and Save; consumers pick up the new snapshot on remount / sandbox restart.

Permissions note

Filtered file view can be enough for some mod setups; don’t assume every mount needs full unrestricted file power. Follow current product permission labels.

Done when

  • [ ] /mods/<slug> readable in consumer Sandbox
  • [ ] One smoke Agent task used mod content successfully
  • [ ] Owner of the mod Space is explicit

Avoid

  • Editing files under /mods in the consumer (read-only mental model)
  • Mounting everything “just in case”
  • Silent forks of mod trees with no upstream