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。
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
- 👨🍳 TokenChef (Part 01)
Vibe Coding with Git Worktrees — A Playbook Most Devs Are Missing
Most people vibe-code with one model in one branch. Here is how to use multiple models, git worktrees, and a phased workflow to ship refactors without breaking everything.
- 👨🍳 TokenChef (Part 02)
Chief Token Orchestrator — Manage Claude, Codex, and Gemini as a Structured Software Team
Spawning parallel agents is easy. Spawning them without hitting token limits, context pollution, or review bottlenecks is hard. Discover why you need a structured, layered team architecture.
- 👨🍳 TokenChef (Part 03)
wtcraft — A Lightweight, Git-Native Governance Core for Claude Code, Codex, and Gemini
How do you actually enforce boundaries on autonomous agents? Explore Harness Engineering, the competitive landscape of task contracts, and how the wtcraft CLI implements bounded sandboxes locally.
- 👨🍳 TokenChef (Part 04)
Stop Reinventing the Agent — wtcraft Boundaries, Ledgers & Sign-off First
从 Claude Code 源码泄露与 CCB 逆向架构出发,用同一套六层架构对比 Codex 和 Claude Code,得出结论:wtcraft 不该再造 runtime,而该把任务边界、运行账本和验收流程做扎实。
Guides / 营销与优化文档
- 🧭 Overview
SEO & GEO Field Notes
Why / how / when + the GEO acceptance loop — the strategic overview behind the three hands-on guides.
- 📄 Docs
Marketing an Open-Source Package (NPM / PyPI / GitHub) for SEO & GEO
How to turn the domain authority of GitHub, NPM, and PyPI into backlinks and AI citations for your own site — registry metadata, a RAG-friendly README, and the backlink loop.
- 📄 Docs
Marketing a Personal GitHub Pages + Astro Blog (SEO & GEO)
The full playbook for a bilingual Astro blog on GitHub Pages: the Astro-specific technical SEO that's free, the title/metadata gotchas that aren't, and how to get cited by AI engines fast via canonical cross-posting.
- 📄 Docs
Rebuilding Two Legacy Commercial Sites for SEO & GEO (a Forward Plan)
Architecture and migration decision matrices for two common commercial-site archetypes — a client-rendered product landing page and a legacy-WordPress B2B site — covering framework choice, zero-risk migration, hosting TCO, and SEO/GEO.
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.