parallel worktrees

    1

    Manage isolated parallel Git worktrees with automated port allocation, database namespacing, and runtime isolation.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+17 more

    See it in action

    You say

    I need to work on the refactor-auth branch while keeping my current dev server running on main. Set up a second checkout for me.

    Your agent does

    Worktree created at ../project-refactor-auth. Port block 3010-3019 allocated (Base: 3000). Environment overrides applied to .env.local. Dependencies installed via pnpm. You can now run the dev server in the new directory on port 3010.

    What you get

    Prevent port collisions when running multiple dev servers simultaneously.Isolate database migrations between branches to avoid schema corruption.Maintain distinct auth sessions across different workspace checkouts.Automate the setup of clean workspace lanes for AI agent fleets.

    About this skill

    The problem

    Running multiple checkouts of the same repository leads to port collisions, database schema corruption from competing migrations, and session clobbering. Developers and AI agents often lose hours when one workspace silently adopts the resources or runtime state of another.

    What it does

    • Orchestrates Git worktrees as isolated lanes with dedicated port blocks to prevent EADDRINUSE errors.
    • Configures per-worktree environment overrides for databases, caches, and search indices to stop data cross-contamination.
    • Manages runtime version pinning and dependency installation for each checkout to ensure version consistency.
    • Provides automated scripts for lane creation, port registration, and clean teardown of worktree metadata.
    • Handles session isolation for shared backends to prevent one lane from logging another out.

    Frameworks & tools

    Git, Bash, Node.js (Vite, Next.js, Webpack), Python, Ruby on Rails, Django, Docker Compose, and version managers like nvm or asdf.

    Why this beats prompting it yourself

    Manually setting up worktrees usually skips the non-obvious "shared mutable state" like HMR ports or database migrations. This skill enforces a rigorous isolation checklist and port-allocation registry that prevents hard-to-debug runtime failures that generic prompts ignore.

    Use cases

    • Working on a high-priority hotfix without stashing or switching away from a complex feature branch.
    • Deploying a fleet of AI agents to work on independent tasks within the same repository.
    • Comparing two versions of a frontend UI side-by-side on different local ports.
    • Running integration tests on a feature branch while keeping a stable dev server active on main.

    Known limitations

    On Windows, nvm-windows cannot switch Node versions per shell, limiting concurrent lanes to a single global Node version. Requires manual pruning if worktree directories are deleted via file explorer.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    • One-time purchase, yours forever

    Listedtoday

    Frequently Asked Questions