/plugin marketplace add constellos/claude-code-plugins/plugin install github-context@constellosDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/commit-session-check-pr-status.ts",
"description": "Auto-commits session changes, checks PR status, and reports CI/preview URLs with progressive blocking"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/sync-plan-to-issue.ts",
"description": "Automatically creates/updates GitHub issues from plan files"
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/enhance-commit-context.ts",
"description": "Enhances commits with task and issue context (both main and subagent)"
}
],
"matcher": "Bash"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/install-github.ts",
"description": "Installs GitHub CLI on remote, warns if missing on local"
},
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/add-github-context.ts",
"description": "Displays branch issue context, sync status, and outstanding issues"
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/commit-task.ts",
"description": "Auto-commits agent work with task context and git trailers"
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 6
},
"eventStats": {
"Stop": 1,
"PostToolUse": 2,
"SessionStart": 2,
"SubagentStop": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 6,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 6
}
}