More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Parallel Worktree Orchestrator

    1

    Run parallel AI coding lanes in isolated Git worktrees with exclusive file-ownership locks, dry-run conflict gates, and token-bounded handoff briefs.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Parallel Worktree Orchestrator

    Parallel Worktree Orchestrator

    Example session with this skill installed

    Split our sprint work into two parallel coding lanes (api-auth owning src/api,tests/api and ui-table owning src/ui,tests/ui) plus one read-only reviewer lane inspecting src/api. Enforce a 3-lane cap, generate a token-bounded handoff brief, and run the zero-mutation merge gate before merging ui-table into main.

    • Read your context and instructions
    • Compiled the parallel worktree orchestrator

    Parallel Lane Allocation & Pre-Merge Gate Summary

    1. Isolated Worktree Lanes Created (scripts/worktree-lane.mjs)
    LaneRoleBranchExclusive Write ScopeStatus
    api-authdeveloperlane/api-authsrc/api, tests/apiLANE_CREATED (exit 0)
    ui-tabledeveloperlane/ui-tablesrc/ui, tests/uiLANE_CREATED (exit 0)
    audit-authreviewer (read-only)lane/audit-authsrc/api (no write lock)LANE_CREATED (exit 0)

    Collision Guard Verified: Attempting to spawn a duplicate writable lane on src/api/users.js was blocked immediately (exit 2, PATH_OWNERSHIP_CONFLICT).

    Concurrency Cap Verified: Active secondary lanes 3/3; spawning a 4th lane returns exit 2 (MAX_ACTIVE_LANES_EXCEEDED).

    2. Token-Bounded Handoff Brief (scripts/context-brief.mjs)
    {
      "status": "BRIEF_PACKED",
      "branch": "main",
      "activeLanes": 3,
      "budgetChars": 2400,
      "actualChars": 812,
      "estimatedTokens": 203,
      "briefHash": "4e9b2f7c1a8d..."
    }
    
    3. Zero-Mutation Merge Readiness Gate (scripts/merge-readiness.mjs)
    {
      "ok": true,
      "gateStatus": "READY_TO_MERGE",
      "laneBranch": "lane/ui-table",
      "targetRef": "main",
      "commitCount": 1,
      "changedFiles": ["src/ui/table.js", "tests/ui/table.test.js"],
      "scopeViolations": [],
      "conflictFiles": [],
      "mergeTreeSha": "9c31a7b4f2..."
    }
    

    Next step: Merge lane/ui-table into main, then release the worktree lock with node scripts/worktree-lane.mjs remove --repo . --path <lane-path>.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Running multiple AI coding agents on the same repository routinely leads to silent file overwrites, orphaned branches, late merge conflicts, and 40K-token context dumps every time a worker resumes.

    Parallel Worktree Orchestrator installs a deterministic 3-stage multi-agent execution kit powered by standalone, zero-dependency, offline Node.js (>=18) scripts (zero network calls, zero process.env reads, zero shell: true):

    • worktree-lane.mjs — Allocates isolated Git worktrees on dedicated branches (lane/<slug>) with concurrency cap enforcement (--max-active, default 3) and exclusive write-path ownership locks. Overlapping writable developer paths fail immediately with exit 2 (PATH_OWNERSHIP_CONFLICT), while read-only researcher/reviewer lanes inspect freely without holding write locks. Safely refuses to remove the main repo or dirty secondary worktrees.
    • merge-readiness.mjs — Zero-mutation pre-merge gate (git merge-tree --write-tree) that verifies clean worktree state, 100% path-ownership scope compliance (SCOPE_VIOLATION → exit 2), and conflict-free mergeability (CONFLICT_DETECTED → exit 3, READY_TO_MERGE → exit 0) without ever touching your primary working tree.
    • context-brief.mjs — Compiles a deterministic, character- and token-bounded recovery brief (~400–600 tokens with SHA-256 briefHash) containing Git HEAD, active lanes, path locks, recent commits, and bounded checkpoint notes for fast subagent dispatch or post-compaction handoff.

    Works Out of the Box

    Compatible with Claude Code, Codex CLI, Cursor, OpenCode, GitHub Copilot, Gemini CLI, and any SKILL.md-compatible agent on macOS, Linux, and Windows. Requires only Node.js >=18 and Git >=2.38.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Requires Node.js 18+. Does not perform network requests or remote git operations like push/pull. No support for SVN or Mercurial.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Node.jsGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill provides a programmatic 'traffic controller' for AI agents. It uses Git worktrees to give each agent its own isolated sandbox and implements path-based locking to ensure two agents never attempt to edit the same file simultaneously, preventing messy merge conflicts.

    The skill is agent-agnostic; it functions as a standalone Node.js toolset that wraps your Git workflow. Whether you use AutoGPT, BabyAGI, or custom LLM scripts, you simply trigger these scripts via CLI to manage the environment where those agents operate.

    You receive the complete orchestration kit consisting of the core JavaScript logic (Node.js 18+), including the lane allocation system, the path-locking engine, the merge-readiness validator, and the token-efficient context briefing utility.

    No, the scripts are designed for local repository management and do not automate `git push` or `git pull` commands. This ensures you maintain full control over your remote upstream while the skill handles the complex local multi-tree logic.

    The skill uses a 'Context Briefing' feature that summarizes work-in-progress into a token-bounded format. This allows you to pause an agent's lane and resume it later with the essential state information, without needing to feed the entire history back into the LLM.

    Installation is straightforward for any environment with Node.js and Git installed. Since it operates on standard Git worktree structures, you can integrate it into your existing projects by simply adding the provided scripts to your workflow directory.

    New in Agents & Orchestration