Agent skill

Parallel Worktrees

by theexperiencecompany in theexperiencecompany/gaia

A skill your agent uses when running several GAIA branches at once with worktrunk (wt) — creating a worktree, giving it its own dev ports, provisioning env/deps, and merging back.

Custom licenceAuto-check: notesDevelopment

Install Parallel Worktrees

skills CLI
$ npx skills add theexperiencecompany/gaia --skill parallel-worktrees -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install theexperiencecompany/gaia parallel-worktrees --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/theexperiencecompany/gaia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/parallel-worktrees .claude/skills/parallel-worktrees && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
parallel-worktrees
GitHub stars
308
Token cost
~2.3k tokens
SKILL.md length
1,131 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when running several GAIA branches at once with worktrunk (wt) — creating a worktree, giving it its own dev ports, provisioning env/deps, and merging back.

  • Works in 3 steps: wt step copy-ignored — copies the… → mise run wt:env — allocates this… → pnpm install + nx run api:sync —…
  • Running several GAIA branches at once with worktrunk (wt) — creating a worktree
  • SKILL.md covers One-time setup (per machine), Create a worktree and start…, Ports and Single-instance bots — do NOT…, plus 3 more sections
  • Calls mise, git and nx

What it does

Parallel Worktrees is an agent skill from theexperiencecompany/gaia. Use when running several GAIA branches at once with worktrunk (wt) — creating a worktree, giving it its own dev ports, provisioning env/deps, and merging back. Covers the port scheme, the single-instance bot constraint, and troubleshooting collisions.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git worktrees. The repository describes itself as: Your proactive personal AI assistant & companion for daily productivity 🌎.

When your agent uses it

  • Running several GAIA branches at once with worktrunk (wt) — creating a worktree
  • Giving it its own dev ports
  • Provisioning env/deps

Example prompts

  • “/parallel-worktrees”

Requirements

  • Docker

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. wt step copy-ignored — copies the gitignored secret files listed in
  2. mise run wt:env — allocates this worktree's ports → .env.worktree.
  3. pnpm install + nx run api:sync — concurrently; both are fast (pnpm shared

What it can do on your machine

Read from SKILL.md and the folder at commit 153e484. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • mise
    • git
    • nx
    • pnpm
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, pnpm and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Parallel Worktrees loads about 2.3k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 1,131 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:40
    `.worktreeinclude` (`apps/api/.env`, `apps/web/.env.local`, `apps/bots/.env`)
  • NoteMentions a .env fileSKILL.md:42
    nv` — allocates this worktree's ports → `.env.worktree`.
  • NoteMentions a .env fileSKILL.md:55
    callback runs on the default ports: `rm .env.worktree` in that worktree (mise
  • NoteMentions a .env fileSKILL.md:61
    and writes `.env.worktree` at the repo root. mise auto-loads that file for every
  • NoteMentions a .env fileSKILL.md:63
    today's defaults. Delete `.env.worktree` to fall back to defaults.
  • NoteMentions a .env fileSKILL.md:80
    above `apps/web/.env.local` (Next's load order puts `process.env` first), so the
  • NoteMentions a .env fileSKILL.md:81
    to that worktree's own API even though `.env.local`
  • NoteMentions a .env fileSKILL.md:147
    it, or confirm `.env.worktree` exists here (`cat .env.worktree`) and re-run
  • NoteMentions a .env fileSKILL.md:151
    * — check `NEXT_PUBLIC_API_BASE_URL` in `.env.worktree`
  • NoteMentions a .env fileSKILL.md:153
    - **`.env.worktree` missing** — run `mise run wt:env`. A brand-new worktree gets it

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,131 words (~2,259 tokens).

“Run multiple GAIA branches side by side. Each worktree gets its own copy of the repo, its own gitignored env files, and a deterministic set of dev ports so mise dev in one worktree never collides with another. Shared Docker…”

— opening of SKILL.md by theexperiencecompany, Custom licence
name
parallel-worktrees

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/parallel-worktrees of theexperiencecompany/gaia.

Open the folder on GitHubat commit 153e484

Compare with similar skills

Parallel Worktrees next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Parallel Worktrees compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Parallel Worktrees this skilltheexperiencecompany/gaia308—~2.3kAutomated safety check: NotesCustom licence
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Finishing A Development Branchfarm-fe/farm5.6k34 repos~1.8kAutomated safety check: PassMIT
Git Worktree Cleanuplobehub/lobehub83k—~2.8kAutomated safety check: PassCustom licence
Keep Codex Fastvibeforge1111/keep-codex-fast1.6k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…

    5.6k GitHub starsUsed in 34 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Git Worktree Cleanup

    lobehub/lobehub

    Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.

    83k GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Keep Codex Fast

    vibeforge1111/keep-codex-fast

    A skill your agent uses when Codex feels slow or bloated, when local sessions/logs/worktrees/config have grown over time, or when a user wants safe maintenance for Codex Desktop/CLI state.

    1.6k GitHub stars~3.1k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from theexperiencecompany/gaia

All 16 skills in this repo
  • Audit Website

    theexperiencecompany/gaia

    Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI.

    308 GitHub starsUsed in 2 repos~4.7k tokens
    Auto-check passed
  • Create DOCX

    theexperiencecompany/gaia

    Generate an editable Microsoft Word (.docx) document: reports, letters, memos, structured docs.

    308 GitHub stars~848 tokensUpdated today
    Auto-check passed
  • Create PDF

    theexperiencecompany/gaia

    Generate a polished, printable PDF: reports, letters, invoices, resumes, one-pagers.

    308 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Create PPTX

    theexperiencecompany/gaia

    Generate a PowerPoint (.pptx) slide deck: pitch decks, reviews, summaries.

    308 GitHub stars~895 tokensUpdated today
    Auto-check passed
  • Create Spreadsheet

    theexperiencecompany/gaia

    Generate an Excel (.xlsx) workbook or a CSV file: tables, financial models, data exports, formatted reports with charts.

    308 GitHub stars~802 tokensUpdated today
    Auto-check passed
  • Motion

    theexperiencecompany/gaia

    Build React animations with Motion (Framer Motion) - gestures (drag, hover, tap), scroll effects, spring physics, layout animations, SVG.

    308 GitHub stars~6.7k tokensUpdated today
    Auto-check passed

Categories

Questions about Parallel Worktrees

What does Parallel Worktrees do?

A skill your agent uses when running several GAIA branches at once with worktrunk (wt) — creating a worktree, giving it its own dev ports, provisioning env/deps, and merging back. Parallel Worktrees is an agent skill from theexperiencecompany/gaia. Use when running several GAIA branches at once with worktrunk (wt) — creating a worktree, giving it its own dev ports, provisioning env/deps, and merging back.

When should I use Parallel Worktrees?

Parallel Worktrees fits situations like: running several GAIA branches at once with worktrunk (wt) — creating a worktree; giving it its own dev ports; provisioning env/deps.

How do I install Parallel Worktrees in Claude Code?

Run `npx skills add theexperiencecompany/gaia --skill parallel-worktrees -a claude-code`. Or copy the skill folder (.agents/skills/parallel-worktrees in theexperiencecompany/gaia) into .claude/skills/parallel-worktrees in your project. Claude Code loads it when a task matches its description.

How do I install Parallel Worktrees in Codex?

Run `npx skills add theexperiencecompany/gaia --skill parallel-worktrees -a codex`. Or copy the skill folder (.agents/skills/parallel-worktrees in theexperiencecompany/gaia) into .agents/skills/parallel-worktrees in your project. Codex loads it when a task matches its description.

Can I use Parallel Worktrees in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add theexperiencecompany/gaia --skill parallel-worktrees -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/parallel-worktrees, .gemini/skills/parallel-worktrees, .github/skills/parallel-worktrees and .opencode/skills/parallel-worktrees in your project.

What does Parallel Worktrees need to run?

Going by SKILL.md and its folder, Parallel Worktrees needs the command-line tools its instructions call (mise, git, nx, pnpm and gh). Our summary lists: Docker.

Does Parallel Worktrees access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Parallel Worktrees safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Parallel Worktrees use?

Parallel Worktrees has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Parallel Worktrees use?

About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Parallel Worktrees?

Skills that share tags, products or a category with Parallel Worktrees: Finishing a Development Branch (obra/superpowers, 296k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Finishing A Development Branch (farm-fe/farm, 5.6k stars) and Git Worktree Cleanup (lobehub/lobehub, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Parallel Worktrees?

theexperiencecompany (a GitHub organization) maintains it in theexperiencecompany/gaia, which has 308 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 8, 2026.

Source: theexperiencecompany/gaia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.