init-project-orchestration
Skill150 starsChanged 10 days agoMITView on GitHub
Create or migrate project-level agents, repeatable project workflows, and planning state from one client-neutral contract, then render repository-scoped adapters for both Claude Code and Codex. Use when a research project needs role separation, project commands, formal phase tracking, or conversion from an existing Claude-only .claude/agents and .claude/commands setup.
In this repository89 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- beamer-deckSkill
- bib-coverageSkill
- bib-filterSkill
- bib-parseSkill
- brief-compliance-checkSkill
- camera-readySkill
- causal-designSkill
- checkpointSkill
- code-archaeologySkill
- compile-knowledgeSkill
- computational-experimentsSkill
- cross-language-checkSkill
- data-analysisSkill
- devils-advocateSkill
- docs-consistencySkill
- docxSkill
- experiment-designSkill
- grill-meSkill
- handoffSkill
- ideasSkill
- init-project-courseSkill
- init-project-lightSkill
- init-projectSkill
- insights-deckSkill
- interview-meSkill
- knowledge-lintSkill
- latex-diffSkill
- latex-health-checkSkill
- latex-polishSkill
- latex-postersSkill
- latex-scaffoldSkill
- latexSkill
- latex-templateSkill
- lean-checkSkill
- math-proofSkill
- mcp-builderSkill
- method-auditSkill
- multi-perspectiveSkill
- numerical-checkSkill
- pdfSkill
- pipeline-manifestSkill
- playwright-cliSkill
- postmortemSkill
- pre-commit-auditSkill
- pre-submission-reportSkill
- project-deckSkill
- project-safetySkill
- proof-readabilitySkill
- proofreadSkill
- python-envSkill
- quarto-deckSkill
- reorgSkill
- replication-auditSkill
- replication-packageSkill
- retarget-journalSkill
- review-clusterSkill
- review-responseSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 7 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
Create the project source once under .ai/orchestration/.
- Very specific: line 35
Read the active client's project guidance.
- Very specific: line 38
Read .context/field-calibration.md, project memory, and .planning/ when present.
- Distinctive: line 48
Do not overwrite anything during assessment.
- Very specific: line 52
Read the applicable preset under templates/presets/ and present:
- Distinctive: line 59
Ask for one confirmation covering additions, removals, names, and project-specific standards.
- Very specific: line 67
Create one neutral agent source per confirmed role using templates/agent-template.md.
- Very specific: line 69
Create one neutral command source per confirmed workflow using templates/command-template.md.
- Very specific: line 71
Always include commands/update-state.md, starting from templates/update-state-command.md.
- Very specific: line 86
Keep write_policy.git: forbidden unless the user explicitly authorizes Git mutation as part of that role.
- Very specific: line 90
Treat every data/raw/ path as read-only.
- Distinctive: line 94
If legacy project agents or commands exist:
- Distinctive: line 96
Read every non-generated legacy file.
- Very specific: line 125
Never edit a generated adapter.
- Very specific: line 129
Create .planning/roadmap.md and .planning/state.md from the bundled templates only when they are absent.
- Distinctive: line 133
Add a short pointer to each existing client guidance file without duplicating the orchestration body:
- Distinctive: line 141
Do not create or overwrite a large CLAUDE.md or AGENTS.md merely to install orchestration.
- Distinctive: line 154
Do not commit or push unless the user separately requests it.
≈ “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 project orchestration
Create the project source once under .ai/orchestration/. Treat Claude Code
and Codex files as generated adapters, never as parallel authoring surfaces.
Resulting structure
.ai/orchestration/ # canonical, client-neutral source
├── manifest.yaml
├── agents/<role>.md
└── commands/<workflow>.md
.claude/agents/project-<role>.md # generated Claude agent
.claude/commands/project/<workflow>.md
.codex/agents/project-<role>.toml # generated Codex agent
.agents/skills/project-<workflow>/SKILL.md
.planning/roadmap.md # shared project state
.planning/state.mdClaude exposes a workflow as /project:<workflow>. Codex exposes the same
workflow as $project-<workflow>. Both adapters derive from the same neutral
command body. The namespace prevents collisions with global skills.
Phase 1: Assess
- Resolve the project root from the argument or current directory. Confirm it is the intended research project before searching elsewhere.
- Read the active client's project guidance. Read neutral project facts from
AI.md,README.md,docs/, and.context/; do not treat the sibling client's guidance file as an additional instruction set. - Read
.context/field-calibration.md, project memory, and.planning/when present. - Classify the project:
- experimental: data preparation and empirical estimation;
- computational: software, algorithms, simulations, or experiments;
- theoretical: formal models and proofs;
- mixed: select roles and workflows from more than one preset.
- Inventory existing neutral sources and generated adapters. Also inventory
legacy non-generated
.claude/agents/and.claude/commands/files.
Do not overwrite anything during assessment.
Phase 2: Confirm the design
Read the applicable preset under templates/presets/ and present:
- proposed project agents and their exact read/write boundaries;
- proposed project workflows and expected arguments;
- the initial
.planning/phases; - any legacy single-client Claude files that need reconciliation.
Ask for one confirmation covering additions, removals, names, and project-specific standards. Agents implement; independent global agents review.
Phase 3: Author neutral sources
- Create
.ai/orchestration/manifest.yamlfromtemplates/manifest-template.yaml. Keepnamespace: projectunless an existing checked-in namespace would collide. - Create one neutral agent source per confirmed role using
templates/agent-template.md. - Create one neutral command source per confirmed workflow using
templates/command-template.md. - Always include
commands/update-state.md, starting fromtemplates/update-state-command.md. - Populate real project paths, standards, and ownership boundaries. Do not leave placeholders.
Canonical sources must not contain client-home paths, machine-absolute paths,
Claude/Codex adapter directories, or client-specific invocation syntax. Refer
to reusable global capabilities as “the latex skill”, for example.
Agent policy
- Use
artifact_contract.mode: response-onlypluswrite_policy.project: read-onlyfor an advisory agent. - Use
artifact_contract.mode: project-writepluswrite_policy.project: scoped-writefor an implementation agent. - Keep
write_policy.git: forbiddenunless the user explicitly authorizes Git mutation as part of that role. - Declare behavioral
capabilitiesand the minimum Claude adapter tools. Codex derives a read-only or workspace-write sandbox from the neutral write policy. - Treat every
data/raw/path as read-only.
Phase 4: Reconcile an existing Claude project
If legacy project agents or commands exist:
- Read every non-generated legacy file.
- Convert its substantive behavior into the matching neutral source.
- Replace client-bound guidance-file reads with “active client guidance” plus the relevant neutral project files.
- Convert slash-skill calls to semantic skill references.
- Preserve tool and write restrictions in neutral policy fields.
- Compare the neutral source against the legacy file before rendering.
The renderer refuses to overwrite a non-generated target. Keep unmatched legacy files in place and report them; never select one side silently.
Phase 5: Render and verify
Resolve scripts/project-orchestration.py relative to this skill directory,
then run it through uv:
uv run <skill-root>/scripts/project-orchestration.py render --project <project-root>
uv run <skill-root>/scripts/project-orchestration.py check --project <project-root>The renderer:
- validates the neutral schemas and portability constraints;
- writes both clients' adapters atomically;
- refuses symlinked parents and non-generated collisions;
- removes only stale files carrying its own generated marker;
- exits non-zero when
checkdetects drift.
Never edit a generated adapter. Change .ai/orchestration/ and render again.
Phase 6: Planning and guidance pointers
Create .planning/roadmap.md and .planning/state.md from the bundled
templates only when they are absent. When they exist, merge deliberately and
preserve current decisions and progress.
Add a short pointer to each existing client guidance file without duplicating the orchestration body:
- canonical project roles/workflows:
.ai/orchestration/; - shared phase state:
.planning/roadmap.mdand.planning/state.md; - generated adapters for that client;
- rerender command.
Do not create or overwrite a large CLAUDE.md or AGENTS.md merely to install
orchestration. Shared project facts belong in neutral project documentation.
Completion report
Report:
- neutral agent and workflow sources created or migrated;
- generated Claude and Codex adapter counts;
- planning files created, merged, or preserved;
- any legacy file still awaiting reconciliation;
- the exact renderer check result.
Do not commit or push unless the user separately requests it.
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.

