port-guard

by Christophe Jossart · ★ 0 · updated 12 Oct 2026

ToastsGuardswarnings

0

Stops Claude from killing, or running E2E tests against, another project's local dev server

install port-guard

Install

/plugin marketplace add colorfield/claude-port-guard
/plugin install port-guard@claude-port-guard

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
tool.call
API calls
$.env.get$.fs.exists$.fs.read$.process.run$.session.cwd$.session.repo$.session.root$.ui.ask$.ui.toast
Can see
Bash calls
Reach
level 2 of 3 runs processesreads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/colorfield/claude-port-guard
Path in repo
repository root
Source commit
08f11ed the exact code the scan read
Author
Christophe Jossart @colorfield
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.

Other mods in Toasts, close to this one by stars.