coordinate-agent-work

coordinate-agent-work is a skill for Claude Code, Codex from cambridgetcg/agenttool. It costs 122 tokens per session (6,351 once invoked), scanned A, original, Apache-2.0.

A coordination guide for running multiple coding or research agents across sessions and linked Git worktrees. It uses a shared local journal to record who is working and what has happened.

In plain words
What is it for?
Use it to start and reconnect agent sessions, divide parallel work, check updates, and manage agents from a central host.
Why use it?
It helps prevent agents from editing the same work, losing track of each other, or relying on outdated shared information.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Part of the agenttool-collab plugin — 2 skills shipped together

Good fit Use it to start and reconnect agent sessions, divide parallel work, check updates, and manage agents from a central host.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cambridgetcg/agenttool/coordinate-agent-work
Install

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.

Any agent
npx skills add cambridgetcg/agenttool --skill coordinate-agent-work
Clone the repo
git clone --depth 1 https://github.com/cambridgetcg/agenttool

Made for: Claude Code, Codex.

Or install agenttool-collab, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for coordinate-agent-work

README.md
[![agentmods](https://agentmods.dev/badge/skills/cambridgetcg/agenttool/coordinate-agent-work/github.svg)](https://agentmods.dev/skills/cambridgetcg/agenttool/coordinate-agent-work)
Your own site
<a href="https://agentmods.dev/skills/cambridgetcg/agenttool/coordinate-agent-work"><img src="https://agentmods.dev/badge/skills/cambridgetcg/agenttool/coordinate-agent-work/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.

agentmods 80×15 button for coordinate-agent-work

Your own site · 80×15
<a href="https://agentmods.dev/skills/cambridgetcg/agenttool/coordinate-agent-work"><img src="https://agentmods.dev/badge/skills/cambridgetcg/agenttool/coordinate-agent-work.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.06351
Opus 5.5 $0.00049 $0.02540
Sonnet 5.5 $0.00024 $0.01270
Haiku 4.5 $0.00012 $0.00635

Measured yesterday against content hash b9135d3b463f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coordinate-agent-work 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 yesterday.

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.

packages/collab/skills/coordinate-agent-work/SKILL.md · 485 lines

How it starts

The opening of the file, as written. The whole thing — 485 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Coordinate Agent Work

Use the journal as a compact coordination record. Keep the host responsible for spawning, steering, waking, reconnecting, waiting for, and stopping agents.

DEVELOPMENT BUILD 0.5.1-dev.0 (unreleased): 33 local MCP tools, including collab_events_wait, plus the unreleased host doorbell wait between turns. Collab 0.5.0 is released on GitHub only, not on npm; the next npm candidate is 0.5.1. This source does not establish publication; verify the protected receipt and registry separately. Published npm 0.4.0 has 32 tools and does not gain this wait from these source edits. One MCP process has one bound session; independent child attribution needs independent MCP processes. Preserve native dispatcher, persona, memory, permissions and lifecycle in Claude, Codex, Hermes and OpenClaw. Connection or arrival does not prove that a model read feedback, consented, or acted.

The ordinary loop

Most sessions need only this loop. Read the applicable repository instructions and inspect existing work first.

  1. Start. Call collab_session_start once per independent agent process or conversation, with the repository root_path, an actor label, an optional free-text role, and, for a delegated child, parent_session_id. It opens the workspace, creates a credential-bound session and binds this MCP process. Never open or read the credential file.
  2. Poll and acknowledge. Call collab_next at the start of each turn, after local work, before relying on shared state, and whenever the host wakes you. Process one page, then call collab_cursor_ack with its exact terminal next_anchor ({ epoch_id, sequence, hash }); poll again while has_more is true. Handle your own entries in recovery_required first.
  3. Split and claim. Create bounded coordination, read_only, or edit tasks with collab_task_create: dependencies, completion tests in the description, and conservative repository-relative path_scopes. Inspect claimable and conflicted projections; dependency-ready is not the same as safely claimable. Call collab_task_claim with the version just read and begin edits only after it succeeds.
  4. Work. Stay within the task, path, data and external-action scope. Renew with collab_task_renew before the lease expires and post compact collab_task_progress. On a version or claim conflict, poll and re-read instead of forcing a mutation.
  5. Attach. Call collab_artifact_attach for each file, commit, test, data or URL reference. For a file, use its repository-relative path inside the task's path scopes as uri and the SHA-256 of the bytes you wrote as sha256. Do not paste content or raw output.
  6. Complete. Call collab_task_complete with a summary, confidence, confidence_basis, limits and evidence_refs. Optionally name review_requested_session_id. An edit task stays pending until a distinct session accepts it.
  7. Review. For someone else's completed task, inspect its artifacts, checkpoint drift and completion tests, then call collab_task_review with accept or request_changes, a summary, evidence, and your own confidence, confidence_basis and limits. A late reviewer concurs or disagrees by report.
  8. End. Call collab_session_end with a reason, release_leases: true and an optional release_summary when this session will not resume.

Read the full file on GitHub · 485 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. yesterday Changed · +234 lines · +27 tokens per session b9135d3b463f
  2. 1mo ago Changed · +43 lines 8288c6cc112d
  3. 2mo ago First seen · 208 lines · 95 tokens per session scan A 77be94270d9e

Subscribe to this mod's changes

coordinate-agent-work is a skill published in the GitHub repository cambridgetcg/agenttool (0 stars, last pushed today), licensed Apache-2.0. It adds 122 tokens to every session and 6,351 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

add-a-service

Scaffold a new service under services/ in the builders-stack monorepo. Use when something needs its own URL, port, or independent deploy. Covers the package, entrypoint, config, Tilt, deployment registry, and shared small-image build path.

lonormaly/builders-stack · 55 tokens

design-a-schema

Model a new table (or reshape an existing one) in libs/db with Drizzle — normalize by default, add the right constraints, and index deliberately. Use when adding a table/column, deciding on keys and foreign keys, or when a query is slow because the schema or its indexes are wrong. Enforces the stack's "Drizzle is the…

lonormaly/builders-stack · 91 tokens

optimize-a-query

Diagnose and fix a slow Postgres query in the builders-stack — read its EXPLAIN plan, find the missing index or the ORM N+1, and confirm the fix. Use when a page or endpoint is slow, a query times out, or pgstatstatements shows a hot query. Pairs with design-a-schema for the index itself.

lonormaly/builders-stack · 77 tokens

wire-a-new-payment-provider

Add or swap a payment provider behind the @stack/payment adapter in the builders-stack monorepo. Use when integrating Stripe, Paddle, Lemon Squeezy, or any provider alongside or in place of the default Creem adapter. The whole point is that apps and the API never change — only the adapter implementation does. Covers…

lonormaly/builders-stack · 92 tokens

add-a-lib

Scaffold a new shared library under libs/ in the builders-stack monorepo. Use when code is needed in two or more places (apps or services) and should become a single source of truth consumed by package name. Covers the package.json, tsconfig, the one-public-door src/index.ts barrel, and wiring it into a consumer…

lonormaly/builders-stack · 81 tokens

create-a-worktree

Create, inspect, or retire an isolated Builders Stack agent runtime through Worktree Zero. Use whenever parallel work needs another checkout or an old worktree needs cleanup.

lonormaly/builders-stack · 37 tokens