conductor
Skill207 starsChanged 8 months agoApache-2.0View on GitHub
Orchestrate parallel agent sessions through a sprint. Coordinates task claiming, dependency resolution, and artifact handoff between independent agents. Triggers on /conductor, /sprint, /parallel.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- crbnos/carbontheir own version, first seen Oct 4, 2026
- foundry-studio-lab/nzshrimper-senior-devtheir own version, first seen Oct 2, 2026
- Kshitijpalsinghtomar/depth-skillstheir own version, first seen Oct 1, 2026
- microsoft/conductortheir own version, first seen Oct 1, 2026
- wyattjoh/skillstheir own version, first seen Sep 27, 2026
- RizwanZafaris/product-manager-OStheir own version, first seen Sep 3, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- crbnos/carbon★ 2.7ksame name
- microsoft/conductor★ 466same name
- Baelfyre/Orchestra★ 25same name
- sergeeey/Claude-cod-top-2026★ 9same name
- foundry-studio-lab/nzshrimper-senior-dev★ 4same name
- Kshitijpalsinghtomar/depth-skills★ 4same name
- RizwanZafaris/product-manager-OS★ 4same name
- wyattjoh/skills★ 2same name
- yksanjo/conductor★ 2same name
- IvandoNascimento/skills★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 6 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 177
Complete: Write done file, remove lock.
- Very specific: line 178
Abort: Remove lock directory.
- Distinctive: line 184
Audit trail: Every claim and completion is timestamped with agent identity and PID.
- Distinctive: line 185
Stale lock detection: If a lock is older than 1 hour and the PID is dead, it's considered stale and can be reclaimed.
- Distinctive: line 231
Every phase transition follows this protocol.
- Very specific: line 235
Check for existing session: bin/session.sh resume
- Very specific: line 236
If resumable and user confirms, restore context via bin/restore-context.sh
- Very specific: line 237
If no session exists, create one: bin/session.sh init <type>
- Distinctive: line 239
If MISSING, stop and report which dependencies are not met
- Very specific: line 246
No artifact is saved without context_checkpoint populated
- Distinctive: line 248
If context is running low, the agent reads the checkpoint summary instead of replaying full conversation
- Distinctive: line 273
Stale locks happen: If an agent crashes mid-phase, the lock stays.
“Common” is measured: kept by at least 6 in 10 of the 11 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.
Files
/conductor — Multi-Agent Sprint Orchestrator
Coordinate multiple agent sessions working on the same project. Each agent claims a task, executes it, produces an artifact, and the next agent picks up where it left off.
No daemon. No service. No IPC. Just atomic file operations on .nanostack/conductor/.
Telemetry preamble
Defensive telemetry init. No-op if telemetry is disabled via NANOSTACK_NO_TELEMETRY=1, ~/.nanostack/.telemetry-disabled, or if the helpers are removed.
_P="$HOME/.claude/skills/nanostack/bin/lib/skill-preamble.sh"
[ -f "$_P" ] && . "$_P" conductor
unset _PHow it works
Agent A (claude) Filesystem Agent B (codex)
│ │ │
├─ claim "plan" ────────►│ │
│ [plan.lock = A] │
│ │◄──── claim "plan" ─────┤
│ │ REJECTED (locked) │
│ │ │
├─ complete "plan" ─────►│ │
│ [plan.done + artifact] │
│ │ │
│ │◄──── claim "review" ───┤
│ [review.lock = B] │
│ │ OK (plan.done exists) │Sprint Definition
A sprint is a sequence of phases with dependencies:
{
"sprint_id": "abc123",
"project": "/path/to/repo",
"phases": [
{ "name": "think", "depends_on": [] },
{ "name": "plan", "depends_on": ["think"] },
{ "name": "build", "depends_on": ["plan"] },
{ "name": "review", "depends_on": ["build"] },
{ "name": "security", "depends_on": ["build"] },
{ "name": "qa", "depends_on": ["build"] },
{ "name": "ship", "depends_on": ["review", "security", "qa"] }
]
}Note: review, security, and qa can run in parallel — they all depend on build, not on each other. ship waits for all three.
Commands
Start a sprint
conductor/bin/sprint.sh start [--phases "think,plan,build,review,security,qa,ship"]Creates .nanostack/conductor/<sprint_id>/ with the phase graph. Default is the full workflow.
Claim a phase
conductor/bin/sprint.sh claim <phase> [--agent <name>]Atomic claim using mkdir (POSIX atomic on same filesystem). Fails if:
- Phase is already claimed by another agent
- Dependencies are not complete
- Sprint doesn't exist
Complete a phase
conductor/bin/sprint.sh complete <phase> [--artifact <path>]Marks phase done. Links the artifact if provided. Unlocks downstream phases.
Check status
conductor/bin/sprint.sh statusOutputs the current sprint state — which phases are pending, claimed, done, and by whom.
Abort
conductor/bin/sprint.sh abort [phase]Release a claim without completing. Use when an agent encounters a blocker.
Next
conductor/bin/sprint.sh nextPrint the first phase that is not done, has all dependencies met, and is not currently locked. Empty output means nothing is claimable right now (sprint complete, or all available phases are held by other agents). Use this so an agent that just joined the sprint does not have to parse status to know what to claim.
Unstuck
conductor/bin/sprint.sh unstuck <phase> [--force]Force-release a lock when its owner PID is dead, without waiting the 1-hour grace period that claim uses for auto-recovery. Refuses if the PID is alive (you should let the owner finish or call abort yourself); pass --force to release a lock with a live PID. Use this when an agent crashed without releasing its lock and you need to keep moving.
Batch (auto-parallelize)
conductor/bin/sprint.sh batchReads concurrency metadata from each skill's SKILL.md frontmatter and outputs execution batches. Consecutive read phases with met dependencies are grouped into parallel batches. write phases run one at a time. exclusive phases run alone.
Concurrency classification:
| Value | Meaning | Example |
read | Read-only, safe to parallelize | review, qa, security |
write | Mutates files, run serial | compound |
exclusive | Needs exclusive access (git ops) | ship, guard |
Example output:
{"batch":1,"type":"read","phases":["think"]}
{"batch":2,"type":"read","phases":["plan"]}
{"batch":3,"type":"write","phases":["build"]}
{"batch":4,"type":"read","phases":["review","security","qa"]}
{"batch":5,"type":"exclusive","phases":["ship"]}Batch 4 shows review, security, and qa running in parallel — they share concurrency: read and all depend only on build.
Filesystem Protocol
.nanostack/conductor/
└── <sprint_id>/
├── sprint.json # Sprint definition + metadata
├── think/
│ ├── lock # Contains: {"agent":"claude","claimed_at":"...","pid":1234}
│ ├── done # Exists = phase complete. Contains: {"completed_at":"...","artifact":"..."}
│ └── artifact.json → ... # Symlink to the actual artifact in .nanostack/think/
├── plan/
│ ├── lock
│ └── ...
├── review/ # Can start once build/done exists
├── qa/ # Can start once build/done exists (parallel with review)
├── security/ # Can start once build/done exists (parallel with review)
└── ship/ # Can start once review/done AND qa/done AND security/done existAtomicity
- Claim:
mkdir <phase>/lock.d(atomic on POSIX). If it succeeds, you own it. Write agent metadata, thenmv lock.d lock. - Complete: Write
donefile, removelock. - Abort: Remove
lockdirectory. - No polling: Agents check status only when they need to claim. No background loops.
Security
- Agent isolation: Each agent only writes to phases it has claimed. It reads (never writes) other phases' artifacts.
- Audit trail: Every claim and completion is timestamped with agent identity and PID.
- Stale lock detection: If a lock is older than 1 hour and the PID is dead, it's considered stale and can be reclaimed.
- No credential sharing: Agents use their own credentials. The conductor never touches secrets.
- Artifact integrity: Completed phases are read-only. An agent cannot modify another agent's artifact after completion.
Usage Patterns
Single developer, sequential (most common)
One agent, one sprint. Same as today — the conductor just adds visibility:
You: /conductor start
You: /think → /nano → build → /review → /security → /qa → /ship
[each phase auto-claims and auto-completes]Single developer, parallel review
One build, then fan out review + qa + security in parallel:
Terminal 1: /conductor start
Terminal 1: /think → /nano → build
Terminal 1: /review
Terminal 2: /qa # claims qa (build.done exists)
Terminal 3: /security # claims security (build.done exists)
Terminal 1: /ship # waits until review + qa + security all doneTeam, distributed
Multiple developers, each running their own agent:
Dev A (claude): /think → /nano
Dev B (codex): build (claims after plan.done)
Dev A (claude): /review (claims after build.done)
Dev C (opencode): /security (claims after build.done, parallel with review)
Dev A (claude): /ship (claims after review.done + security.done)Phase Protocol
Every phase transition follows this protocol. The agent executes these steps at every boundary — they are mandatory, not optional.
Pre-phase (before starting a new phase)
- Check for existing session:
bin/session.sh resume- If resumable and user confirms, restore context via
bin/restore-context.sh - If no session exists, create one:
bin/session.sh init <type>
- If resumable and user confirms, restore context via
- Validate upstream dependencies:
bin/validate-dependencies.sh <phase>- If MISSING, stop and report which dependencies are not met
- Update session:
bin/session.sh phase-start <phase>
Post-phase (after completing a phase)
- Save artifact with
context_checkpointviabin/save-artifact.sh- The
context_checkpointmust include:summary,key_files,decisions_made,open_questions - No artifact is saved without
context_checkpointpopulated
- The
- Update session:
bin/session.sh phase-complete <phase> - If context is running low, the agent reads the checkpoint summary instead of replaying full conversation
Session resume (on crash recovery)
bin/session.sh resumedetects the last session statebin/restore-context.shreads all completed phase checkpoints- Skip completed phases, restart the in-progress phase from scratch
Telemetry finalize
Before returning control:
_F="$HOME/.claude/skills/nanostack/bin/lib/skill-finalize.sh"
[ -f "$_F" ] && . "$_F" conductor success
unset _FPass abort or error instead of success if conductor did not complete normally.
Gotchas
- The conductor is optional. Single-agent sprints work without it. The conductor adds value only when multiple agents or sessions are involved.
- Build is manual. The conductor doesn't execute code — it tracks who is doing what. The human or agent does the actual work.
- Don't over-parallelize. review + qa + security in parallel is the sweet spot. Parallelizing think + plan is pointless — they're sequential by nature.
- Stale locks happen. If an agent crashes mid-phase, the lock stays. After 1 hour with a dead PID, any agent can reclaim.
- The sprint is project-scoped. One sprint per project at a time. Starting a new sprint archives the previous one.
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
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.

