Skip to content
Back to skills

Coordinating

ASecurity

Use when you hand work out to subagents or workers rather than doing it yourself, or it splits into several loops, such as acting as a main or coordinator agent, planning tasks for workers, choosing what runs in parallel or in order, writing briefs, joining and accepting children's results, or taking work the user adds mid-plan.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgobash

Security analysis

A100/100

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

Scanned December 2, 2026

npx -y skills add wayne930242/anchorloop --skill coordinating --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coordinating?

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

Security grade badge for Coordinating
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wayne930242-coordinating/badge)](https://www.skillsdirectory.com/skills/wayne930242-coordinating)

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: coordinating
description: Use when you hand work out to subagents or workers rather than doing it yourself, or it splits into several loops, such as acting as a main or coordinator agent, planning tasks for workers, choosing what runs in parallel or in order, writing briefs, joining and accepting children's results, or taking work the user adds mid-plan.
metadata:
  coordination-contract: "1"
---

# Coordinating

Run the loop in [../anchorloop/SKILL.md](../anchorloop/SKILL.md). The anchor is the plan closed: every task complete on its promised outcome or reported blocked or dropped, every checkpoint's anchor passing on the tree it accepted, and every child accounted for as done, replaced, or dropped.

The coordinator owns the work graph and its checkpoints, and each child owns its own loop. It edits only within anchorloop's Delegation, because a coordinator buried in one task stops placing the rest.

## Seams

Read [seams](references/seams.md) first. It names the six seams a host binds (plan record, dispatch, result route, approval, capacity, escalation route) and the default of each. Below, "the plan", "start a child", "the result route", "the approver", "capacity", and "escalate" mean the bound or default mechanism.

## 1. Choose the graph

Take the first that fits, and name it in the plan:

- **single-loop**: one bounded task, for you or one child. The plan is that task with its anchor, plus any review and merge checkpoints it needs.
- **fan-out/fan-in**: independent branches run in children, and one checkpoint joins their results.
- **orchestrator-worker**: several children, each owning one app's or area's task end to end, with dependency edges between tasks.

A review is a checkpoint, not a graph.

## 2. Write the plan

One task per unit of work, written before its child starts:

- **Outcome**: what the task promises (branch ready, car landed, deployed). A child's exit, a passing check, a finished review, and a landed change are distinct facts; the task completes only on its own.
- **Owner**: the child, or you.
- **Dependencies**: the tasks whose output or landed change it needs. Serialize only on a real dependency or shared files; run the rest in parallel within capacity.
- **Anchor**: the lightest check that fails today. Before dispatch, write each branch-bound check as a plain command in its own code span (e.g. `npm test` or `./check.sh`), and give the child the same `Anchor:` line.
- **Checkpoint**: `own`, or the checkpoint task that accepts it.
- **Detail**: the app, a parallel writer's isolated checkout, and the exact path of any artifact a dependent reads.
- **Wait**: a task waiting on a person or a time names it in the plan, and a scheduled check of yours ends the wait, so no stale notice wakes you.

Anchor kinds:

- **command**: the smallest red-first test, including runnable UI checks; repo-wide checks belong at the checkpoint.
- **separate unbound todo**: manual visual checks, the user's acceptance, or a fresh-context review without an executable check.

## 3. Place checkpoints

Give each checkpoint that anchorloop's Delegation and Review require its own task, dependent on its contributors, with an anchor that runs on the joined tree. Where the project batches merges into a train, the handoff checkpoint is the car slip: carry the worker's final-head risk declaration and re-declare after review commits ([receive-car](../integrating/playbooks/receive-car.md)).

## 4. Brief and start

Before offering the user a choice, read the owning app's instructions and its architecture and UI rules, drop the options they forbid, and quote the rule that settles a design in the brief. Ask the approver before blocked work: a requirement is unclear or contradicts the architecture, or a step needs authorization (a shared merge, a deploy). Otherwise start the ready tasks and revise the plan without asking for confirmation.

Start each child on its role's entry skill:

| Role | Entry skill |
|---|---|
| worker | `coding` for code, `writing` for prose |
| reviewer | `inspecting` |
| scout | `investigating` |
| child that coordinates | `coordinating` |
| planner | `coordinating`, stopping after section 3 with the plan as its report |

Write the brief in English by [agent-terse](../agent-terse/SKILL.md)'s fields, and add the entry skill, the `Anchor:` line, the checkpoints you keep, and a stop condition. End it with: when a decision its quoted authorizations do not cover is needed, or a rule it follows says to ask first, return the question through the result route and stop.

## 5. Accept results

As each result arrives:

1. Read the child's log and diff against its base. For branch-bound completion, rerun each anchor command yourself on the clean branch head (`cd <worktree> && <cmd>` in `bash`, or `MonitorCreate` for long checks). Use plain calls without pipes such as `| tail`; the child's run does not count as yours.
2. Complete the task only on that outcome, then start every task it unblocked, within capacity.
3. A failed or cancelled child: mark its dependents blocked and escalate what comes next.
4. A child's question: answer within the authorizations you hold, else take it to the approver, and send the answer back through the result route.

## 6. Take inserted work

When the user adds work mid-plan:

- Inside your scope, add a task quoting the user verbatim. Outside it, escalate it as a route request.
- Finish the current step at a safe boundary, then take the insert first; leave displaced tasks pending with a note.
- Keep running children going. Stop or redirect one only when the insert shares its files or invalidates its brief, and record that dependency in the plan.
- Tell the user in one line where the insert went.

## Done

Every task landed or reported blocked, every worktree removed after anchorloop's check, and the plan record cleared.

Files in this skill

  • SKILL.md5.6 KB
  • references/seams.md3.7 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.