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 hibeekaey/agent-sync --skill coordinate-agentsgit clone --depth 1 https://github.com/hibeekaey/agent-syncWrote 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/hibeekaey/agent-sync/coordinate-agents)<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.
<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>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.00074 | $0.00960 |
| Opus 5.5 | $0.00030 | $0.00384 |
| Sonnet 5.5 | $0.00015 | $0.00192 |
| Haiku 4.5 | $0.00007 | $0.00096 |
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 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.
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.
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.
- 1mo ago First seen · 104 lines · 74 tokens per session scan C bd975f51594d
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.
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.
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…
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.
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.
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.
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.