coordinate-agents

coordinate-agents is a skill for Codex from hibeekaey/agent-sync. It costs 74 tokens per session (960 once invoked), scanned C, original, MIT.

A workflow for splitting one coding task among multiple AI coding agents and reviewing their work as a coordinator.

In plain words
What is it for?
Use it when delegating tasks to Claude Code, Codex, Gemini, or other agents, requesting a second opinion, running parallel investigations, or dividing a larger task into smaller pieces.
Why use it?
It prevents parallel work from becoming confused by giving each agent a clear brief, deliverable, and stopping point.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; runs codex exec; mentions Codex.

Good fit Use it when delegating tasks to Claude Code, Codex, Gemini, or other agents, requesting a second opinion, running parallel investigations, or dividing a larger task into smaller pieces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hibeekaey/agent-sync/coordinate-agents
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 hibeekaey/agent-sync --skill coordinate-agents
Clone the repo
git clone --depth 1 https://github.com/hibeekaey/agent-sync

Made for: Codex.

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-agents

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hibeekaey/agent-sync/coordinate-agents"><img src="https://agentmods.dev/badge/skills/hibeekaey/agent-sync/coordinate-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 960 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00074 $0.00960
Opus 5.5 $0.00030 $0.00384
Sonnet 5.5 $0.00015 $0.00192
Haiku 4.5 $0.00007 $0.00096

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

Security

Grade C, and why

coordinate-agents scanned grade C with 1 finding 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .agent-lock # release
skills/coordinate-agents/SKILL.md · 104 lines

How it starts

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

Coordinating work across coding agents

You are the coordinator: you own the task definition, review every deliverable, and decide what happens next. Every other agent is a worker: it receives a spec, produces an artifact, and stops. There is no cross-vendor message bus, so coordination is turn-based and file-mediated:

you write task.md -> worker runs headlessly -> worker writes result.md ->
you read, verify, decide the next turn

If agent-sync is installed, run agent sync before delegating so every worker starts with the same synthesized memory you have.

1. Write the task directory

task/
  task.md      # the spec (see contract below)
  ...inputs... # everything the worker needs; workers get no other context
  result.md    # the worker writes this; its existence signals completion

task.md is a contractor brief and must contain:

  • the goal, in one paragraph;
  • the exact deliverable (a file, named);
  • a checkable definition of done;
  • the instruction to stop after writing the deliverable;
  • the lock or worktree rules from section 2 when the worker will edit a shared tree.

2. Choose the sharing mode BEFORE invoking anyone

Rule zero: two agents must never mutate the same working tree at the same time.

Situation Mode
Worker only reads (review, analysis, second opinion) Same dir, no lock
Alternating edits on one tree Same dir + mkdir lock
Parallel attempts or parallel file-touching subtasks One git worktree per worker
Two agents editing one tree concurrently Never; restructure

Same-dir lock (mkdir is atomic; put these instructions in task.md too):

until mkdir .agent-lock 2>/dev/null; do sleep 1; done   # acquire
echo "$(whoami):$$" > .agent-lock/owner
# ... work ...
rm -rf .agent-lock                                       # release

Never auto-expire a lock by age: a slow worker looks identical to a dead one. Verify the worker process is dead before clearing a stale lock.

Read the full file on GitHub · 104 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. 1mo ago First seen · 104 lines · 74 tokens per session scan C bd975f51594d

Subscribe to this mod's changes

coordinate-agents is a skill published in the GitHub repository hibeekaey/agent-sync (6 stars, last pushed 3d ago), licensed MIT. It adds 74 tokens to every session and 960 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). 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

shared-agents-knowledge

Sync and use the shared-agents repo (team skills, rules + learnings). Use at session start, when loading team knowledge, searching learnings, or when the user mentions shared-agents, shared learnings, or team knowledge.

netgrade-digital/shared-agents · 54 tokens

agent-memory

Recall earlier conversations from the user's other AI tools (Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, Antigravity, Devin), and search the files of the projects they indexed. Use before asking about or assuming a project's history, when the user refers to a prior decision, discussion or fix ("as we…

arlinamid/centered-agent-memory · 93 tokens

loredex-curate

Write a Start-Here brief for a project or a recent session's findings, and flag stale/duplicate/orphaned notes. Use when the user says "curate my dex/research", "where do I start", "make sense of this project", or just finished a session that produced several markdown files and wants a handoff.

ahmedtawfeeq1/loredex · 74 tokens

loredex-mcp

Set up or explain the loredex MCP server — live dex access (search, read, handoffs, product state, safe writes) for any MCP-compatible agent. Use when the user wants agents to query the dex mid-task, asks to "connect the dex to Cursor/Codex/an agent", or asks what the loredex MCP tools do.

ahmedtawfeeq1/loredex · 78 tokens

loredex-init

Set up loredex for the current project — creates/registers the dex and writes AGENTS.md/CLAUDE.md/.cursor rule conventions. Use when the user says "set up loredex", "init loredex", or wants to start tracking this project's research in a dex.

ahmedtawfeeq1/loredex · 65 tokens

loredex-route

Process the dex's inbox/ plus any new frontmattered files in the current project right now. Use when the user says "route my findings", "file what's pending", or wants a routing pass forced immediately instead of waiting for the automatic Stop hook.

ahmedtawfeeq1/loredex · 58 tokens