setup-process
Installation
SKILL.md
The Setup Process
Generate the right config so AI agents start in their isolated worktrees / environments with the same setup as the main repo: dependencies installed, env files in place, tool configs copied over.
-
Unless the context already provides an answer, explicitly ask the user which tool the setup is for: Cursor, Codex, or Conductor.
-
Map out the project (web, native, Rust, Swift, etc.) and make judgement calls on the right setup/install, run/actions, and teardown/archive commands.
Not all projects use bun. Some use make, cargo, bun tauri dev, swift build, npm, pnpm, pip, etc. Read the README, package.json scripts, top-level Makefile, or Cargo.toml to figure it out.
What each tool reads
- Cursor: Local parallel-agent worktrees in
.cursor/worktrees.json. - Codex: Setup script + actions in
.codex/environments/environment.toml. - Conductor: Workspace setup in
conductor.json.
The shared pattern
Across all of them, the setup script usually does the same 3 things: