Search the documentation
8 pages for hooks.json.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Plugins in the SDK
Claude Code CLI · in the page
agent-sdk/plugins
…specialist.md ├── hooks/ # Event handlers │ └── hooks.json └── .mcp.json # MCP server definitions ``` <Note> The `commands/` directory holds skills as flat Mark…
Claude Code changelog
Claude Code CLI · in the page
changelog
…tories changed * Fixed plugins with a top-level `$schema` in `hooks/hooks.json` showing an "unknown key" notice * Fixed MCP connection errors and the MCP login tool's description showing secrets r…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…ly [plugins](/docs/en/plugins-reference#hooks) load a separate `hooks/hooks.json`. See [hook configuration](/docs/en/hooks).…
Hooks reference
Claude Code CLI · in the page
hooks
…| | [Plugin](/docs/en/plugins) `hooks/hooks.json` | When plugin is enabled | Y…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…| | [Plugin](/docs/en/plugins) `hooks/hooks.json` | When plugin is enabled…
Create and distribute a plugin marketplace
Claude Code CLI · in the page
plugin-marketplaces
…| `plugin.json`, `hooks/hooks.json`, and the `skills`, `agents`, and `commands` directories at the plugin root…
Create plugins
Claude Code CLI · in the page
plugins
…| | `hooks/` | Plugin root | Event handlers in `hooks.json`…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…at respond to Claude Code events automatically. **Location**: `hooks/hooks.json` in plugin root, or inline in plugin.json **Format**: JSON configuration with event matchers and actions `hooks/hooks…