@ai-dossier/worktree-pool weekly downloads statistics
By ai-dossier (5 listings) · npm · Claude Code
Pre-warmed Git worktree pool for agent orchestration: instant, isolated checkouts for coding agents running signed, versioned agent skills in parallel.
@ai-dossier/worktree-pool has 416 recorded weekly downloads on npm, an increase of 93.5% over the past 30 days, ranking #2308 of 3,247 tracked listings.
About @ai-dossier/worktree-pool
@ai-dossier/worktree-pool
Use one portable AI-agent skill across Claude Code, Codex, OpenCode, and MCP-compatible workflows.
@ai-dossier/worktree-pool is for developers and coding-agent teams that need isolated, parallel Git worktrees without repeated setup. It maintains ready-to-use worktrees so issue work can begin in seconds instead of repeating a dependency install and build for every agent.
Part of the ai-dossier ecosystem: use
@ai-dossier/schedto orchestrate agents,@ai-dossier/clito run workflows, and the ai-dossier project for the complete platform.
Works with pnpm, yarn, bun and npm — the package manager, lockfile and build command are detected from the project, or pinned explicitly in .worktree-pool.json.
Install
npm install -g @ai-dossier/worktree-pool
Or use directly with npx:
npx @ai-dossier/worktree-pool status
Requires Node.js >= 20.0.0.
Commands
| Command | Description |
|---|---|
worktree-pool status [--json] | Show pool inventory (warm/assigned/broken counts); --json prints the whole inventory, including per-entry status, for callers. Not strictly read-only: first repairs stale worktree links of pool entries (git metadata only) |
worktree-pool replenish [--count N] | Pre-warm spares up to target count, after repairing stale worktree links |
worktree-pool claim --issue N --branch B | Claim a warm worktree, print path (repairs stale worktree links first); exits non-zero, renaming nothing, if a folder named after the branch already exists |
worktree-pool return --path P [--json] | Return worktree to pool for reuse; kills any process still running out of it first, self-checks on success, and on failure marks the entry broken and exits non-zero naming the step |
worktree-pool refresh | Fetch origin + rebuild in all warm worktrees |
worktree-pool gc [--dry-run] [--yes] | Remove stale/orphaned pool worktrees (never anything else), killing any process still running out of one first |
worktree-pool reap [--older-than H] [--dry-run] [--yes] | Kill processes orphaned by a removed or non-assigned worktree, at least H hours old (default 24) — the sweep for what return/gc already missed |
worktree-pool init | Configure pool directory for this project |
worktree-pool detect [dir] | Print the detected package-manager env as JSON |
Quick Start
# Initialize pool in your repo
worktree-pool init
# Pre-warm 3 worktrees
worktree-pool replenish --count 3
# Check pool status
worktree-pool status
# Claim a worktree for an issue (~2 seconds)
WORKTREE_PATH=$(worktree-pool claim --issue 42 --branch feature/42-add-dashboard)
cd "$WORKTREE_PATH"
# Return worktree to pool when done
worktree-pool return --path "$WORKTREE_PATH"
# Clean up stale worktrees (prints the plan first, then asks)
worktree-pool gc --dry-run # show what would go
worktree-pool gc --yes # remove it, no prompt (required when stdin is not a TTY)
# Sweep processes orphaned by worktrees return/gc already lost track of —
# run this on a schedule (a host cron/timer), not per-issue
worktree-pool reap --older-than 24 --dry-run
worktree-pool reap --older-than 24 --yes
How It Works
replenish claim return
| | |
v v v
base_ref ──> [warm worktree] ──> [assigned] ──> [recycled/warm]
install rename to reset to
+ build feature branch temp branch
- Replenish creates worktrees from
base_ref(defaultorigin/main) on temp branches, then runs the warm commands (install + build) - Claim renames a warm worktree, switches to your feature branch — instant setup (~2s)
- Return first kills any process still running out of the worktree (see Process cleanup below), then recycles it back to pool on a fresh temp branch, then verifies the result against reality — the entry really reads
warm, no tracked file is dirty, and the newpool/spare-*branch is really checked out — before reporting success. A failure at any step leaves the entrybroken(neverassigned, never a falsely-warmspare), leaves the directory on disk, and exits non-zero naming the step - GC kills any process still running out of a worktree it is about to touch, then removes broken entries and stale entries (>72h) and reconciles disk state vs pool state — only for worktrees the pool created (see Sharing the pool directory)
Claim and return only re-run the warm commands when the project's lockfile changed between the worktree's base commit and base_ref — otherwise the existing node_modules and build output are reused.
Process cleanup
A dev server, jest run, or vite server started inside a worktree by a verification step does not stop on its own when the worktree it was started in is recycled or removed. Left unaddressed, these outlive the worktree, the branch and the issue that spawned them — a real sweep on a dev host found 13 such processes across four merged worktrees, one holding open connections to a shared test database for 10 days.…
Description from the npm listing.
- git-worktree
- coding-agents
- parallel-development
- agent-workflows
- worktree-pool
- developer-productivity
- monorepo
- agent-orchestration
- ai-agents
- agent-skills
- claude-code
- llm
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm Claude Code plugins
All 20 @ai-dossier/worktree-pool alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@ai-dossier/worktree-pool. First seen Oct 16, 2026; last successful collection Nov 19, 2026. See the methodology.