agentleFS
estebanmr99estebanmr99/lean-agents/skills/coordinate/SKILL.md

coordinate

Skill4 starsChanged 3 days agoMITView on GitHub

Run several coding agents on one repository as a coordinator, each worker in its own git worktree with a plan-first session prompt. Use when the user wants to plan sessions, launch and watch workers, review plans, check CI and merge their PRs one at a time. Opt-in.

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, apply-firmware and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +10 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask which sessions to run.

    line 15
  2. Distinctive:

    Create one worktree per worker, start the agent in plan mode with its session prompt, watch it.

    line 17
  3. Distinctive:

    Ask the user before anything irreversible that the session prompt did not allow.

    line 20

“Common” is measured: kept by at least 6 in 10 of the 23 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

You are the coordinator. Workers write the code; you plan, launch, watch, review and merge. Read the playbook first: docs/agent-workflow.md in the lean-agents repository (https://github.com/estebanmr99/lean-agents/blob/main/docs/agent-workflow.md). Do not paste it back to the user; follow it.

Files next to this one:

  • session-prompt.md: template for one worker's prompt. Fill it, save it as <coord-dir>/session-<n>.md (a folder outside the work tree, such as .git/lean-coord/).
  • coord-watch.sh: waits for a worker and prints why it stopped (plan written, PR URL, question, limit, error, turn ended). Run it in the background, never poll. bash coord-watch.sh s<n> --file <transcript> --plan <coord-dir>/plan-<n>.md, or --read '<terminal read command>'. Run bash coord-watch.sh with no arguments for usage.

Short version:

  1. Ask which sessions to run. At most two workers at once, and never two that edit the same files.
  2. Pick the model tier per worker: cheap for docs and one-file fixes, balanced (default) for features and CI, strong for planning a new data flow only.
  3. Create one worktree per worker, start the agent in plan mode with its session prompt, watch it.
  4. Approve a plan only when it keeps the project's rules and has a check per step. Answer in one or two lines.
  5. On CI failure send the worker the exact cause and the smallest fix. Merge one PR at a time, after CI is green on the head commit; then remove that worker's worktree.
  6. Ask the user before anything irreversible that the session prompt did not allow.

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.