claudecodemods.dev

All mods / mar5929/claude-toolkit

protocol-guard

CAUTION

★ 0 by Mike Rihm Repository ↗ Mod source ↗

Safety & guards Git Memory

Description

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 checker did not follow the change. Fact checks only: no model call and no reading of the agent's words. Runs only when CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1.

What it can do

Reach level 2 — writes or runs What does this mean? →

sets env varsreads filesdraws

Can see: compaction · every prompt · classic hooks · every skill · every tool call

Raw API calls (9) +
  • $.agent.list
  • $.command.list
  • $.env.set
  • $.fs.exists
  • $.fs.read
  • $.session.cwd
  • $.session.id
  • $.session.root
  • $.ui.log

Static check passed on Claude Code 2.1.295.

Install

$/plugin marketplace add mar5929/claude-toolkit
$/plugin install protocol-guard

Check the repo for the exact name.

Details

Repository
mar5929/claude-toolkit
Path in repo
plugins/protocol-guard
License
Unknown
Last updated
Sep 26, 2026
First seen
Oct 10, 2026
Last scanned
Oct 10, 2026

Related mods — reach level 2

Capability data is machine-generated by static analysis and may be incomplete. A SAFE badge is not a guarantee — read the code before installing anything with broad access. Not affiliated with Anthropic.

Found a mistake in this listing or verdict? Report an issue →