Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By AojdevStudiov0.1.0MITIn 1 marketplace
Set up parallel git worktrees of the same repo, one per coding harness (Claude Code, Codex CLI, Cursor, etc.), so multiple AI tools can edit, typecheck, and test in parallel without trampling each other's node_modules, build artifacts, or branches. Audits shared-state hazards first, documents gotchas in CLAUDE.md/AGENTS.md, then creates durable work/<tool> branches and sibling worktrees with per-stack installs. Bundles an audit-hazards.sh script and a reset-worktree-to-main.sh script.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
worktree, git-worktree, parallel, multi-harness, claude-code, codex, harness, isolation ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Set up durable, per-harness git worktrees so Claude Code, Codex CLI, Cursor, and any other AI coding tool can work on the same repo in parallel — each with its own branch, node_modules, build artifacts, and session identity — without stepping on each other.
The skill has three modes. Ask the user which they want if the request doesn't make it obvious.
Creates N sibling worktrees at <repo-parent>/<repo-name>-<tool>/, one per tool name. Each gets a long-lived work/<tool> branch and the right package install for the detected stack. A Gotcha block documenting the repo's shared-state hazards is appended to CLAUDE.md / AGENTS.md so every future agent in every worktree sees the rule. Only one worktree may run a live dev session at a time.
Setup cost: ~5 minutes. No code changes to the target repo.
All worktrees run live dev simultaneously, each on its own port and DB. The skill surfaces the exact files that need env-var threading and stops — the user makes the code changes, then reruns. If the user prefers not to make changes, downgrade to Mode A.
Resets the current worktree's branch to origin/main (dry-run by default). Does NOT switch to main — main may be checked out in another worktree. Bundled script: skills/harness-worktrees/scripts/reset-worktree-to-main.sh.
The skill activates on:
skills/harness-worktrees/
├── SKILL.md # main skill — runs the 3-mode workflow
└── scripts/
├── audit-hazards.sh # scan repo for shared-state hazards (ports, DBs, sockets)
└── reset-worktree-to-main.sh # Mode C — reset current worktree branch to origin/main
Scans source files (TS, JS, Rust, Python, Go) for:
localhost:PORT, .listen(PORT), PORT ?? NNNN)*.sqlite, data.db, DATABASE_URL defaults, pgdata, socket files).sock, unix:///, AF_UNIX)git submodule update --init --recursive)Outputs a structured report and recommends Mode A or B based on hazard count. Uses rg when available, falls back to grep.
Dry-runs by default. Flags: --confirm to execute, --stash to stash dirty changes before reset, --remote / --branch to target a different remote or branch.
git worktree, git branch --show-current, git switch semanticsbun (bun.lock / bun.lockb)pnpm (pnpm-lock.yaml)yarn (yarn.lock)npm (package-lock.json or bare package.json)cargo (Cargo.toml) — runs cargo fetch, not cargo builduv (pyproject.toml + uv.lock)pip / poetry (requirements.txt or pyproject.toml without uv.lock — user chooses)bundle (Gemfile)go mod (go.mod)rg (ripgrep) — optional but recommended for faster hazard scanning; falls back to grepgh CLI — optional; used by reset-worktree-to-main.sh to show the latest merged PR in the dry-run planCreate .claude/harness-worktrees.local.md in any repo to override defaults:
# harness-worktrees local config
# Tool names to create worktrees for (default: claude, codex, pi)
tools: [claude, codex, cursor]
# Integration branch to branch worktrees from (default: repo HEAD branch)
integration_branch: main
# Naming convention for worktrees (default: <repo-name>-<tool>)
# Example: my-app-claude, my-app-codex
worktree_naming: <repo-name>-<tool>
The skill reads this file when present and falls back to built-in defaults otherwise.
.cursor/, .codex/, etc.)..git/config is modified.work/<tool> branches are long-lived and intentionally left for the user to manage.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub aojdevstudio/agentic-utilities --plugin harness-worktreesPlugins from other owners that cover similar ground