lead-sessions
/lead-sessions
How a lead (orchestrator) session runs the sessions it started or coordinates - routing work, handling their done / waiting / blocked notes, edit boundaries, batching messages, fewest sessions. Use when a session starts, coordinates or receives a note from another session, and at the start of every turn of a lead session.
- Author
- ttilabs11-byte ↗
- Repository
- claude-code-playbook ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
How a lead (orchestrator) session runs the sessions it started or coordinates - routing work, handling their done / waiting / blocked notes, edit boundaries, batching messages, fewest sessions. Use when a session starts, coordinates or receives a note from another session, and at the start of every turn of a lead session.
Original author description
How a lead (orchestrator) session runs the sessions it started or coordinates - routing work, handling their done / waiting / blocked notes, edit boundaries, batching messages, fewest sessions. Use when a session starts, coordinates or receives a note from another session, and at the start of every turn of a lead session.
How it works
- Every turn
- Messages to children
- Fewest sessions
- Autonomous runs (only when the owner asks for one in chat)
SKILL.md preview
---
name: lead-sessions
description: How a lead (orchestrator) session runs the sessions it started or coordinates - routing work, handling their done / waiting / blocked notes, edit boundaries, batching messages, fewest sessions. Use when a session starts, coordinates or receives a note from another session, and at the start of every turn of a lead session.
---
# Lead sessions
A lead routes work; it doesn't do it. Send each task to the session already doing that work or the closest match;
start a new session only if none fits. Track replies and report back to the user. Do the work yourself only when he
explicitly asks.
## Every turn
1. Run `list_sessions` first and handle any child that finished since your last handled note. The app holds every
child's note while any child is still working or waiting at a prompt, so notes can arrive late or bundled with
their message. Handle them before anything else. A lead watchdog checks hourly.
2. Per note:
- **Done:** verify the result (files, diff, output), then give the session its most logical next step from the
plan in the same turn, or archive it (with their yes) if its work is finished. Tell them the outcome.
- **Waiting on you:** answer it yourself when the plan, rules or memory settle it. Bring them only a real fork
(taste pick, money, publishing, irreversible, a hold they asked for), at once, in one line with its exact question
and a link to the session.
- **Blocked:** unblock it or route it.
- **Progress only:** log it; no reply.
3. The lead-guard Stop hook blocks a turn that ends on such a note without a `send_message` to that session or a line
`No next step for <session>: <reason>`.
## Messages to children
- One batched, specific instruction per session, with what done looks like.
- Two children in one repo: start each message with `EDIT-BOUNDARY: <folder>` (the edit-boundary hook refuses edits
outside it; `EDIT-BOUNDARY: off` clears it).
- Children report back with `send_message` to the parent before they stop (the child-report Stop hook enforces it).
A child that needs the user also tells them itself (PushNotification).
## Fewest sessions
Every message wakes a session and re-reads its whole context. Use as few sessions as the work needs, even if slower,
unless they ask for speed or parallel work. Run tasks one after another, not side by side. Wake a session only with
real work; for status, read `list_sessions` or its session log.
## Autonomous runs (only when the owner asks for one in chat)
- You design and review; Sonnet 5.5 subagents build, at most 2 at once (RAM). Each gets a written brief: the stage's
goal, the files it may touch, the check that proves it done. Never hand a subagent a judgement call.
- Before starting: the job's instrument (a test, a render, a measure of what the owner would see) and a `goal.mjs`
done-check; check usage and ask if the weekly limit is near 90%.
- Read every diff a subagent returns and run the instrument yourself before accepting it. Bisect any regression.
- Stop at every gate the owner set (stills, key frames, anything sent or published): an autonomous run never passes one.
Versions
The database has no other skills named lead-sessions.
Database snapshot: 13.11.2026 · package version 7be7acecc715 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100start-team
Start an agent team for this project in one step. Checks the prerequisites, adds the adoption line, and starts <project>-lead in the lead role, or makes this session the lead where no session can be started. Use when the operator asks to start, set up or run an agent team. - 100orchestrator
Run this session as the lead of a team of other local Claude Code sessions. Use when the user says "orchestrate", "team", "roll call", "status", "assign X", "assign X to Y", "who's doing what", "add/remove <session> from the team", or wants to hand out tasks to other terminals and track them. - 100working-as-a-session
How to behave as a worker session started by an orchestrator session. Read the brief, stay in scope, work on your own branch, escalate instead of guessing, and finish with an honest report. Use when you were started with a brief, when an orchestrator (lead or master) session is… - 95messages
Sends and reads messages between lead-flow sessions. Live when the other session is reachable, and always appended to the hub's messages file. Use to send a brief, a question or a "ready to close", at session start, after every pull, and for /lead-flow:messages. - 100orchestrating-sessions
Run an orchestrator session that splits a task across worker sessions or subagents, hands each a brief, tracks them, reviews what comes back and integrates the result. Use when a task has two or more independent parts, when you are the orchestrator (also called the lead, master… - 100lead-worker
Rules for running several Claude Code sessions on one project with one lead and several workers — how the lead dispatches, how workers report, path-scoped commits in a shared working tree, results reported before they are written up, and what a peer's message can and cannot…