Claude Code (code.claude.com) — a reference for the main CLI of the agentic coding tool that runs in the terminal.
Installation, quickstart, how the agentic loop works, CLAUDE.md memory, settings.json / environment variables / model configuration,
keybindings / statusline / terminal settings,cli-reference(-p / --continue / --resume flags such as) ·
session management (resume, checkpointing, worktrees, remote control, channels, deep links) ·
covers troubleshooting.
Extensions such as Skills / MCP / subagents / hooks / plugins are at anthropic-claude-code-extend, the
Agent SDK (when embedding it as a library) is at anthropic-agent-sdk, and direct calls to the Messages API are at
anthropic-api-core (this skill handles the usage, configuration, and operation of the Claude Code CLI itself).
Directory structure
skills/anthropic-claude-code/
SKILL.md
references/
getting-started/
README.md
overview.md
quickstart.md
how-claude-code-works.md
best-practices.md
common-workflows.md
features-overview.md
feature-availability.md
glossary.md
memory.md
goal.md
context-window.md
prompt-caching.md
setup.md
settings/
README.md
settings.md
env-vars.md
model-config.md
keybindings.md
statusline.md
terminal-config.md
debug-your-config.md
cli-reference.md
claude-directory.md
auto-mode-config.md
fast-mode.md
errors.md
sessions/
README.md
sessions.md
remote-control.md
channels.md
channels-reference.md
deep-links.md
worktrees.md
checkpointing.md
troubleshooting/
README.md
troubleshoot-install.md
troubleshooting.md
samples/
README.md
common-workflows.md
memory-claude-md.md
cli-usage.md
settings-json.md
statusline-config.md
keybindings-terminal.md
scripts/
README.md
install.md
cli-commands.md
env-setup.md
Exploration procedure
Derive the category from the task, and identify the target page using the category's README.md:
- Find the category corresponding to the task in the mapping table below
- of that category
references/{category}/README.md(samples/scripts/(the README.md directly under it) to identify the target page - Read the
.mdof the relevant page to check the details
Task → Category Mapping
| Task | Category | Reference README |
|---|---|---|
I want to know the overview of Claude Code, installation, quickstart, how the agentic loop works, best practices, typical workflows, feature list, glossary, CLAUDE.md memory,/goal, context window, prompt caching |
getting-started | references/getting-started/README.md |
settings.json / environment variables / model configuration, aliases, keybindings, statusline, terminal settings,cli-reference(command/flag)・.claude I want to know the directory structure, auto mode, fast mode, error messages |
settings | references/settings/README.md |
I want to handle session management (resume / branch), remote control, channels (MCP event push), deep links, worktree parallel execution, checkpointing (/rewind) |
sessions | references/sessions/README.md |
| I want to diagnose runtime problems such as installation/login failures, high CPU/memory, hangs, auto-compact thrashing | troubleshooting | references/troubleshooting/README.md |
I want to know typical usage (common workflows, CLAUDE.md @path imports, CLI startup patterns, minimal settings.json configuration, statusline scripts, keybindings/tmux configuration) |
samples | samples/README.md |
I want to know installation, version check, update, uninstall,claude CLI command examples, authentication/model/proxy environment variable configuration |
scripts | scripts/README.md |