PreCompact (Claude)
hook-surface:claude.pre-compact
HookSurfacechannels-hooks/hook-surfaces/native/hook-surfaces-claude-code.yaml·Open in Graph → {
"id": "hook-surface:claude.pre-compact",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/hook-surfaces-claude-code.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "PreCompact (Claude)",
"displayName": "PreCompact (Claude)",
"kind": "native",
"originVendor": "Anthropic",
"direction": "pre",
"blocking": true,
"family": "shell-hook",
"description": "Claude Code's PreCompact hook. Fires before context compaction;\ncan block or alter compaction.\n"
},
"outgoingEdges": [
{
"from": "hook-surface:claude.pre-compact",
"to": "hook-surface:pre-compact",
"kind": "canonicalized_to",
"attributes": {}
},
{
"from": "hook-surface:claude.pre-compact",
"to": "agent-version:claude-code@1.x",
"kind": "emits_hook",
"attributes": {
"attrs": {
"since": "1.0.0"
}
}
}
],
"incomingEdges": []
}