一键导入
manta-coordinate
File locks, broadcast etiquette, work-claim board. How a clone shares the bus without stepping on siblings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
File locks, broadcast etiquette, work-claim board. How a clone shares the bus without stepping on siblings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Pre-cast self-check for the main agent. Do I actually need clones? Which of the 9 modes? Am I within my subscription's usage/rate limit? Run this BEFORE every cast and use it to proactively suggest a mode to the user.
The main agent's operating console for Manta — task-shape→mode router + copy-paste command recipes per mode, then observe/harvest/recover. Load BEFORE any manta cast / /manta:* / manta_* tool. Be proactive — when a task fits a cast shape, offer it.
Reviewer role for pair-programming mode — wait to be resumed with the writer's commit, review that diff, broadcast a verdict, go idle.
Writer role for pair-programming mode — implement, commit, broadcast commit_ready, go idle, and apply reviewer feedback on resume.
Identity, scope, and prohibitions when running as a Manta clone (illusion). Loads first thing on clone startup.
Council clone instructions — independently propose one reasoned solution to a shared question; the main aggregates (wisdom of crowds, no auto-merge)
| name | manta-coordinate |
| description | File locks, broadcast etiquette, work-claim board. How a clone shares the bus without stepping on siblings. |
| audience | clone |
| version | 0.0.2 |
| related | ["manta-as-clone"] |
Multiple clones share a single Manta Bus. Coordination is data-driven (locks, claims, broadcasts) — never social. This skill defines exactly which calls to make, when, and what to never do.
manta.lock { clone_id, path } first. Renew via manta.renew_lock every 5 s while held. Release via manta.unlock the moment you stop editing.manta.claim_work { item: "summarize:X", timeout_ms: 600000 }. If it returns a conflict, pick a different item.breakthrough — root cause / subproblem solved (sibling may unblock)blocker — stuck (main agent intervenes)dependency — discovered code that affects another clone's scopemanta.drift_report { score: 0..1, evidence } so the main agent can spot scope drift early.contract_refresh event from the main, re-read manta.task_contract.read and re-ack via manta.ack_contract.When you broadcast a manta.contract_refresh it fans out to every active
clone, regardless of cast. Therefore the payload must be cast-agnostic —
do not include per-cast approach hints, per-cast scope, or per-cast
deliberations. For per-cast updates, use manta.task_contract.write per
clone instead. Violation is a soft information leak across casts (research
clone-C §6 "Contract refresh content").
renew_lock) are reaped by the orchestrator and emit lock_reap events visible in the post-mortem — a quality signal against you. Renew on time or release.manta.message is for round-table escalation (sibling proposes vs sibling proposes). Disagreements → broadcast blocker so the main can decide.You're cloning a refactor-wave with sibling B and C:
manta.claim_work { item: "refactor:auth", timeout_ms: 600000 } → okrefactor:billingrefactor:loggingauth/index.ts imports billing/utils.ts — that's B's scope.
manta.broadcast { event_type: 'dependency', payload: { from: 'auth/index.ts', to: 'billing/utils.ts' } }.manta.release_work { item: "refactor:auth" }, manta.unlock every held path.Bad pattern:
blocker broadcast instead.