davidmoneil

4 mods across 1 repository, 2 stars between them.

document-guard

02

davidmoneil/aifred-document-guard

Plugin Claude Code

Prevents Claude from accidentally damaging important files. Intercepts Edit/Write operations and validates them against configurable protection rules including credential scanning, structural preservation, and semantic checks.

2 4mo ago A tokens not measured original MIT

PreToolUse

04

davidmoneil/aifred-document-guard

Hook

Runs before the agent uses a tool for Edit, Write, mcp__filesystem__edit_file and mcp__filesystem__write_file tool calls, executing document-guard.js via node (4 commands). From davidmoneil/aifred-document-guard.

2 4mo ago A tokens not measured original MIT