ghost-proc-guard
by Thieu Nguyen · ★ 0 · updated 3 days ago
Stops Claude from starting a second copy of your dev servers on the next free port (monorepos and worktrees included), tracks the servers it starts, and stops leftovers from a /procs pane.
Install
/plugin marketplace add thieung/claude-mods/plugin install ghost-proc-guard@thieung-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.starttool.callcommand.runui.render- API calls
$.clock.every$.clock.now$.clock.sleep$.command.register$.fs.list$.fs.read$.process.run$.session.cwd$.session.id$.session.root$.state.get$.state.set$.store.get$.store.set$.ui.open$.ui.resolve$.ui.status$.ui.toast- Draws
Pane- Can see
Bash calls- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processesreads filespersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/thieung/claude-mods
- Path in repo
ghost-proc-guard- Author
- Thieu Nguyen @thieung
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from thieung/claude-mods
ak-cockpit
thieung/claude-mods
AgentKit cockpit above the prompt: context fill with a handoff nudge, and the active plan's phase and checklist.
worktree-guard
thieung/claude-mods
Guards a shared worktree: stops git add -A from staging files this session did not touch, previews destructive git commands, and points at the process holding a busy port.