Worktree Setup
Generate setup scripts/configs for AI agent worktrees and isolated environments across Cursor, Codex, Conductor, and Claude Code. Use when wiring up a project so AI agents start with the same dependencies, env files, and tool configs as the main repo.
Install
npx skills add robinebers/skills --skill worktree-setupgit clone --depth 1 https://github.com/robinebers/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/worktree-setup ~/.claude/skills/worktree-setupPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Worktree Setup 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. 1. Unless the context already provides an answer, explicitly ask the user which tool the setup is for: Cursor, Codex, Conductor, or Claude Code. 2. 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`. - **Claude Code:** `.worktreeinclude` at the repo root (gitignored files to copy into each worktree) + `.claude/settings.json` `SessionStart` hook for install. ## The shared pattern Across Cursor, Codex, and Conductor, the setup script usually does the same 3 things: 1. **Install dependencies** - run appropriate commands by project type, like Bun, Tauri, make, cargo, swift, etc. Read the README, `package.json`, `Makefile`, `Cargo.toml`, or similar to figure out what's right.
Details
- Skill name
worktree-setup- Repository
- robinebers/skills
- Path
skills/worktree-setup/SKILL.md- Repo updated
- 25 June 2026
FAQ
What does the Worktree Setup skill do?
Generate setup scripts/configs for AI agent worktrees and isolated environments across Cursor, Codex, Conductor, and Claude Code. Use when wiring up a project so AI agents start with the same dependencies, env files, and tool configs as the main repo.
How do I install the Worktree Setup skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add robinebers/skills --skill worktree-setup. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Worktree Setup popular?
It lives in robinebers/skills, which has 49 GitHub stars and 5 forks.
Related skills
Building Native UI
49robinebers/skills
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.
Code Upgrade
49robinebers/skills
Engineering-discipline toolkit for non-technical users working with AI coders. Wields KISS, DRY, YAGNI, fail-fast, and idempotency as commands. Use when the user asks to audit, simplify, clean up, dedupe, or harden code; or says "make this simpler", "any duplicates?", "is this safe to run twice", "explain this app", "find dead code", "simplify the plan", or "find silent failures".
Expo API Routes
49robinebers/skills
Guidelines for creating API routes in Expo Router with EAS Hosting
Meshtastic Org Knowledge
23meshtastic/meshtastic-mcp
Find and answer questions across all Meshtastic GitHub repos — what projects exist, what their docs say, their current status (releases, open PRs/issues, recent commits), and how they relate. Use when a question spans more than one repo, or asks "which project does X", "what's the status of Y", "where is Z documented", or "what changed recently across the org".
Shepherd
49robinebers/skills
Shepherd a GitHub pull request all the way to merge-ready by relentlessly polling status and only acting once all automatic reviewers have finished. NEVER merges without explicit human approval. Use when the user says things like "shepherd this PR", "babysit this PR", "get this PR merge-ready", "wait for Cubic", "wait for Bugbot", or asks to drive a PR through review.
Trellis Mvp to Delivery Zh
44coldwateryi/trellis-skills
根据源需求文档审计已有 MVP,并执行 Trellis 完整交付 loop 的审计、状态维护、批次规划和最终验收。用于 Codex 被要求在 MVP 后继续、补齐剩余需求、执行 full/delta 差距审计、维护 Requirements Traceability Matrix、分类 DONE/PARTIAL/MISSING/UNTESTED/UNCLEAR 条目、初始化或更新 .trellis/delivery-state.md、规划有边界的补缺批次、要求 worktree + verifier 门、设计自动化测试覆盖、分类发现的 bug,或在交付前执行最终验收的场景。若由 trellis-delivery-controller-zh 调用,则遵循控制器已选定的 loop 模式和审计范围;若单独调用,则按本技能的 delivery-loop-policy 自行判定。
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.