protocol-guard

by Mike Rihm · ★ 0 · updated 9 days ago

GuardsPromptAutomationvalidates

0

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 to generated indexes, refuses a pull request, close or merge until knowledge-save (and the work or merge-and-clean-up skill) is open, and holds a final reply once when working memory or the index rebuild and...

install protocol-guard

Install

/plugin marketplace add Mar5929/claude-toolkit
/plugin install protocol-guard@claude-toolkit

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
session.startsession.endturn.startsession.compactprompt.submitclassic.UserPromptSubmitclassic.Stopskill.prompttool.callturn.stepturn.complete
API calls
$.agent.list$.command.list$.env.set$.fs.exists$.fs.read$.session.cwd$.session.id$.session.root$.ui.log
Can see
compactionevery promptclassic hooksevery skillevery tool call
Reach
level 2 of 3 sets env varsreads filesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Mar5929/claude-toolkit
Path in repo
plugins/protocol-guard
Author
Mike Rihm @Mar5929
License
No license declared — ask the author before reusing code.
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.