← Browse
integrity-guard
PiSchool ★ 1
This PreToolUse hook intercepts Edit, Write, and NotebookEdit operations to block modifications to research-integrity paths (like eval/ and scoring configs) and licensed corpora directories, preventing agents from accidentally corrupting experimental data or reproducibility artifacts. It uses shell script pattern matching to enforce protection rules, exiting with status 2 to reject blocked edits while allowing all other operations.
Install
> /plugin marketplace add PiSchool/pischool-marketplace/tree/HEAD/plugins/integrity-guard
> /plugin install integrity-guard
Source: https://github.com/PiSchool/pischool-marketplace/tree/HEAD/plugins/integrity-guard
What it's made of
1 hook
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 1 · PreToolUse
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
guard-integrity.sh- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (PiSchool).