Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add metagit-ai/metagit-cli --skill metagit-agent-coordinationgit clone --depth 1 https://github.com/metagit-ai/metagit-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-agent-coordination)<a href="https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-agent-coordination"><img src="https://agentmods.dev/badge/skills/metagit-ai/metagit-cli/metagit-agent-coordination/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/metagit-ai/metagit-cli/metagit-agent-coordination"><img src="https://agentmods.dev/badge/skills/metagit-ai/metagit-cli/metagit-agent-coordination.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.01426 |
| Opus 5.5 | $0.00028 | $0.00570 |
| Sonnet 5.5 | $0.00014 | $0.00285 |
| Haiku 4.5 | $0.00007 | $0.00143 |
Grade A, and why
metagit-agent-coordination scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Metagit Agent Coordination Layer (ACL)
Use when more than one agent may edit the same repository, or when an orchestrator must give each agent an exclusive checkout.
Full reference: docs/reference/agent-coordination.md
Task graphs (metagit task …) can store ACL command hints on nodes via
metagit task bind-acl without running git — see
docs/reference/task-graph.md.
Merge orchestration (metagit merge …) records conflicts with ACL command
hints only; it does not allocate branches or worktrees automatically.
The agent scheduler (metagit schedule next) scores ready task nodes and
returns dispatch hints without launching models or mutating git — see
docs/reference/agent-scheduler.md.
For a composed operator snapshot and next-work envelope across ACL + task
graph + optional 0009–0012, use skill metagit-aos
(metagit aos|coord status|doctor|next) — see
docs/reference/aos.md.
When to use
- Dispatching parallel subagents on the same repo
handoff.acl_commandsappears inmetagit agent dispatch-plan- Preventing two agents from sharing a working directory
- Declaring intended file paths before coding (advisory claims)
- Cleaning up expired leases / orphan worktrees
Do not confuse with handoff leases
| Concept | Command | Owns |
|---|---|---|
| Handoff claim TTL | metagit context handoff claim --ttl |
Task-queue row |
| ACL branch lease | metagit lease acquire |
agent/* branch |
Happy path
export METAGIT_AGENT_MODE=true
# 1. Allocate an exclusive agent branch
metagit branch allocate \
--repository project/repo \
--agent-id agent-1 \
--task-id 412 \
--description auth \
--json
# 2. Lease it (default TTL 30m; renew while working)
metagit lease acquire \
--repository project/repo \
--agent-id agent-1 \
--task-id 412 \
--allocate \
--ttl 30m \
--json
# 3. Create an isolated worktree (requires active lease)
metagit worktree create \
--repository project/repo \
--agent-id agent-1 \
--task-id 412 \
--branch agent/412-auth \
--json
# 4. Optional: advisory file claims before editing
metagit claim declare \
--repository project/repo \
--agent-id agent-1 \
--pattern 'src/auth/*' \
--json
# 5. Show execution manifest written on create
metagit worktree manifest agent-1
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 155 lines · 70 tokens per session scan A c4de96bc0b42
metagit-agent-coordination is a skill published in the GitHub repository metagit-ai/metagit-cli (4 stars, last pushed 26d ago), licensed MIT. It adds 70 tokens to every session and 1,426 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
metagit-agent-coordination compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| metagit-agent-coordinationmetagit-ai/metagit-cli | Skill | 4 | 26d ago | MIT | A | 70 | Claude Code, Codex |
| ghbubbuild/bub | Skill | 1.7k | 3d ago | Apache-2.0 | A | 96 | Claude Code, Codex |
| releasedylanroscover/Embody | Skill | 225 | yesterday | MIT | A | 63 | Claude Code |
| clawrium-release-announcementsric03uec/clawrium | Skill | 68 | today | Apache-2.0 | A | 24 | Claude Code, Codex |
| merge-divergent-toxdylanroscover/Embody | Skill | 225 | yesterday | MIT | A | 74 | Claude Code |
| python-formatGoldziher/ai-rulez | Skill | 182 | 5d ago | MIT | A | 16 | Claude Code |
| servicenow-studio-gitlab-appKnuckles-Team/servicenow-api | Skill | 20 | 2d ago | MIT | A | 92 | Claude Code, Codex |