Git worktrees are everywhere now — Claude Code, Conductor, Claude Squad, and most AI agent tools use them for parallel isolated sessions. But worktrees only isolate code. Your .env files, node_modules, Docker state, and ports are all missing or shared. I kept writing the same setup bash for every project, so I built workz — a Rust CLI that handles it automatically:
Auto-detects project type (Node/Rust/Python/Go/Java) Symlinks node_modules, target/, .venv, and 19 more dirs (saves GBs per worktree) Copies .env, .envrc, .npmrc, secrets (17 patterns) Auto-installs deps from lockfiles (pnpm/yarn/npm/bun/uv/poetry/pip/cargo) New: --isolated flag assigns unique ports, namespaces Docker compose, generates per-worktree DB names
Zero config. Single Rust binary. Works standalone or as a setup hook for Conductor/Claude Squad/any orchestrator.
Man, this showed up just as I was about reach for claude to build something like this....