Project setup (orch-onboard)
Before the first plan in a project, orch checks what the project has for its agents: the stack, the commands, the rule files and the skills each agent can see. If something is missing, the lead offers to set it up. Nothing is written without your tick.
You don’t have to type anything extra. /orch-plan does the check by itself, and the free part costs no AI. You can also start it by hand: /orch-onboard (Claude Code, OpenCode), $orch-onboard (Codex), /skill:orch-onboard (Pi) or “use the orch-onboard skill” (any agent).
What happens, by project
Section titled “What happens, by project”| The project | What orch does |
|---|---|
| No skills at all (a new project) | The lead reads a few real files and offers a full setup: an AGENTS.md with your commands and up to 3 short skills about this repo |
Has skills, never checked (rupee-flow with 21 skills in .agent/skills) |
It adds no extra skills. It only lists real gaps, for example “Codex can’t see your skills”, “no file names your test command” or “4 skills clash with orch”. With no gaps it says nothing and plans |
| Checked or skipped before | It says nothing and plans. If a feature needs something no skill covers, the plan can say so in one line |
Example
Section titled “Example”/orch-plan add budget alerts
Lead: I looked at rupee-flow first. Stack: Next.js, Supabase, Tailwind, Vitest Commands: npm run dev, npm test, npm run lint Skills: 21 in .agent/skills (AGY sees them, Codex sees none)
What should I set up? [x] Add the test, lint and build commands to AGENTS.md [x] New skill supabase-changes: how this repo adds tables [x] Link .agents/skills -> .agent/skills so Codex sees your 21 skills [x] Tell coders to skip 4 skills that clash with orch Where should it go? (•) Only for me ( ) Share with the repoYou tick and choose, the lead writes the files, and then it plans your feature in the same turn.
Only for me, or share with the repo
Section titled “Only for me, or share with the repo”| Choice | What happens | Good for |
|---|---|---|
| Only for me | The files stay in your project folder and are hidden from git on your machine only, through .git/info/exclude. The repo’s .gitignore is not touched. Nothing is committed and teammates never see the files |
Company and team repos |
| Share with the repo | orch commits the files on their own branch, orch/onboard, pushes it and opens a PR. Your current branch and folder stay as they are, and you merge the PR |
Your own projects |
In both cases every coder gets the files. Each coder works in its own folder (a git worktree), and hidden files don’t show up there by themselves, so orch links them in when the coder’s milestone starts.
Your skills are never changed
Section titled “Your skills are never changed”-
orch never edits, moves or deletes a skill or rule file you already have.
-
A fact that is missing, like your test command, goes into
AGENTS.md. IfAGENTS.mdexists, orch adds one marked block and leaves your own lines alone:/orch-onboard <!-- orch-onboard -->Tests: npm test (Vitest, test files next to the code)In only for me mode, orch never changes a tracked file quietly. Those lines go to orch’s own notes (
.orchestrate/onboard-notes.md) and from there into every coder’s task. -
A topic that is missing becomes a new short skill about this repo: real folders, real commands, one example file. orch never downloads or suggests outside skill packs.
-
orch never creates a skill whose name an agent already sees, so no agent lists a skill twice.
orch onboard checkshows any skill that an agent sees twice.
Each agent reads its own folder
Section titled “Each agent reads its own folder”| Agent | Skill folder inside the repo |
|---|---|
| Antigravity (AGY) | .agent/skills |
| Codex, Amp | .agents/skills |
| Claude Code | .claude/skills |
| Pi | .pi/skills and .agents/skills |
| OpenCode | .opencode/skills, .claude/skills and .agents/skills |
So the skills in .agent/skills are invisible to Codex. orch fixes that with one folder link (.agents/skills -> .agent/skills), not copies. You edit one copy, and both agents read it. The list is project_skills_reads in the agent registry. It comes from each tool’s documentation and was not tried with every tool.
Skills in a run
Section titled “Skills in a run”- When the lead plans, it gives each milestone the skills that fit:
Skills: supabase-changes, test-driven-development. The coder’s task file lists them under Skills for this step, with what each one is for. - Some skills do orch’s job:
using-git-worktreesmakes its own folder,finishing-a-development-branchmerges or pushes, anddispatching-parallel-agentsorsubagent-driven-developmentstart helper agents. In a run the coder’s task says not to use them, because orch already does that. Outside orch they work as before.orch onboard done --no-clash-noteturns this note off. orch syncwarns about aSkills:name the repo doesn’t have, or one that clashes.
Agent profiles (beta)
Section titled “Agent profiles (beta)”A profile is one specialist of this project: the folders it owns, the rules for that part of the repo, its skills and its check. They live in .orchestrate/profiles.md, which stays on your machine and is never committed. A project without the file works exactly as before.
## webRole: senior frontend engineer with a designer's eyeOwns: apps/web/Check: cd apps/web && pnpm testSkills: frontend-design, ~/.claude/skills/react-patternsRules:- New screens go in apps/web/src/features/<feature>/, like the others- Reuse components from packages/ui; a new shared one goes thereReview: keyboard access; no hard-coded colours
## reviewerRole: strict reviewerRules:- Every new API route has a test that calls it- Which profiles: none is built in.
/orch-onboardlooks at the repo’s real folders and offers only what it finds: one profile per component when the repo has two or more. A component is any folder with its own manifest, a Dockerfile, a docker-compose service built from it, or enough code, whatever its name (core,worker,retriever,apps/web), with what it does read from its imports (background jobs, search and retrieval, document processing…). Helper, docs and data folders are left out, and at most 8 are offered. It also offers a database profile when there is a migrations folder, tests and infra profiles when there are end-to-end tests or CI files, and alwaysreviewerandall. You tick the ones you want. - In a plan: the lead writes
Profile: webon a milestone. The coder’s task then gets that profile’s role, folders, house rules, skills and check, and nothing from the other profiles. What the milestone itself says comes first (its ownRole:,Skills:,Side:), then the profile, then the plan’s defaults.Profile: none, or no line, means no profile. - Skills outside the repo:
~/.claude/skills/react-patterns(a personal skill) orplugin:<plugin>:<skill>. When the coder’s tool reads that folder by itself, the task names the skill; when it doesn’t (Codex and a Claude skill), the task gives the file to open. A plugin skill is taken from the installed plugin (Claude Code’sinstalled_plugins.json, else the newest version in its cache), never a marketplace copy, and a Claude coder is told it has it only when the plugin is turned on. A skill that does orch’s job (likeusing-git-worktrees) is never given to a coder, wherever it lives. - Folders (
Owns:): written from the repo’s top folder, separated by commas (apps/web/, packages/ui/); a glob works (apps/*/); put a folder with a space in backticks (`apps/my web/`). An absolute path or..stops the plan. Each review lists the files the milestone changed outside its profile’s folders. orch fixkeeps the milestone’s profile: the follow-up gets the same rules, folders, check andReview:points.- The
reviewerprofile goes into every review by itself, through the one reviewer the run already has (normal mode and Pi subagent mode). A coder profile’sReview:points are added to the review of that milestone. - Where a rule goes: a rule for the whole repo stays in
AGENTS.md; a rule for one part goes in that profile.orch syncwarns when a profile repeats a line ofAGENTS.md,CLAUDE.mdorcoding-standards.md, and when two profiles share a rule. orch never editsAGENTS.md; onboard only points at a line that is about one part. - No-cost testing (
## all): a profile namedallgoes into every coder’s task and every review./orch-onboardoffers it with the no-cost rules (tests never call a paid AI, payment, SMS or email service; mock the backend too; a missing mock fails; live tests only after you say so) andHide keys:with the keys it finds in your packages and.env.example(never.env). orch runs every check without those keys, so a forgotten mock fails instead of spending money. UI parts get one Playwright line (a chat test sends a message and gets a mocked AI reply). - Never committed: orch hides
.orchestrate/from git (.git/info/exclude, this machine only) as soon as it reads or suggests profiles, andorch onboard donerefuses any path under.orchestrate/. orch syncchecks: an unknown profile,Profile: revieweron a milestone, or a badOwns:path stops the plan; two sections with the same name are a warning; a folder that is gone, a skill that isn’t there,Likely filesoutside the profile’s folders, an unknown line, a profile over 1,200 characters or one with no rules are warnings.
Commands
Section titled “Commands”| Command | What it does |
|---|---|
orch onboard [--json] |
What the project has for its agents and what is missing. No AI; it changes nothing but hiding .orchestrate/ from git |
orch onboard skills |
The project’s skills and what each is for (the names for Skills:) |
orch onboard check |
Any skill an agent sees twice (exit 1) |
orch onboard link <folder> <to> |
One folder link so another agent sees the same skills |
orch onboard done --mode local|shared <paths> |
Record the setup: hide the files on this machine, or commit them on orch/onboard with a PR |
orch onboard skip |
Don’t offer the setup in this project again |
orch onboard status |
What setup did here |
orch lead onboard |
The lead’s setup playbook (what /orch-onboard runs) |
Set ORCH_ONBOARD=0 to turn the check in orch lead plan off. In a workspace of several repos, run the setup inside each repo.