II.
HookSurface JSON
Structured · livehook-surface:claude.teammate-idle
TeammateIdle (Claude Code) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:claude.teammate-idle",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "TeammateIdle (Claude Code)",
"displayName": "TeammateIdle (Claude Code)",
"kind": "native",
"originVendor": "Anthropic",
"direction": "pre",
"blocking": true,
"family": "in-process",
"payloadSchema": {
"type": "object",
"required": [
"hook_event_name"
],
"properties": {
"hook_event_name": {
"type": "string",
"const": "TeammateIdle"
}
}
},
"description": "Fires when an agent-team teammate is about to go idle. Exit 2 or\ncontinue: false prevents idle, keeps the teammate working. Only fires\nwhen CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:claude-code.runtime@1.x",
"to": "hook-surface:claude.teammate-idle",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:claude-teammate-idle",
"to": "hook-surface:claude.teammate-idle",
"kind": "maps_hook",
"attributes": {}
}
]
}