Skip to content
Back to skills

Coordinate

ASecurity

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.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 13, 2026
ai-agentsbashgit

Works with

  • terminal

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 13, 2026

npx -y skills add estebanmr99/lean-agents --skill coordinate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coordinate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coordinate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/estebanmr99-coordinate/badge)](https://www.skillsdirectory.com/skills/estebanmr99-coordinate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: coordinate
description: 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.
---

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

Files in this skill

  • SKILL.md1.8 KB
  • coord-watch.sh3 KB
  • session-prompt.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.