{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" hook",
"async": true
},
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" ticket offer",
"timeout": 3
},
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" rules offer",
"timeout": 3
}
]
}
],
"SubagentStart": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" rules offer",
"timeout": 3
}
]
}
],
"PostToolUse": [
{
"matcher": "Artifact",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" artifacts keep",
"timeout": 5
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" hook",
"async": true
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" hook",
"async": true
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/bin/ctx\" hook",
"async": true
}
]
}
]
}
}