pair-programmer-cli
Share one Claude Code session with a teammate through Telegram.
Overview
Multiplayer middleware for AI coding agents. Two developers share one Claude Code session through a Telegram bot: both can talk to the agent, claim GitHub issues and hand the driver role back and forth.
How it works
- Pair mode: /pair starts a shared session and /join adds a teammate. /pick claims a GitHub issue, /done commits and closes it, /handoff passes the driver role, and /endpair pushes and opens a pull request.
- Split mode: /claim starts an isolated solo session. /park and /resume pause and continue it, /sync rebases on main, and /merge pushes and opens a pull request.
Features
- File ownership tracking: the bot knows who is editing what and warns about conflicts.
- A diff summary after every AI change, so both developers see which files changed.
- Context handoff: the AI writes a full summary when drivers swap.
- Auto-commit with a proper commit message when an issue is done.
- Pair sessions survive bot restarts.
- A 120-second timeout stops hung sessions, and each session has a cost budget.