II.
HookSurface overview
Reference · livehook-surface:claude.instructions-loaded
InstructionsLoaded (Claude Code) overview
Fires when a CLAUDE.md or .claude/rules/*.md file is loaded into context. Observer-only. Used for memory / context-load telemetry + audit trail of what shaped the agent's instructions for a given turn. Matchable by load_reason.
Attributes
eventName
InstructionsLoaded (Claude Code)
displayName
InstructionsLoaded (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
false
family
observer
payloadSchema
type
object
required
- hook_event_name
- file_path
- memory_type
- load_reason
properties
hook_event_name
type
string
const
InstructionsLoaded
file_path
type
string
memory_type
type
string
enum
- User
- Project
- Local
- Managed
load_reason
type
string
enum
- session_start
- nested_traversal
- path_glob_match
- include
- compact
globs
type
array
items
type
string
trigger_file_path
type
string
parent_file_path
type
string
description
Fires when a CLAUDE.md or .claude/rules/*.md file is loaded into
context. Observer-only. Used for memory / context-load telemetry +
audit trail of what shaped the agent's instructions for a given turn.
Matchable by load_reason.
Outgoing edges
None.
Incoming edges
exposes1
- agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
maps_hook1
- hook-mapping:claude-instructions-loaded·HookMapping