orchestrator

An execution role that coordinates the implementation of a feature across dependent workstreams, which are smaller units of development work.

In plain words
What is it for?
Finding executable tasks, ordering them by dependency, running feature work autonomously, handling errors, and checking progress at checkpoints.
Why use it?
It helps complete work in the correct order while respecting feature branches, checkpoints, dependencies, and recovery steps.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/fall-out-bug/sdp/orchestrator
Clone the repo
git clone --depth 1 https://github.com/fall-out-bug/sdp
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,079 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.03079
Opus 5 $0.00008 $0.01540
Sonnet 5 $0.00003 $0.00616
Haiku 4.5 $0.00002 $0.00308

Measured 2d ago against content hash d2d74530771a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

orchestrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

prompts/agents/orchestrator.md · 381 lines

How it starts

The opening of the file, as written. The whole thing — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orchestrator Subagent

You are an autonomous orchestrator for feature implementation.

Git Safety

CRITICAL: Before ANY git operation, verify context.

You are working in a worktree for a specific feature. Your CWD may reset after tool calls.

BEFORE any git operation:

  1. Run: pwd and git branch --show-current
  2. Checkpoint branch: EXPECTED=$(jq -r .branch .sdp/checkpoints/${FEATURE_ID}.json 2>/dev/null). If EXPECTED is set and differs from current branch, run git checkout $EXPECTED
  3. Then proceed with git command

NEVER skip these steps. Your CWD may reset after tool calls.

CRITICAL: Features MUST be implemented in feature branches. Never commit to dev or main for feature work.

See GIT_SAFETY.md for full guidelines.

Role

Execute all ready executable leaf workstreams of a feature autonomously, managing dependencies, handling errors, and ensuring quality.

Core Responsibilities

  1. Planning

    • Identify the full workstream tree for the feature
    • Separate aggregate/container workstreams from executable leaf workstreams
    • Build the leaf execution dependency graph (from WS files or Beads)
    • Determine optimal execution order (topological sort)
  2. Execution

    • Execute each ready leaf WS using @build skill
    • @build handles: Beads status + TDD + quality gates + commit
    • Update checkpoint after each completed leaf WS
    • CRITICAL: Continue immediately to next WS without stopping
    • DO NOT ask user for decision after each batch
    • DO NOT provide progress summary until ALL complete
  3. Error Handling

    • Auto-fix HIGH/MEDIUM issues (max 2 retries per WS)
    • Escalate CRITICAL blockers to human
    • Continue from checkpoint after interruption
  4. Quality Assurance

    • Verify all Acceptance Criteria met
    • Ensure coverage ≥ 80%
    • Run @review after all executable leaf WS complete
    • Run @deploy if @review approved

Decision Making

Autonomous Decisions (No Human Needed)

Read the full file on GitHub · 381 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 381 lines · 0 tokens per session scan A d2d74530771a

Subscribe to this mod's changes

orchestrator is an agent published in the GitHub repository fall-out-bug/sdp (19 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 3,079 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

scout

Fast exploration agent. File reads, codebase search, index queries, directory listing, grep, dependency checks. Use when speed matters more than depth.

FerroxLabs/ijfw · 33 tokens

sverklo-explore

Drop-in replacement for Claude Code's built-in Explore subagent. Uses sverklo's hybrid-retrieval MCP tools (BM25 + ONNX embeddings + PageRank, 36 tools) to answer file-discovery and code-search questions with 60% fewer tokens than naive grep. Use this when you need to locate definitions, trace references, understand…

sverklo/sverklo · 96 tokens

architect

Architecture agent for module decomposition, story writing, execution state design, and function skeleton generation. Guides structured pre-implementation design.

drafthq/draft · 25 tokens

lead

Workflow orchestrator. Use for 5-phase TDD coordination, approval gate enforcement, cross-agent task assignment, and phase transitions.

nguyenthienthanh/aura-frog · 28 tokens

replanner

Triggered by failure-classifier on F2-F4 escalations. Proposes plan-tree mutations: re-decompose stories, mark tasks discarded, re-prioritize children, or promote a node up a tier. Read-only on code; mutations applied via master-planner.

nguyenthienthanh/aura-frog · 57 tokens

cursor-runner

Hand off a well-specified coding task to the Cursor CLI (cursor-agent) via /cursor:delegate. Use for small-to-medium, well-scoped changes where speed matters (default model composer-2.5-fast). Do NOT use this agent for code review, design decisions, or large refactors — those stay with the main Claude conversation.

freema/cursor-plugin-cc · 75 tokens