Agent Traffic Control
A coordination toolkit of 118 Claude Code skills — plus one installable hook — for running multiple parallel sessions against the same repo without collisions, stranded work, or rebase loops: issue-pickup claim protocol, worktree & session-isolation pitfalls, parallel-PR conflict recovery, subagent-integrity edge cases, and the squash/merge mechanics that bite when multiple PRs converge on the same branch.

When to reach for this toolkit
- You routinely run 2+ Claude Code sessions in parallel against the same repo (worktrees, separate terminals, scheduled overnight loops, or sandbox + main).
- You've seen two sessions independently start work on the same issue, PRs collide on rebase, subagent reports look complete but the PR never merged, a worktree's index goes corrupt right after committing in a sibling, or GitHub squash-merge auto-closes only one issue out of three you listed in the PR body.
- You want upstream prevention at the issue-pickup boundary plus downstream recovery for the failure modes that still slip through.
Installation
# Add the marketplace
/plugin marketplace add wan-huiyan/agent-traffic-control
# Install the plugin — one shot, gets all 118 skills
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-control
Installing the plugin gets you the skills. The resume-gate and leg-guard hooks are not installed by this and never fire until you run their installers by hand — see The hook and leg-guard below.
This is a single multi-skill plugin (modeled on superpowers), not a marketplace of individual plugins. One install gets you the full before / during / after / orchestrator-aware / merge-mechanics arc; you can't pick-and-choose per-skill via /plugin install. If you only want one or two of these skills, copy them directly into ~/.claude/skills/<skill-name>/ instead.
The six buckets
The 118 skills split into a before / during / after / orchestrator-aware / merge-mechanics / workflow-orchestration arc:
A. Pickup / claim coordination — prevention
Before any code is written, claim the issue so sibling sessions detect it and skip.
| Skill | Role |
|---|
| gh-issue-claim-coordination | 60-second protocol: preflight (gh issue view --json assignees,labels,updatedAt) + atomic claim (--add-assignee @me --add-label wip) + 24h stale-claim sweep + label-drop on PR merge. Self-heals: idempotent gh label create runs every pickup. |
| session-handoff-number-collision-with-unmerged-sibling | Two sibling sessions both pick the same next handoff number from docs/handoffs/ because each only sees what's merged on its branch — detect and renumber before push. |
| session-handoff-detect-prior-orphan-pr | Pre-flight detect a prior incomplete handoff run's branch/PR/worktree before starting, so you don't open a duplicate PR for work already in flight. |
| executed-prompt-not-retired-sibling-redoes-it | A brief and the index that lists it are shared state — retire an executed prompt on BOTH surfaces (and register a new one), or a sibling redoes work that already merged, or never sees the file at all. |
| rule-cited-by-title-proposes-work-the-ledger-says-is-built | A standing rule cited from its id or a paraphrase instead of its recorded body — so you offer to build a deliverable the shared ledger already carries as built and awaiting the owner, under a status word (open) that reads as "not started". |
| parallel-session-coedit-via-source-mtime-and-idempotent-rebuild | Safely co-edit a deliverable while another live session is actively editing the same file — coordinate via source mtime + an idempotent rebuild instead of clobbering. |