agentleFS
GhostlyGawdGhostlyGawd/recursive-harness/skills/coordinate/SKILL.md

coordinate

Skill3 starsChanged 4 months agoMITView on GitHub

Coordinate concurrent agents through collision-safe local claims, bounded leases, idempotent handoffs, and a read-only Mission projection without changing the project or contacting an external service. Use when multiple sessions or worktrees need explicit ownership and handoff evidence.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the bundled deterministic CLI.

    line 8
  2. Distinctive:

    Use a stable operation ID for retry safety and a short owner handle for this work unit:

    line 14
  3. Distinctive:

    Use the same operation ID when retrying a send.

    line 41
  4. Distinctive:

    Read the state machine, command contract, and security and privacy boundary before sharing a state root or making distributed-consensus …

    line 55

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Coordinate

Use the bundled deterministic CLI. Resolve scripts/coordinate.py relative to this file. Existing project instructions, agents, skills, hooks, provider settings, and repository files remain authoritative. Coordinate writes only to its user-private state root.

Acquire before editing a shared scope

Use a stable operation ID for retry safety and a short owner handle for this work unit:

python3 <skill-dir>/scripts/coordinate.py --repository /path/to/repo \
  claim acquire --owner agent-a --target 'src/auth/**' \
  --lease-seconds 900 --operation-id task-123-auth --json

A conflict exits with status 3 and reports the current owner, target, claim ID, and expiry. Do not edit the overlapping scope until the claim is released or expired. Renew a live claim before its deadline; release it when work stops. Release and retry operations are idempotent.

Worktrees of one Git repository share a scope derived from Git's common directory. Independent repositories receive different private ledgers. Non-Git directories use their canonical directory identity. Repository paths are hashed before they enter state or output.

Send a bounded handoff

python3 <skill-dir>/scripts/coordinate.py --repository /path/to/repo \
  handoff send --from agent-a --to reviewer --topic auth \
  --message 'PR ready' --ttl-seconds 3600 --operation-id task-123-review --json

python3 <skill-dir>/scripts/coordinate.py --repository /path/to/repo \
  handoff inbox --as reviewer --json

Use the same operation ID when retrying a send. Acknowledgement is read-once and idempotent. Messages and identifiers are bounded, sanitized private coordination data—not a transcript store.

Project one authoritative ledger

python3 <skill-dir>/scripts/coordinate.py --repository /path/to/repo mission view --json

The portable Mission view is a read-only projection over the same claim/handoff ledger. It is not the full Recursive Mission Control TUI. No remote Agent Mail, Fleet server, MCP adapter, network connector, or credential flow ships in this beta. integration status reports that local-only degraded mode without attempting a connection.

Read the state machine, command contract, and security and privacy boundary before sharing a state root or making distributed-consensus claims.

<!-- provenance: 2026-07-20 session 019f6e76-5f8b-7633-8b19-d7cd457847fa — P-2026-045 portable Coordinate package. -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.