/orchestre:prepare <existing plan (file or folder) | goal of the plan>from Orchestre
Converts existing plans or drafts new ones into the orchestre executable format under plans/<name>/, validates with plan-lint, and installs orchestre settings if missing.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Role: planner. You change no application code. You never open a .env, a dump or a copy of real data: you spot them by their name. You produce plans/<name>/ in the format described in ${CLAUDE_SKILL_DIR}/format.md: read it in full before writing anything.
plan-lint, in this plugin: node ${CLAUDE_PLUGIN_ROOT}/scripts/plan-lint.mjs.
This skill runs on opus (field model), which also chooses the model of each task. That setting only holds for the current turn: ask all your questions with the question tool, which keeps the turn. An answer typed in the prompt would hand back to the session's model.
Talk to the user in the language of the conversation; the questions and options quoted below are given in English, ask them in that language.
Input: $ARGUMENTS. A path that exists (file or folder): conversion of that plan. Otherwise: goal of a new plan. Nothing: ask which of the two.
A folder plans/<name>/ already written for orchestre is not a plan to convert: in the format of orchestre 0.11 or earlier (taches/, SUIVI.md), say that /orchestre:ready plans/<name> migrates it to the 0.12 format, and stop; in the 0.12 format (tasks/), say it is already a plan, ready for /orchestre:ready, and stop.
main, unless the user names another), up to date, without uncommitted changes: otherwise, stop and say so.node ${CLAUDE_PLUGIN_ROOT}/scripts/settings.mjs check (below, settings.mjs), from the root of the repository. It compares the settings of Claude Code with the model of /orchestre:install, rule by rule.
⚠) in one line each.${CLAUDE_PLUGIN_ROOT}/skills/install/SKILL.md and do its sections 1 to 5, as /orchestre:install without --team, on this base branch. That file is read as is: where it names the root of the plugin through a variable, use ${CLAUDE_PLUGIN_ROOT}. Each of its agreements goes through the question tool, with options that fit the step: "Yes (recommended)" and "No" for a write or a commit, several choices at once for the project commands, a folder in "Other". Where it says to stop, stop the install and go on preparing the plan, as for a refusal. Its summary (section 7) in two lines at most; a file it changed without committing it (.worktreeinclude) is repeated in the summary of step 6, to commit before /orchestre:run. Then go on.settings.mjs apply; copy its first line. 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.settings.mjs check again), or to go on without the install./orchestre:ready and /orchestre:run will stop until /orchestre:install has written the settings, and repeat it in the summary (step 6).plans/<name>/ already exists, stop and ask.language, see "Language" in format.md), with the question tool: "Language of the plan?", with two options: the language of the conversation first, recommended, then English; when the conversation is in English, the second option is the language of the source plan for a conversion, French otherwise. The tool adds "Other" on its own. Note it as a short code (fr, en, es…). From here on, you write the free text of the plan in that language: task titles, launch prompts and body sections, criteria of definition_of_done, model_reason, HANDOFF descriptions, Prerequisite and Evidence cells, DISCOVERY content. Keys, values, section titles, table headers and legends, commands and commit messages stay in English.Delegate the exploration to subagents and keep only their conclusions:
CLAUDE.md, AGENTS.md, .claude/rules/, skills of the project or of the organization, README, manifests and CI;Then the baseline of the tests: run them once and note the failures already present, only if they write into no shared database (such as the development database) and read no real data. Otherwise, do not run them: ask the user to run them themselves with ! and to paste the outcome.
Sum up in one page at most: that summary seeds DISCOVERY.md.
Read the source plan in full. Keep its splitting, its vocabulary and its decisions: you convert it into this format, you do not rewrite it. If the plan's language differs from the source plan's, translate its free text and keep its terms.
format.md) keeps it apart. Each change of splitting goes into the summary.phase and depends_on come from the order and the links of the source plan. What it does not say, take from the exploration: owned_files, resources, verification (real commands, checked at step 1), definition_of_done (criteria demonstrable by the diff or by a command), model and model_reason (see below), effort according to the difficulty.haiku, sonnet or opus given by the source plan is kept, with its reason. Otherwise (absent, fable or other), choose it with the criteria below and say so in the summary. A task the source plan put on fable will be offered checked at the fable question (2d).decision · major · … in HANDOFF.md, under a heading ## source plan.Split along the rules of format.md, model of each task included (criteria below). A question that changes the splitting itself is asked before splitting, along the rule of step 3.
Each task needs one of the reasons of "Own task only for a reason" (parallel, contract, risk, size). Before writing, go over each pair of tasks of one phase where one depends on the other and both own the same files: merge them, unless a reason keeps them apart.
Mark challenge: true in the frontmatter of each task whose reason to stand alone is risk (security, data, a migration or a removal), and only those: the challenger will try mutations of its code after its evaluation (key described in format.md). Say how many tasks you marked, and which, in the summary (step 6).
Each task gets model and model_reason, a required line that says why this model:
haiku for mechanical work: renaming, documentation, configuration;sonnet by default to implement;opus for architecture, ambiguous tasks and those that touch several modules.Never choose fable on your own: only on the tasks the user designates (2d). The final global review is on opus. The workflow launches the worker on this model, as is; after a rejected attempt, the replanner chooses the model of the fix, never below this one.
Once the models are chosen, ask with the question tool: "Use fable for this plan?", with two options, in this order:
On "No": "fable": false in orchestre.config.json, and no task on fable. On "Yes": "fable": true, then offer the tasks you put on opus (global review included), with multiple-choice questions of 4 tasks at most, with the title and the reason of each. Those the user checks move to fable, with the reason "fable at the user's request, instead of opus: ", in the plan's language. The others stay on opus. Never put fable in escalation.
For a conversion as for a new plan: if the goal, the source plan or the exploration plans an evaluation the agents do not run themselves (a live run on the production model, a benchmark on real data), reserve a task "fixes after the evaluation" in the phase that follows it. It owns the modules the evaluation targets and cites a manual prerequisite for the evaluation. Its findings are written into it as criteria of done, by the pilot between two runs, instead of new tasks.
Nothing that can be known before the run must be discovered during it.
decision · major · <ID>: … (settled by the user) under ## source plan in HANDOFF.md, the description in the plan's language. Keep the id of the source plan (D5), otherwise number D1, D2… If it changes a task, write the task accordingly.decision row, status open, of PREREQUISITES.md; the tasks it affects cite it in prerequisites and will wait for it.manual row per need, with the expected evidence. Ask the user which are already done; never read a secret to check it.environment row, with a safe command as evidence when there is one.
manual or environment row still open, a section ## <ID> · how under the table (see the format): the steps the user will follow, numbered, concrete (what to get and from whom, where to put it, how to mark it done). Do not invent a team, a console or a person: ask the user, with the decisions. The /progress pane shows these steps in the detail card..env.example, .env.sample, .env.template, .env.dist) refused by the rule Read(./.env.*) of an install from before orchestre 0.6.2 is for /orchestre:install, which adds its exceptions, not for a review. A task that would have to change a file that stays forbidden does not own it (owned_files): the change is the user's, before the PR. Describe it in the "Out of scope" section of the task, and note an entry review · major · <file>: <expected change> under ## source plan in HANDOFF.md. No verification command reads a forbidden file: the verifier would see it refused, and it would prove nothing during the run. Put it in the review entry, so that the user runs it themselves before the PR.prerequisites the ids it needs, and only those.Ids first: node ${CLAUDE_PLUGIN_ROOT}/scripts/plan-lint.mjs --used-prefixes lists the prefixes that the other plans of this repository and the branches task/* already use (the branches belong to the repository: a plan whose ids another plan used would take back its branches). Take T if it is not in the list; otherwise two or three capital letters from the plan's name (auth-sso → AS, billing → BI) that are not in it. Never D, H or E alone: the prerequisites use them. A converted plan follows the same rule; the source plan's ids stay in the notes of each task when the user refers to them.
Write plans/<name>/: the tasks in tasks/, each with model and model_reason; PROGRESS.md (every task at todo); HANDOFF.md; PREREQUISITES.md (empty table if the plan expects nothing); DISCOVERY.md seeded with step 1; orchestre.config.json with integration_branch: "plan/<name>", the base branch in base_branch, language (step 0), fable (2d), and the environment setup (setup, shared_setup, see the format) taken from the repository: simple commands, to have validated by the user. End the plan with a global review task on opus, read-only.
node ${CLAUDE_PLUGIN_ROOT}/scripts/plan-lint.mjs plans/<name>: fix until "valid plan".plan/<name> from the base branch and commit only plans/<name>/, with the message plan(<name>): initial plan. Run plan-lint again with --integration plan/<name> (and --base <branch> if the base is not main).Give the table of PROGRESS.md and the number of tasks, then one line per task: why it stands alone (parallel, contract, risk or size, in a few words; challenge: true for the risky ones) and why this model, the fable setting and the language of the plan, then the estimate line and the "Ready to run" block of plan-lint. List next the open prerequisites, that is what remains to do before launching, with the first phase each one blocks. Add the reviews to plan before the PR. For a conversion, add the correspondence table (task or section of the source plan → orchestre task) and what was split, merged or added (global review included). Next: /orchestre:install if the settings were declined at step 0, /orchestre:ready plans/<name> the day before the launch, then, in a new session, /orchestre:run plans/<name>, with a first run in "stop at each phase" mode.
What SKILL.md sets; muted values are Claude Code's defaults
opusThree short reads, in order
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./readyChecks that an orchestre plan is ready to run, without executing any task — settings and environment, migration of a plan of orchestre 0.11, prerequisites of PREREQUISITES.md (decisions to settle on the spot, manual actions), dry run of the safe verifications — and gives a verdict phase by phase. To run the day before, when the user types /orchestre:ready./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