r/coolgithubprojects • u/rodrigues_92 • 15h ago
I open-sourced the skill I use to run several Claude Code chats on one repo without them stepping on each other
I run 5 to 10 AI coding chats on the same repository at once. Without rules they collide: one switches branches under another, two green PRs break main when merged back to back, and review by the same model misses the same things.
So I wrote it down as an Agent Skill with small Node scripts (no dependencies):
- each chat gets its own git worktree, outside the main checkout
- a machine-wide queue limits how many test suites run at once
- PR through gh; critical paths get reviewed by a different model (Codex or Gemini, Claude as fallback), and the reviewer can fix, not only approve
- merges go one at a time, only with the branch up to date with main
- deploy and health check after merge, then cleanup
On first run it detects your setup and asks a few questions (who reviews, where it deploys, how many chats at once).
Install: npx skills add mestrecs/skills
Repo: https://github.com/mestrecs/skills
It works on Windows, macOS and Linux. Feedback welcome, especially from people running Codex or Gemini CLI.