iiRecord
Agentic AI Atlas · Setup (Claude Code)
hook-surface:claude.setupa5c.ai
II.
HookSurface JSON

hook-surface:claude.setup

Structured · live

Setup (Claude Code) json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yamlCluster · channels-hooks
Record JSON
{
  "id": "hook-surface:claude.setup",
  "_kind": "HookSurface",
  "_file": "channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yaml",
  "_cluster": "channels-hooks",
  "attributes": {
    "eventName": "Setup (Claude Code)",
    "displayName": "Setup (Claude Code)",
    "kind": "native",
    "originVendor": "Anthropic",
    "direction": "pre",
    "blocking": false,
    "family": "shell-hook",
    "payloadSchema": {
      "type": "object",
      "required": [
        "session_id",
        "transcript_path",
        "cwd",
        "hook_event_name",
        "trigger"
      ],
      "properties": {
        "session_id": {
          "type": "string"
        },
        "transcript_path": {
          "type": "string"
        },
        "cwd": {
          "type": "string"
        },
        "hook_event_name": {
          "type": "string",
          "const": "Setup"
        },
        "trigger": {
          "type": "string",
          "enum": [
            "init",
            "maintenance"
          ]
        }
      }
    },
    "description": "Fires only on `--init-only`, `-p --init`, or `-p --maintenance`. One-time\ninitialization hook for CI / scripts / one-shot bootstrap. Has access to\nCLAUDE_ENV_FILE for environment persistence. Distinct from SessionStart\nwhich fires on every session.\n"
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "agent-runtime-impl:claude-code.runtime@1.x",
      "to": "hook-surface:claude.setup",
      "kind": "exposes",
      "attributes": {}
    },
    {
      "from": "hook-mapping:claude-setup",
      "to": "hook-surface:claude.setup",
      "kind": "maps_hook",
      "attributes": {}
    }
  ]
}