Search the documentation
31 pages for /init.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…that work without an interactive terminal through the SDK. The `system/init` message lists the ones available in your session in its `slash_commands` field. Commands that need an interactive terminal,…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…r Skills, your own commands, and prompt-expanding built-ins such as `/init` are sent to a new background session as their first prompt. Other built-in commands show an `attach to a session to run it`…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…n/features-overview). ### Write an effective CLAUDE.md <Tip> Run `/init` to generate a starter CLAUDE.md file based on your current project structure, then refine over time. </Tip> CLAUDE.md is a…
Champion kit
Claude Code CLI · in the page
champion-kit
…n a long task completes. Configuration is in the thread." * "Running `/init` generates a `CLAUDE.md` from the repository so the assistant stops re-asking about our conventions." ### Where to share it…
Commands
Claude Code CLI · in the page
commands
…up a project to shipping a change. **First session in a repo.** Run `/init` to generate a starter `CLAUDE.md`, then `/memory` to refine it. Use `/mcp` to set up any servers the project needs, ask Cla…
Communications kit
Claude Code CLI · in the page
communications-kit
…install.sh | bash cd <your-repo> claude Then run /init once. Claude reads your project and writes a CLAUDE.md with your build commands and conventions, so you stop re-explaini…
Development containers
Claude Code CLI · in the page
devcontainer
…sh`](https://github.com/anthropics/claude-code/blob/main/.devcontainer/init-firewall.sh) script that blocks all outbound traffic except the domains Claude Code and your development tools need. Running…
Environment variables
Claude Code CLI · in the page
env-vars
…lls and workflows are removed entirely, while built-in commands like `/init` stay typable but are hidden from the model. `/doctor` stays typable like the built-in commands; hide it with `DISABLE_DOCTO…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…| #### Read session metadata The `system/init` event reports session metadata including the model, tools, MCP servers, and loaded plugins. It is the first event in the st…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…de will explain. Built-in commands also guide you through setup: * `/init` walks you through creating a CLAUDE.md for your project * `/doctor` runs a setup checkup that diagnoses installation and co…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…Claude Code also reports a skipped `--mcp-config` entry in the `system/init` event's [`mcp_server_errors` field](/docs/en/headless#stream-responses), so scripts can detect that the server never loaded…
How Claude remembers your project
Claude Code CLI · in the page
memory
…in a session and check the list under **Memory files**. <Tip> Run `/init` to generate a starting CLAUDE.md automatically. Claude analyzes your codebase and creates a file with build commands, test…
Prompt library
Claude Code CLI · in the page
prompt-library
…own and returns a summary of how it fits together.", next: "Run `/init` to set up `CLAUDE.md` so Claude remembers this every session" }, "explain-unfamiliar-code": { title: "Explain unfam…
Claude Code settings
Claude Code CLI · in the page
settings
…lls and workflows are removed entirely, while built-in commands like `/init` stay typable but are hidden from the model. `/doctor` stays typable like the built-in commands; hide it with [`DISABLE_DOCT…
Extend Claude with skills
Claude Code CLI · in the page
skills
…ilt-in commands are also available through the Skill tool, including `/init` and `/security-review`. Other built-in commands such as `/compact` are not. Three ways to control which skills Claude can…
Week 16 · April 13–17, 2026
Claude Code CLI · in the page
whats-new/2026-w16
…<div>Claude can now discover and run built-in commands like <code>/init</code>, <code>/review</code>, and <code>/security-review</code> via the Skill tool</div> <div><code>PreCompact</code> ho…
Design guidelines
Claude Documentation · in the page
connectors/building/mcp-apps/design-guidelines
…s your app supports via `appCapabilities.availableDisplayModes` in `ui/initialize`. The host responds with the modes it supports, and your app can request a switch with `ui/request-display-mode`. Mode…
Architecture overview
Model Context Protocol · in the page
docs/2024-11-05/learn/architecture
…me={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP clien…
Architecture overview
Model Context Protocol · in the page
docs/2025-03-26/learn/architecture
…me={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP clien…
Architecture overview
Model Context Protocol · in the page
docs/2025-06-18/learn/architecture
…me={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP clien…
Architecture overview
Model Context Protocol · in the page
docs/2025-11-25/learn/architecture
…me={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP clien…
MCP Apps
Model Context Protocol · in the page
extensions/apps/overview
…core MCP protocol (e.g., `tools/call`), some are similar (e.g., `ui/initialize`), and most are new with a `ui/` method name prefix. The app can request tool calls, send messages, update the mode…
SEP-2243: HTTP Header Standardization for Streamable HTTP Transport
Model Context Protocol · in the page
seps/2243-http-standardization
…ion-Id: 1f3a4b5c-6d7e-8f9a-0b1c-2d3e4f5a6b7c Mcp-Method: notifications/initialized { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` ### Custom Headers from Tool Parameters MCP se…
SEP-2575: Make MCP Stateless
Model Context Protocol · in the page
seps/2575-stateless-mcp
…ethods and notifications are removed: * `initialize` / `notifications/initialized`: The initialization handshake is removed. Version negotiation is handled per-request via `MCP-Protocol-Version`…
Lifecycle
Model Context Protocol · in the page
specification/2024-11-05/basic/lifecycle
…```json theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` * The client **SHOULD NOT** send requests other than [pings](/specification/2024-11-05/basic/utilities/ping…
Lifecycle
Model Context Protocol · in the page
specification/2025-03-26/basic/lifecycle
…```json theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` * The client **SHOULD NOT** send requests other than [pings](/specification/2025-03-26/basic/utilities/ping…
Lifecycle
Model Context Protocol · in the page
specification/2025-06-18/basic/lifecycle
…```json theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` * The client **SHOULD NOT** send requests other than [pings](/specification/2025-06-18/basic/utilities/ping…
Schema Reference
Model Context Protocol · in the page
specification/2025-06-18/schema
…es Notification.params</p></aside></section> </div> ## `notifications/initialized` <div class="type"> ### `InitializedNotification` <div class="tsd-signature"><span class="tsd-signature-keyword…
Lifecycle
Model Context Protocol · in the page
specification/2025-11-25/basic/lifecycle
…```json theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` * The client **SHOULD NOT** send requests other than [pings](/specification/2025-11-25/basic/utilities/ping…
Schema Reference
Model Context Protocol · in the page
specification/2025-11-25/schema
…presented to the user.</p> </div></section> </div> ## `notifications/initialized` <div class="type"> ### `InitializedNotification` <div class="tsd-signature"><span class="tsd-signature-keyword…
Key Changes
Model Context Protocol · in the page
specification/2026-07-28/changelog
…2567)). 2. Make MCP stateless: remove the `initialize`/`notifications/initialized` handshake. Every request now carries its protocol version and client capabilities in `_meta` (`io.modelcontextprotoc…