Files
gh-kylesnowschwartz-claude-…/hooks/hooks.json
2025-11-30 08:36:20 +08:00

30 lines
745 B
JSON

{
"description": "Claude-Handoff: Intelligent context transfer via /compact detection",
"hooks": {
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/entrypoints/pre-compact.sh",
"description": "Save session state before compact for handoff generation"
}
]
}
],
"SessionStart": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/entrypoints/session-start.sh",
"description": "Generate and inject handoff context after /compact",
"timeout": 60
}
]
}
]
}
}