orchestration-init
Skill2 starsChanged 46 days agoMITView on GitHub
Bootstrap the orchestration harness in a target repo by creating configuration, checking project acceptance criteria, and wiring plugin-owned guardrails. Use when the user asks to initialize, install, bootstrap, or set up orchestration in a repository, including the equivalent of the Claude /orchestration-init command.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- amkfbant/claude-codex-orchestrationtheir own version, first seen May 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- amkfbant/claude-codex-orchestration★ 1same name
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.
In this repository7 other files it gives its agents.
- gate-prSkill
- orchestrate-sprintSkill
- orchestrate-ticketSkill
- orchestration-reportSkill
- recover-agent-workSkill
- release-integrationSkill
- scope-ticketSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
If any role uses API execution, instruct the user to put the relevant ANTHROPIC_API_KEY and/or OPENAI_API_KEY in .orchestration/.env beside …
- Very specific: line 57
Do not copy hook commands into project settings.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Initialize orchestration in a target repo
Set up the orchestration harness in the current repository. Be conservative: detect the repo's mechanics, show the inferred config, and get confirmation before writing repo files when running interactively.
Plugin paths
The templates and scripts below live in this plugin, not necessarily in the target repository. Resolve these paths from this skill file before reading or executing them:
../../templates/config.yaml../../hooks/hooks.json../../scripts/orchestration-engine.py../../scripts/preflight.sh../../scripts/merge-guard.sh../../scripts/sweep-agent-worktrees.sh../../scripts/run-plugin-conformance.sh
Execute scripts by absolute path while keeping the target repository as the working directory.
Procedure
- Detect the target repo's stack:
- branches from
git branch -r, inferring configured branch roles - CI check names from
.github/workflows/*.yml - self-check commands from
package.jsonor the repo's language equivalent - ticket system from branch names, recent commits, or repo docs, defaulting
to
nonewhen unclear
- branches from
- Scaffold
.orchestration/config.yamlfromtemplates/config.yaml, filled with the detected values. Show the filled config and let the user correct branch names, checks, ticket settings, andworktree_cleanuppolicy before writing. Keep its safemanualdefault unless the user explicitly opts into automatic removal of clean, unlocked worktrees. After writing, runorchestration-engine.py validate-config. If any role uses API execution, instruct the user to put the relevantANTHROPIC_API_KEYand/orOPENAI_API_KEYin.orchestration/.envbeside the config. Container environment values take precedence. Never display or copy secret values. Ifticket.kind: jira, the same file (in the shared repository root) may holdJIRA_API_TOKENand, for Jira Cloud,JIRA_EMAIL; tell the user tochmod 600 .orchestration/.env, because sprint preflight and sync refuse a group- or world-readable credential file. - Confirm a repo rules document exists. Prefer both
CLAUDE.mdandAGENTS.mdinrules_docs; if missing, offer to create a starter so the project's real conventions have a place to live. - Gitignore
.orchestration/.gate-status/,.orchestration/.gate-logs/,.orchestration/.sprint-state/,.orchestration/.supervisor/,.orchestration/.review-ledger/,.orchestration/.review-results/,.orchestration/.env,.orchestration/.llm-runs/,.orchestration/.llm-usage/, and the configured worktree base. - Do not copy hook commands into project settings. Claude Code and current
Codex hosts may discover
hooks/hooks.jsonafter user review/trust, but support varies by host/version. Show the host's hook-review path when available. Never require registration:merge-on-green.shvalidates all-green evidence directly and the skill performs configured cleanup. - Optionally propose branch protection via
gh api: strict required status checks, no direct pushes, and admin enforcement on production. Show the payload before applying it. - Validate config and smoke-test the hooks in the target repo. Then run
run-plugin-conformance.sh, which exercises the reusable merge-guard and worktree-cleanup suites from the plugin itself. Do not copy plugin tests, scripts, or process docs into the target repository. The target owns only its configuration, rules/acceptance criteria, and project-specific tests.
Report the files created or changed and any manual review left, especially config values and rules-doc content.
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.

