claudemods

All Claude Code modsMar5929/claude-toolkit

protocol-guard

A Claude Code mod in Mar5929/claude-toolkit

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.

In its last recorded footprint, protocol-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

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

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later. The latest scan could not confirm this mod, so the command may be out of date.

Access

L2 Writes or runssets env vars, reads files, draws

Validation

not verified

View the source on GitHub Back to the list

What the scan recorded

Observed events
compaction, every prompt, classic hooks, every skill, every tool call
Hooks
session.start, session.end, turn.start, session.compact, prompt.submit, classic.UserPromptSubmit, classic.Stop, skill.prompt, tool.call, turn.step, turn.complete
API calls
$.agent.list, $.command.list, $.env.set, $.fs.exists, $.fs.read, $.session.cwd, $.session.id, $.session.root, $.ui.log
Validation
not verified
Last known result
Passed on 2.1.302
Validator output
Repository could not be scanned; showing the last known footprint.
Scanned revision
9d4ea8d4a5ef
Marketplace passed
claude-toolkit

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for protocol-guard Validation badge for protocol-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Mar5929--claude-toolkit--protocol-guard-reach.svg)](https://mods.aidojo.si/mods/Mar5929--claude-toolkit--protocol-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Mar5929--claude-toolkit--protocol-guard-validates.svg)](https://mods.aidojo.si/mods/Mar5929--claude-toolkit--protocol-guard/)