wtcraft

Git-native governance for running Claude Code, Codex & Gemini together — on a budget

把 Claude Code、Codex、Gemini 摆一起跑而不打架 —— Git 原生、零依赖的治理内核

Run Claude Code, Codex, and Gemini side by side in isolated git worktrees, with strict, verifiable task boundaries that keep them from stepping on each other — instead of reinventing another runtime.
把 Claude Code、Codex、Gemini 放进各自隔离的 git worktree 并行跑,用可验证的任务边界防止它们互相打架 —— 而不是再造一个 runtime。

npm package PyPI version CI License

Install / 安装

# Node / npm
npm install -g wtcraft

# Python / pipx (recommended)
pipx install wtcraft

# Homebrew (macOS)
brew tap zywkloo/wtcraft https://github.com/zywkloo/wtcraft && brew install wtcraft

Then run wtcraft init in your repo root to scaffold the harness.
随后在仓库根目录运行 wtcraft init 即可生成脚手架。

Articles / 系列文章 · TokenChef

Guides / 营销与优化文档

FAQ

What is wtcraft?

wtcraft is a lightweight, git-native CLI that lets you run multiple coding-agent CLIs — Claude Code, Codex, Gemini — side by side in isolated git worktrees, with strict, verifiable task boundaries that keep them in their lanes and on budget. No daemon or database — state lives in git.

How is wtcraft different from plain git worktrees or Claude Code's --worktree?

Raw worktrees give you isolation but leave token budget, file scope, and task handoff up to you. wtcraft adds the missing contract layer: a per-task .worktree-task.md with explicit Scope and Off-limits blocks, plus a run ledger and a sign-off step.

Does wtcraft work with Claude Code, Codex, and Gemini?

Yes. wtcraft is agent-agnostic scaffolding; run `wtcraft init --patch-agent-files` to opt into integration with Claude Code, OpenAI Codex, or the Gemini CLI.

How do I install wtcraft?

Install globally via npm (npm install -g wtcraft), pipx (pipx install wtcraft), or Homebrew, then run `wtcraft init` in your repository root.