/orchestre:ready <plan-dir> [--no-dry-run]from Orchestre
Validates that an orchestre plan is ready to execute by checking settings, environment, prerequisites, and running safe verifications without executing any tasks.
Ships in Orchestre. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You check that the plan $ARGUMENTS can run without stopping on what could be settled beforehand. You execute no task of the plan and you change no application code. You only write in the plan folder (PREREQUISITES.md, HANDOFF.md, DISCOVERY.md, orchestre.config.json, and the tasks not started yet for an amendment), after agreement, apart from the settings that settings.mjs writes (1.2) and the migration of a plan of orchestre 0.11 (1.4), which migrate.mjs writes and commits. You never read the content of a .env, of a dump or of a copy of real data. Short messages.
Language: until you know the plan's language, and for a plan of orchestre 0.11 not migrated yet, talk to the user in the language of the conversation. From then on, talk to the user, and write the free text you add to the plan (HANDOFF descriptions, Prerequisite and Evidence cells, DISCOVERY content, verdict), in the plan's language: language of orchestre.config.json, "en" when absent, "fr" for a plan migrated from orchestre 0.11. Keys, values, section titles and commit messages stay in English.
Never during a run of the orchestrator: first have the user confirm that no run is active (/workflows), otherwise stop. The dry run and the commits happen in the main checkout, where the agents work.
plan-lint, in this plugin: node ${CLAUDE_PLUGIN_ROOT}/scripts/plan-lint.mjs.
Note each point without stopping, except where it says so: they go to the verdict.
claude --version: 2.1.271 or later. node --version: 18 or later. The agents orchestre:* are among the available agent types.
Settings: node ${CLAUDE_PLUGIN_ROOT}/scripts/settings.mjs check (below, settings.mjs), which compares the settings of Claude Code with the model of /orchestre:install, rule by rule (workflow, rules of the plugin's scripts for this version, git commands, worktree.baseRef, denials of git push and of the .env), and lists the rules of an older install to remove, those of orchestre 0.11 included. Copy its output.
⚠) block nothing./orchestre:install, then /orchestre:ready <plan> again.settings.mjs apply, copy its first line and go on. Exit code 3: the Bash sandbox refuses writes to the settings files; give the user the command to run at the prompt prefixed with ! (node ${CLAUDE_PLUGIN_ROOT}/scripts/settings.mjs apply), then run settings.mjs check again. If the user declines: stop the check here, and say to run /orchestre:install.Bash(<tool> *)), and the tools of the verifications found in the agents' shell (command -v, otherwise the env key). What is missing there is for /orchestre:install, and goes to the verdict.orchestre.config.json: integration branch (integration_branch; branche_integration in a plan of orchestre 0.11) and base branch (base_branch, branche_base in 0.11; main by default). Git: no uncommitted change on tracked files; the integration branch exists and the plan folder is committed on it. Switch to it now: the plan only exists there. .worktreeinclude lists the .env if there are any.
Plan format: node ${CLAUDE_PLUGIN_ROOT}/scripts/migrate.mjs <plan>, from the main checkout, on the integration branch. If the integration branch does not exist yet, do not migrate: say that /orchestre:run creates it from the base branch and then offers the migration, and stop the check here. Without option, the script only reads: if it answers "already in the 0.12 format, nothing to migrate", go on. Otherwise the plan, or part of it, is still in the French format of orchestre 0.11 or earlier (<plan>/taches/, or SUIVI.md, PREREQUIS.md, suivi.json or French keys left next to <plan>/tasks/ by another clone), which the scripts of this version refuse:
"language": "fr", and that the git history of 0.11 (branches tache/*, commits "tâche : ") is not rewritten.--write: it migrates and commits the plan folder alone (orchestre: migrate plan <name> to the 0.12 format); copy its last lines. If it refuses because suivi.json marks a run "en-cours": the user confirmed at the start that no run is active, so run it again with --write --run-stopped, and say so in one line. Any other refusal or error, or a commit refused by a hook (code 1, files migrated and staged): show the message and stop.git branch --list "tache/*" --no-merged <integration branch>, keeping the plan's task ids: these tasks were started in 0.11 and not merged. Say in one line that they will not be taken back: they start again from the integration branch on task/<id>, and the old branch stays in git, for reference.Untracked folders (git status --porcelain) that a formatter or a linter run on the whole repository would read in the main checkout: report them; their exclusion is for /orchestre:install. Worktrees of earlier attempts: node ${CLAUDE_PLUGIN_ROOT}/scripts/worktrees.mjs clean <plan> --dry-run, which touches nothing; those with changes wait for the user (commit or discard), the others will be removed by /orchestre:run. Free disk space: node ${CLAUDE_PLUGIN_ROOT}/scripts/worktrees.mjs space <plan> --parallelism <n>, n being max_parallelism of the config: copy its line as is. Its ⚠ and its not measured block nothing: they go to the verdict.
Environment setup, in the plan's orchestre.config.json:
setup: the commands that bring a working folder up to date after a branch change or a merge, without touching a shared service: installation of the dependencies from the lockfile, code generation (ORM clients, protobuf, types…). Each worker runs them at start, in its worktree; the integrator, after each merge, before the check.shared_setup: { "<resource>": [commands] }, for a service shared by every working folder (test database, container). They only run for a task that declares that resource in resources, hence never two at a time.
If they are missing, prepare a proposal from the repository (package manager scripts, Makefile, CI, README, DISCOVERY.md): simple commands, without &&, ;, | or export. Have it validated with the prerequisites (section 2), write it after agreement, then run each command once to check that it passes, with the rules of the dry run (section 3): safe commands only, git status before and after. Also report the tasks whose verification touches a shared service without declaring its resource.Permission mode: in manual mode, a verification command that is not allowed will stop the run on a permission request. List those that are not allowed.
Files forbidden to the agents: among the files the remaining tasks cite, spot those whose reading the settings refuse you. Never get around the ban. A versioned template (.env.example, .env.sample, .env.template, .env.dist) refused while .claude/settings.local.json has Read(./.env.*) without its exceptions comes from an install from before orchestre 0.6.2: offer /orchestre:install, which adds them, rather than a review. The others will go to review by the user before the PR: check that a review entry of HANDOFF.md announces them, otherwise offer it. A verification command that reads one would be refused to the verifier and would prove nothing during the run: offer to remove it from the task and to note it in that entry, so that the user runs it themselves before the PR.
Rulings and prerequisites noted outside a run: read plans/<name>/progress.json (not progress.mjs apply, which writes): list, one line each, the pending_rulings (issue, and the option or a free answer) and the pending_done (prerequisites noted done with did). They are not applied yet: /orchestre:run applies them at its pre-flight. Report them in the verdict, and never apply them here. A prerequisite in pending_done counts as done in section 2 only once applied.
node ${CLAUDE_PLUGIN_ROOT}/scripts/plan-lint.mjs <plan> --json --integration <branch>, plus --base <base_branch> if the config gives one: errors, warnings, prerequisites, ready, language. Say the plan's language in one line (the language of its free text). An error "a branch task/ already exists and this plan has never run": that branch holds the work of another plan or of an older attempt, which the worker would take back. Offer to give the plan a free prefix (plan-lint.mjs --used-prefixes, rule of format.md): rename the ids in the names and the frontmatter of tasks/ (id, depends_on), in PROGRESS.md, PREREQUISITES.md and HANDOFF.md, then commit plans/<name>/ on the integration branch, after agreement, and run plan-lint again. The branch itself is deleted only by the user, if its work is no longer needed: ! git branch -D task/<id>. A compound verification command (warning) will be refused to an agent isolated in a worktree: offer to rewrite it as simple commands, or to make it a script of the project owned by the task (or by a tooling task), and write the amendment after agreement.model, model_reason in plan-lint's tasks), one line per task. Report the tasks without a model, which plan-lint warns about: their worker will run on sonnet, and their fixes will follow the config's escalation ladder, without a choice by the replanner. Also report those with a model and no reason. Do not judge the choices, unless the user asks. A model to add or to change goes into the task's frontmatter, after agreement, like an amendment.
challenge: true when it is set. For a plan written before 0.22.0, list the remaining tasks without it whose reason to stand alone is risk (security, data, a migration or a removal: the Own task only for a reason rule of ${CLAUDE_PLUGIN_ROOT}/skills/prepare/format.md), and offer to add challenge: true to their frontmatter, after agreement, like an amendment; then run plan-lint again. Never add it on your own: a marked task costs a challenger pass after each evaluation.fable setting of orchestre.config.json (field fable of plan-lint's JSON). If it is missing while a remaining task is on fable or escalation contains it (plan-lint warns about it), ask the question of /orchestre:prepare: "Use fable for this plan?", "No (recommended)" (costs more, with no gain observed over opus so far) or "Yes". Write the answer in orchestre.config.json after agreement. On "No", or with "fable": false already written (plan-lint makes it an error), offer to move these tasks to opus (reason updated) and to remove fable from escalation, and write it after agreement.needs-human, decisions announced but not taken), in the remaining tasks (decisions cited as to settle, accesses, secrets, external services, real data) and in the source plan if there is one. For each task, tell a real dependency from a mere mention of context. Offer the rows of the table and the prerequisites to add to the tasks, write them after agreement, then run plan-lint again.
An open manual or environment prerequisite without its section ## <ID> · how (plan-lint warns about it): offer its steps (see the format), asking the user what you cannot know (who gives an access, which console), and write them after agreement.decision · major · <ID>: … (settled by the user) under ## source plan in HANDOFF.md;done and evidence "HANDOFF" in PREREQUISITES.md;! for a command that touches a secret, real data or production. When they confirm it is done: status done, evidence "confirmed by the user on " (date +%F), in the plan's language.--no-dry-run)Replay on the integration branch, once each, the verification commands of the remaining tasks of the next phase to run; of all the phases if the user asks.
--fix option, a build that regenerates a versioned file), no stopping of a process (a command that frees a port by killing what holds it). When in doubt, do not run it and offer the user to run it themselves with !.git status --porcelain before the dry run and compare it after: if files changed or appeared, show them and offer to restore them, after agreement. Otherwise, the pre-flight of /orchestre:run will fail.owned_files, absent from the repository): do not run it, note "created by ".; echo "code=$?"), 10 minutes at most each.git worktree add --detach <temporary folder> <base_branch>, then git worktree remove on that folder). Offer to add those failures, and only them, to "Verified commands" in DISCOVERY.md: the evaluator will not count them against the tasks.ready, or what it waits for (open prerequisites, end of an earlier phase, dry-run failure to settle), with the model of each task and its reason, and the tasks without a model. Recall the plan's language. Give plan-lint's token estimate, recalling that the actual figure was 3 to 8 times higher on the pilot (measured with /usage).date +%F; the verdict in the plan's language). With the user's agreement, commit the changed plan files on the integration branch (switch to it if needed), with the message ready(<name>): <short verdict>, the short verdict in English./orchestre:run plans/<name> in a new session.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchestre, plan-validation, pre-flight-check, readiness-check
npx claudepluginhub archibald0/circle-claude-plugin --plugin orchestre6 skills in this plugin
/doneCloses the reviews before the PR and the auto-decisions of an orchestre plan, so that they leave "Your turn" in /progress and the count of /orchestre:status. With the plan folder alone, lists what is still open and applies a one-line answer (done, ticket, keep). To run when the user types /orchestre:done (the /progress pane prepares it when it cannot run progress.mjs itself), and at the end of a plan./installPrepares the current repository for the orchestre plugin (project settings of Claude Code, checked and written by scripts/settings.mjs, .worktreeinclude, formatter exclusions, removal of a manual install or of the settings of an older version). /orchestre:prepare runs it when the settings are missing; to run when the user types /orchestre:install./prepareFor the orchestre plugin only. Use when the user types /orchestre:prepare, or names orchestre itself and asks to prepare, write or convert a plan for it. Never on words such as orchestrator, agents, roles or master plan alone, in any language — they mean another tool or a plan the user follows by hand. Writes a plan that /orchestre:run can execute (folder plans/<name>/) — converts a plan already written or drafts a new one from a goal —, has every decision settled, lists what must be ready (PREREQUISITES.md), then validates it with plan-lint. Installs orchestre in the repository first when its settings are missing./runExecutes an orchestre plan (folder plans/<name>) phase by phase with the workflow orchestre:run-phase. To run only when the user types /orchestre:run./statusShows the progress of an orchestre plan as a compact table (phases, tasks in progress, what waits for the user and when it can be acted on), read-only, including during a run. To run when the user types /orchestre:status.Other plugins' skills for the same job