Home / Claude Code mods / Security / protocol-guard

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.

Updated 2026-09-26

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.

TypeClaude code mod
AuthorMar5929
RepositoryMar5929/claude-toolkit
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (68/100)
Rank#3,903 of 5,272 Claude Code mods; #409 in Security
Last commit2026-09-26
Hooks11 events
Seesclassic hooks, compaction, every prompt, every skill, every tool call
Draws onnothing

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.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.command.list
$.env.setsets env vars
$.fs.existsreads files
$.fs.readreads files
$.session.cwd
$.session.id
$.session.root
$.ui.logdraws interface

How do I install protocol-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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.