Connect Clawsmith to your coding agent. Ship products like crazy.Unlimited usage during betaGet API Key →
← Back to ideas
clawsmith.com/idea/spin-up-parallel-coding-agents-on-isolated-git-worktrees-from-one-cli-command
IdeaCompetitiveCLIMULTI-AGENTGIT-WORKTREESLive

A CLI tool that spins up parallel coding agents on isolated git worktrees, tracks their token spend, and merges their output branches when done

Developers running 10-20 parallel Claude Code or Codex agents in 2026 have no standard way to orchestrate them from a single command. They stitch together bash scripts, tmux sessions, and custom CLIs to provision worktrees, assign tasks, tail agent output, and merge branches when agents finish. The fragmentation is real: Superset (96 HN points) fills the worktree setup gap, tokscale (3,700 GitHub stars) fills the spend-tracking gap, but nothing wraps the full lifecycle in one tool. This CLI tool takes a task list, spins up N isolated git worktrees with a coding agent per slot, tails all agent outputs in a split terminal view, enforces per-agent token budgets, and auto-merges or queues successful branches for review when agents finish.

Demand Breakdown

GitHub
3,939
HN
278

Gap Assessment

CompetitiveMultiple tools exist but differentiation opportunities remain

4 tools exist (Superset, tokscale, Claude Code (native parallel mode), tmux + custom bash scripts) but gaps remain: No task routing, no per-agent token budget enforcement, no automated branch merge or result queue when agents finish; Read-only spend monitor only; does not provision agents, assign tasks, watch agent output, or trigger any action when budgets are hit.

Features3 agent-ready prompts

Worktree provisioner that reads a task YAML, creates N isolated git worktrees in parallel, launches a coding agent per slot, and streams all agent stdout to a unified split-pane terminal view
Per-agent token budget enforcer that reads live spend from agent log files, pauses agents that hit their cap, and surfaces a ranked spend leaderboard in the terminal view
Branch merge runner that tests each agent's output branch, queues passing branches for auto-merge into a target branch, and posts a structured summary report when the batch finishes

Competitive LandscapeFREE

ProductDoesMissing
SupersetTerminal UI that provisions git worktrees and launches parallel coding agents; the tool that generated the 96-point HN Show HNNo task routing, no per-agent token budget enforcement, no automated branch merge or result queue when agents finish
tokscaleReads local Claude Code, Codex, Cursor, and Gemini log files and surfaces cumulative token spend across all agents in a terminal dashboardRead-only spend monitor only; does not provision agents, assign tasks, watch agent output, or trigger any action when budgets are hit
Claude Code (native parallel mode)Anthropic ships Claude Code with native sub-agent spawning via the Task tool; individual agents can delegate subtasksNo multi-worktree provisioning, no cross-agent token budget view, no result merge queue; each session is still manually opened in a separate terminal tab
tmux + custom bash scriptsDevelopers split terminals into panes manually and write one-off bash scripts to provision worktrees and launch agentsZero standardization, zero portability across projects or teams, zero spend tracking, zero automated merge logic

Leads45BUILDER

@junhoyeo
@bcherny
@skeptrune
@jlehman_
@avipeltz
@pepicrft
@kieranklaassen
@dani_avila7
45 people already want this

Sign in to unlock full access.