npx claudepluginhub shiftinbits/constellation-claude --plugin constellationDefined in hooks/hooks.json
{
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "jq -n --arg ctx \"$(cat \"${CLAUDE_PLUGIN_ROOT}/hooks/prompts/pre-compact.txt\")\" '{hookSpecificOutput:{hookEventName:\"PreCompact\",additionalContext:$ctx}}'"
}
],
"matcher": ".*"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "jq -n --arg ctx \"$(cat \"${CLAUDE_PLUGIN_ROOT}/hooks/prompts/pre-tool-use-grep-glob.txt\")\" '{hookSpecificOutput:{hookEventName:\"PreToolUse\",additionalContext:$ctx}}'"
}
],
"matcher": "Grep|Glob"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "jq -n --arg ctx \"$(cat \"${CLAUDE_PLUGIN_ROOT}/hooks/prompts/session-start.txt\")\" '{hookSpecificOutput:{hookEventName:\"SessionStart\",additionalContext:$ctx}}'"
}
],
"matcher": "startup"
}
],
"SubagentStart": [
{
"hooks": [
{
"type": "command",
"command": "jq -n --arg ctx \"$(cat \"${CLAUDE_PLUGIN_ROOT}/hooks/prompts/subagent-start.txt\")\" '{hookSpecificOutput:{hookEventName:\"SubagentStart\",additionalContext:$ctx}}'"
}
],
"matcher": "Explore|Plan"
}
]
}"{\"riskFlags\": {\"touchesBash\": false, \"matchAllTools\": false, \"touchesFileWrites\": false}, \"typeStats\": {\"command\": 4}, \"eventStats\": {\"PreCompact\": 1, \"PreToolUse\": 1, \"SessionStart\": 1, \"SubagentStart\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 4, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 4}}"