npx claudepluginhub adrianv101/obsidian-pkm-plugin --plugin obsidian-pkmDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"if": "Bash(git commit*)",
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-commit-reminder.sh"
}
],
"matcher": "Bash"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "VAULT_PATH=${VAULT_PATH} node ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.js",
"timeout": 15
}
],
"matcher": "startup|clear|compact"
}
]
}"Runs bash script to reject git pushes on PreToolUse for Bash tools (can block); checks GS stack status on SessionStart. Executes bash, no file writes."