npx claudepluginhub athola/claude-night-market --plugin conserveDefined in hooks/hooks.json
{
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/pre_compact_preserve.py",
"timeout": 2
}
],
"_comment": "Preserve critical context before compression"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/context_warning.py",
"timeout": 1
}
],
"matcher": "Write|Edit|Bash|Skill|Task"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/tool_output_summarizer.py",
"timeout": 1
}
],
"matcher": "Bash|Read|Grep",
"_comment": "Monitor tool output bloat for verbose tools"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh",
"timeout": 2
}
],
"matcher": "startup|resume|clear|compact",
"_comment": "Order 1: Initialize conservation metrics and context tracking on session start/resume"
}
],
"PermissionRequest": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/permission_request.py",
"timeout": 2
}
]
}
]
}"{\"riskFlags\": {\"touchesBash\": true, \"matchAllTools\": true, \"touchesFileWrites\": true}, \"typeStats\": {\"command\": 5}, \"eventStats\": {\"PreCompact\": 1, \"PreToolUse\": 1, \"PostToolUse\": 1, \"SessionStart\": 1, \"PermissionRequest\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 5, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 0}}"