Detect and clean ghost teams, orphaned tasks, and numbered agent duplicates from Claude Code Agent Teams.
- Ghost teams — team configs with no active Claude session
- Numbered ghosts — duplicated agents like
researcher-2,worker-3 - Dead tmux panes — tmux-backed agents whose panes no longer exist
- Orphan tasks — task directories with no matching team
- Backup remnants —
.backup.*directories
/plugin marketplace add ClaudeCodeCafe/ghostbuster
/plugin install ghostbuster@ghostbuster/ghostbuster:scan # detect ghosts (read-only)
/ghostbuster:clean # detect + delete after confirmation
MIT