claude-bulkhead
A collection of hooks that prevents port, process, and memory conflicts between concurrently running Claude Code sessions.
What does it do?
Before Claude Code runs a Bash or PowerShell command, hooks check other sessions’ processes and ports, available memory, and active Git working trees. If a command would cause a conflict, they block it and tell Claude about a safer alternative. Blocked actions can be reviewed with a log command. When memory is low, heavy tests or builds can be queued or optionally run on another computer over SSH. Node 18 or later must be on PATH.
Key features
- Checks other sessions’ processes, ports, memory, and Git working trees before running commands.
- Blocks conflicting commands and suggests alternatives.
- Shows block logs and totals by guard.
- Queues heavy work when memory is low or runs it on another computer over SSH.
- Requires Node 18 or later.