Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

32 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 its first prompt. The hint `isn't available in agent view` means the built-in comma… Best practices for Claude Code Claude Code CLI · in the page best-practices …es-overview.md). ### 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. CLAUDE.md is a specia… 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 …//claude.ai/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-explaining t… Development containers Claude Code CLI · in the page devcontainer …sh`](https://github.com/anthropics/claude-code/blob/main/.devcontainer/init-firewall.sh) script that limits outbound traffic to the destinations the script allows. Running a firewall inside a containe… 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 …ession the event belongs to | #### 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` generates a starter CLAUDE.md for your project * `/doctor` runs a setup checkup that diagnoses installation and configurati… 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 …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", prompt: "give me an overview of this codebase: architect… 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… All settings Claude Code CLI · in the page settings-reference …ndled skills and workflows entirely, while built-in commands such as `/init` stay typable but are hidden from the model. * **Scope**: [`Any file`](#scopes) * **Type**: Boolean * `true`: Claude Code… 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 …settings.json`Claude can now discover and run built-in commands like `/init`, `/review`, and `/security-review` via the Skill tool`PreCompact` hooks can block compaction by exiting with code 2 or retu… Design guidelines Claude Documentation · in the page connectors/building/mcp-apps/design-guidelines …ur app supports through `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 …fication theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP client manager establ… Architecture overview Model Context Protocol · in the page docs/2025-03-26/learn/architecture …fication theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP client manager establ… Architecture overview Model Context Protocol · in the page docs/2025-06-18/learn/architecture …fication theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP client manager establ… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …fication theme={null} { "jsonrpc": "2.0", "method": "notifications/initialized" } ``` #### How This Works in AI Applications During initialization, the AI application's MCP client manager establ… 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…
Feedback