Awesome Cohub
EN
实践卡intermediatecohub.bp.mod-mount4 min

何时用

多个 Space 要共享同一套 skill / prompt / 模板 / 基础工具,且不想靠手工复制漂移。

分工

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.

结果

  • 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

步骤

  1. 提供方 Space 当产品养:稳定 slug、README、AGENTS.md、技能树。
  2. 消费方 设置 → Mods 挂载,slug 可读。
  3. 变更 Mod 可能重启沙箱;重启中途别瞎排查。
  4. 先 ls /mods 再引用真实路径。
  5. 让 Agent 读 mod 内 SKILL.md,或用 /skill: 发现。
  6. 公开可安装包与 Space Mod 二选一作权威源,避免双份维护。
  7. 必须分叉再拷贝;否则改上游。

快照语义(v2.7)

Mod 资源从 latest checkpoint 缓存 提供,不再读 live workspace:

  • Agent 从同一个不可变快照加载 mod 的 skills、rules 与 append-system prompts。
  • 挂载的 mod 与沙箱永远对齐同一版本,杜绝半发布状态。
  • 部署清单以只读方式挂载 CHECKPOINT_CACHE_ROOT。
  • 修改 源 Space 并 Save;消费者在重挂载 / 沙箱重启后拿到新快照。

权限

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.

完成标准

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

别这样做

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