npx claudepluginhub iwritec0de/claude-plugin-marketplace --plugin dep-guardDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/dep-guard.py",
"timeout": 30
}
],
"matcher": "Bash"
}
]
}"Blocks npm installs during Bash tool calls via PreToolUse hook with 'Bash' matcher. Executes bash npm-install-guard.sh script for security without file writes."