Search the documentation
6 pages for instructionsloaded.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…| | `InstructionsLoaded` | No | Yes | A `CLAUDE.md` or rules file is loaded into c…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…" | "DirectoryAdded" | "WorktreeCreate" | "WorktreeRemove" | "InstructionsLoaded" | "CwdChanged" | "FileChanged" | "MessageDisplay"; ``` ### `HookCallback` Hook callback function type.…
Hooks reference
Claude Code CLI · in the page
hooks
…denials, WorktreeCreate, WorktreeRemove, Notification, ConfigChange, InstructionsLoaded, CwdChanged, FileChanged, and DirectoryAdded as standalone async events, and MessageDisplay as a display-only e…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…| | `InstructionsLoaded` | When a CLAUDE.md or `.claude/rules/*.md` file is loaded into context. Fires at session start and when files…
How Claude remembers your project
Claude Code CLI · in the page
memory
…ed to scripts and automation than interactive use. <Tip> Use the [`InstructionsLoaded` hook](/docs/en/hooks#instructionsloaded) to log exactly which instruction files are loaded, when they load, an…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…| | `InstructionsLoaded` | When a CLAUDE.md or `.claude/rules/*.md` file is loaded into context. Fires at session start and when files…