Skip to main content

Every Part of Claude Code You Can Use or Change

Unofficial community docs for version 2.1.304, built from the official docs and the program itself. Not made by or tied to Anthropic. For supported behavior, check the official docs first.

  • Documented An official docs page names it.
  • Undocumented Only the program shows it. It can change without notice.
  • Differs The docs and the program disagree. The row says how.
  • Gated It works only behind a flag or a server gate.

Claude Code is a coding assistant that runs in your terminal, your editor, and the cloud. You tell it a task in plain words. It reads your files, runs commands, and edits code to finish the task. You can change almost every part of it with settings, hooks, plugins, skills, and MCP servers.

What This Site Covers​

The official docs explain the features that Anthropic supports. This site goes further. It lists every surface you can use, change, or switch on and off, whether the official docs name it or not. It also explains how the program works inside, so you can predict what a setting will do.

Read How to Read These Docs for the full guide to badges and tables. The text uses Simple English: short sentences and common words.

Claude Code in One Minute​

Claude Code is one program that runs a loop. You send a prompt. The program builds a request and sends it to a model. The model either answers or asks for a tool. If it asks for a tool, Claude Code checks your permission rules, runs the tool, and sends the result back. The loop stops when the model answers without asking for a tool.

Along the way, Claude Code saves the conversation to a file in ~/.claude/projects/, so you can resume it later. When the conversation gets too long, it asks the model for a short summary and goes on from the summary.

StepWhat happensLearn more
StartThe program reads your settings, memory files, plugins, and MCP servers.Architecture
TurnYour prompt becomes a request, the model streams a reply, and tools run.The Agent Loop
RequestThe request holds tools, the system prompt, and the conversation, with cache markers.Request and Cache
PromptThe first text the model reads is built from named sections.The System Prompt
ContextOld messages are summarized when the window fills up.Context and Compaction
SaveEach message is appended to a JSONL file.Sessions and Storage
ModelThe model, effort, thinking, and retries are chosen.Models

Map of the Site​

SectionWhat you find thereStart with
Start HereHow to read the badges, a map of what you can change, the files Claude Code keeps, and breaking changes per release.How to Read These Docs and What Changed
How It WorksThe harness in depth: architecture, the agent loop, requests and cache, the system prompt, compaction, sessions, models, and permissions.Architecture
ConfigureSettings keys, environment variables, command line flags, permissions, memory, output styles, the status line, and models and providers.Models and Providers
ExtendHooks, skills and commands, subagents, plugins, MCP servers, the Mod API, and headless mode.Hooks and Plugins
ReferenceEvery tool and parameter, API endpoints and betas, the transcript format, probes, and an index of undocumented items.Transcript Format and Undocumented Items
System PromptsThe full text of each system prompt variant, captured offline, with sizes and diffs.Captured System Prompts

Where to Go Next​