What is protocol-guard?
protocol-guard is a Claude Code mod by Mar5929 that required workflow checks with Claude Code function hooks. Refuses a knowledge-file write, or a memory-service save in external memory mode, until knowledge-save is open, refuses hand edits. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Mar5929 |
| Repository | Mar5929/claude-toolkit |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (68/100) |
| Rank | #3,903 of 5,272 Claude Code mods; #409 in Security |
| Last commit | 2026-09-26 |
| Hooks | 11 events |
| Sees | classic hooks, compaction, every prompt, every skill, every tool call |
| Draws on | nothing |
Is protocol-guard safe to install?
protocol-guard scores 68/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; watches every prompt or event. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.command.list | |
$.env.set | sets env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.session.cwd | |
$.session.id | |
$.session.root | |
$.ui.log | draws interface |
How do I install protocol-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Mar5929/claude-toolkit claude plugin validate ./claude-toolkit/plugins/protocol-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Mar5929/claude-toolkit && claude plugin install protocol-guard@claude-toolkit
Or ask Claude to set it up
Paste this into Claude Code and it installs protocol-guard for you:
Install the "protocol-guard" Claude Code mod from https://github.com/Mar5929/claude-toolkit/tree/main/plugins/protocol-guard. Run claude plugin validate on it first and show me what it can access before you enable it.