orchestrate-build

orchestrate-build is a skill for Claude Code, Codex from SteveVitali/agent-skills. It costs 77 tokens per session (6,097 once invoked), scanned A, original, MIT.

A workflow for completing a software project from a broken-down specification, one ticket at a time. It uses a separate fresh working context for each ticket and records progress in a file-based ledger.

In plain words
What is it for?
It helps set up a dedicated worktree, implement tickets, update the progress ledger, pause between tickets for review, and run a final whole-project verification.
Why use it?
Long coding sessions can lose focus or accumulate confusing context. This keeps each piece isolated while preserving the project’s progress between sessions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also runs codex exec. Also seen: mentions subagents; mentions Claude Code; mentions AGENTS.md.

Part of the agent-skills plugin — 11 skills shipped together

Good fit It helps set up a dedicated worktree, implement tickets, update the progress ledger, pause between tickets for review, and run a final whole-project verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stevevitali/agent-skills/orchestrate-build
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.

Any agent
npx skills add SteveVitali/agent-skills --skill orchestrate-build
Clone the repo
git clone --depth 1 https://github.com/SteveVitali/agent-skills

Made for: Claude Code, Codex.

Or install agent-skills, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orchestrate-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/stevevitali/agent-skills/orchestrate-build/github.svg)](https://agentmods.dev/skills/stevevitali/agent-skills/orchestrate-build)
Your own site
<a href="https://agentmods.dev/skills/stevevitali/agent-skills/orchestrate-build"><img src="https://agentmods.dev/badge/skills/stevevitali/agent-skills/orchestrate-build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orchestrate-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/stevevitali/agent-skills/orchestrate-build"><img src="https://agentmods.dev/badge/skills/stevevitali/agent-skills/orchestrate-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,097 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 62
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.1 $0.00077 $0.06097
Opus 5 $0.00039 $0.03048
Sonnet 5 $0.00015 $0.01219
Haiku 4.5 $0.00008 $0.00610

Measured 2d ago against content hash 91cb0fd02cc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

orchestrate-build 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/drive-build.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/orchestrate-build/SKILL.md · 317 lines

How it starts

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

Orchestrate Build

Drive a decomposed spec to completion across fresh contexts — one ticket at a time, each executed end-to-end by implement-spec, with a durable ledger as the only cross-session memory — reporting progress and pausing for intervention, and finishing with a whole-build capstone. This is the execution half of a multi-session build; decompose-spec produced the plan, implement-spec is the per-ticket worker.

The mental model. Three roles, cleanly separated. State lives on disk (the ledger). Cognition lives in fresh, disposable contexts (each ticket, the capstone). Sequencing is a dumb loop that reads the ledger, dispatches the next unit to a fresh context, and writes the ledger back. Because sequencing holds no state and cognition is always fresh, nothing accumulates context across the build — the thing that rots long autonomous runs is designed out, not merely managed.

Why a fresh context per ticket, and the one hard constraint

A fresh context can only be created from outside the context being refreshed — no prose can make a running context clean itself. So "run the next ticket fresh" always binds to one of four external initiators, and this skill degrades gracefully down that ladder to whatever your harness offers (see Dispatch below):

  1. a sub-agent primitive (isolated child context), 2. a headless process loop (drive-build.sh),
  2. a scheduler re-invoking a headless run, 4. a human re-invoking (the universal floor).

The spine of this skill — the ledger, the loop, the capstone — is harness-agnostic prose that even a human with a terminal can execute. Only the dispatch step binds to harness capability.


0. Orient (every invocation)

  • Resolve the ledger. If ledger was given, read it. If only spec was given, invoke the decompose-spec skill (skills/decompose-spec/SKILL.md) first, then use the ledger it seeds.
  • Confirm the working checkout. If a buildWorktree is set in the ledger, confirm cwd is it (git rev-parse --show-toplevel); if not, and you are the orchestrator process, cd there — a command run in the wrong worktree corrupts the wrong branch.
  • Resolve the memory root + mode. bash <skills>/build-memory/scripts/memory-root.sh "$buildWorktree" prints mode=<committed|scratch> and root=<abs path>. In committed mode the ledger is <root>/LEDGER.md, committed and travelling with the chain tip (a sibling worktree reads its own tip, not the main worktree's copy); in scratch mode it is the legacy gitignored ledger, unchanged.
  • Read CURRENT STATEnextTicket, lastCompleted, blockedOn, pauseRequested, returnPass, manifest, memoryRoot, chainTip, autonomy. The manifest: key names the plan (docs/tickets/00_MANIFEST.md); the tickets themselves are the contracts the worker loads.
    • Legacy ledger (PHASE PLAN present, manifest: absent): drive it from its own PHASE PLAN. On nextTicket: CAPSTONE, run decompose-spec mode=extend tail=full to convert it to v2 (write the manifest if missing, append the standard tail rows) and continue — unless legacy_capstone=true, which runs the one-context procedure retained verbatim in modes/legacy-capstone.md (BM-COMPAT-03).
    • projectStatus: DONE → print the completion summary (every ticket PR + the tail PRs) and STOP.
    • blockedOn non-empty → surface it, ask how to proceed, STOP. Never guess past a block. (A pending gate is NOT a block — it is a RETURN PASS row; §2.1.)
    • pauseRequested: true → report where the build stands and STOP (the human asked to intervene).
    • nextTicket: SETUP → §1. Otherwise → §2 (the tail rows CAP.*, REC.*, DOC.* are ordinary chain tickets; there is no special CAPSTONE unit in v2 — see §3).
  • Determine the dispatch tier from dispatch (or auto-detect: headless if a supported agent CLI is on PATH, else subagent if the harness exposes one, else manual). Record it.
  • Check dispatch-vs-sizing coherence. Read the ledger's dispatchTarget (what decompose-spec sized the tickets for). A subagent worker cannot compact, so it has a hard one-window ceiling; a headless worker can compact. If the tickets were sized for headless but you can only dispatch via subagent, they may overflow — raise the dispatch tier, or re-run decompose-spec with dispatch_target=subagent. Warn and let the operator decide rather than proceeding into likely overflow.

Read the full file on GitHub · 317 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +43 lines 91cb0fd02cc8
  2. 8d ago Changed · +3 lines 682cf96e40aa
  3. 12d ago First seen · 271 lines · 77 tokens per session scan A 3a8826ed3fba

Subscribe to this mod's changes

orchestrate-build is a skill published in the GitHub repository SteveVitali/agent-skills (12 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 6,097 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

neat-freak

Knowledge and governance closeout: reconcile project docs, rule files (CLAUDE.md/AGENTS.md), authorized agent memory, and workspace residue with what the code and runtime actually do, so the next session or the next person starts from one current answer. Trigger when the user names "neat-freak", "洁癖", or "/neat" — and…

KKKKhazix/khazix-skills · 202 tokens

issue-triage

Triage and categorize GitHub issues with priority labels. Use when user says "triage issues", "check issues", "review open issues", or during regular maintenance of GitHub issue backlog.

decebals/claude-code-java · 44 tokens

feature-dev

Guide a feature implementation through a structured seven-phase workflow with deep codebase understanding, clarifying questions, parallel architecture design, and quality review. Use this skill when the user asks to build a new feature, add functionality, or wants a methodical approach to implementation rather than…

waybarrios/opencode-power-pack · 62 tokens

product-manager-toolkit

Use when the user needs product management workflows such as RICE prioritization, customer interview analysis, PRD templates, discovery frameworks, go-to-market strategy, feature prioritization, research synthesis, or requirements documentation.

majiayu000/spellbook · 47 tokens

artifact-metadata

Manage artifact metadata, versioning, ownership, and review history across the SDLC lifecycle.

jmagly/aiwg · 21 tokens

mention-conventions

Display @-mention naming conventions and placement rules.

jmagly/aiwg · 13 tokens