847 pages for history.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Push events into a running session with channels
Claude Code CLI · in the page
channels
…* Send Messages in Threads > * Create Public Threads > * Read Message History > * Attach Files > * Add Reactions > > Open the generated URL to add the bot to your server. > > **4. Install the plugin**…
Checkpointing
Claude Code CLI · in the page
checkpointing
…instead of opening the menu. The cleared text is saved to your input history, so press `Up` to recall it after you finish in the rewind menu. The rewind menu lists the prompts you sent during the se…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…`/web-setup`. For a full clone, the bundle includes your repository history across all branches, plus uncommitted changes to tracked files. What happens to uncommitted changes in sensitive files de…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…` also holds data Claude Code writes as you work: transcripts, prompt history, file snapshots, caches, and logs. See [application data](#application-data) below. ## Choose the right file Different k…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…ent messages, recent threads, and project memory rather than its full history. Put anything Claude should remember in [project memory](#give-a-project-standing-context). If one thread outgrows its con…
Scan your codebase for vulnerabilities
Claude Code CLI · in the page
claude-security
…port directories out while you package or deploy. To keep a report in history for an audit trail, delete that one `.gitignore` file and commit the directory. Findings only appear in the report after…
claude-tag
Claude Code CLI · in the page
claude-tag
…eature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"b…
CLI reference
Claude Code CLI · in the page
cli-reference
…for a project, such as transcripts, task lists, debug logs, file-edit history, prompt history lines, and the project's entry in `~/.claude.json`. Omit `[path]` to pick from an interactive list. Flags:…
Commands
Claude Code CLI · in the page
commands
…Use `/btw` for a side question that shouldn't add to the conversation history. **Run work in parallel.** Claude delegates side tasks to [subagents](/docs/en/sub-agents), and `/tasks` lists the curren…
Explore the context window
Claude Code CLI · in the page
context-window
…nd the same MCP and skill setup, but starts without your conversation history or the main session's auto memory.", link: '/en/sub-agents' }, { t: 0.795, kind: 'sub', label: 'System p…
Manage costs effectively
Claude Code CLI · in the page
costs
…t 7 days. The figures are approximate and computed from local session history on this machine, so usage from other devices or claude.ai is not included. In the [VS Code extension](https://code.claude…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…of text one Claude writes to another, never the sender's conversation history or files. To move a whole conversation or its context, [resume the session](https://code.claude.com/docs/en/sessions.md#re…
Data usage
Claude Code CLI · in the page
data-usage
…nt When you run the `/feedback` command, a copy of your conversation history including code is sent to Anthropic. The `/bug` and `/share` commands submit through the same path. Before submitting a re…
Desktop application
Claude Code CLI · in the page
desktop
…the Code tab, each conversation is a **session**: it has its own chat history and project folder, independent of any other session. The sidebar lists your sessions and lets you run several in parallel…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…tail page](#manage-scheduled-tasks) and click that run's row in the **History** list. The sidebar's session list can show a **Scheduled** group as well, with one row per task. To open the session of…
Development containers
Claude Code CLI · in the page
devcontainer
…aude Code stores its authentication token, user settings, and session history under the [`~/.claude`](https://code.claude.com/docs/en/claude-directory) directory. It stores your account details, perso…
Environment variables
Claude Code CLI · in the page
env-vars
…way is automatically excluded from `--resume`, `--continue`, up-arrow history, and the `claude agents` list. Non-interactive `claude -p` sessions still persist. Set `CLAUDE_CODE_FORCE_SESSION_PERSISTE…
Error reference
Claude Code CLI · in the page
errors
…k](#failed-to-fetch-session-from-sessions-api) | | `Couldn't load the history of cloud session` | [Network](#couldnt-load-the-history-of-cloud-session) | | `Couldn't reconnect to your Remote Control s…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…in a checkout of the same GHES repository before loading the session history. See [teleport requirements](https://code.claude.com/docs/en/claude-code-on-the-web.md#teleport-requirements) for details.…
Glossary
Claude Code CLI · in the page
glossary
…ontext window The working memory for a session, holding conversation history, file contents, command outputs, CLAUDE.md, auto memory, loaded skills, and system instructions. As you work, context fill…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…scripts and auto memory, the entries in `tasks/`, `debug/`, and `file-history/`, `history.jsonl`, and the project entries in `~/.claude.json`. Without `--yes`, it prints the plan and asks first. The…
Hooks reference
Claude Code CLI · in the page
hooks
…appear in local files such as the session transcript and your prompt history. A blocking hook isn't a way to keep a secret off disk. To limit or remove those files, see [Plaintext storage](https://co…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…r git state.** Current branch, uncommitted changes, and recent commit history. * **Your [CLAUDE.md](https://code.claude.com/docs/en/memory.md).** A markdown file where you store project-specific instr…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…creen | Forces a full terminal redraw, keeping input and conversation history. Use this to recover if the display becomes garbled or partially blank. See [Clear the conversation](https://code.claude.c…
Customize keyboard shortcuts
Claude Code CLI · in the page
keybindings
…elp` | Help menu is visible | | `Transcript` | Transcript viewer | | `HistorySearch` | History search mode (Ctrl+R) | | `Task` | A task is running in the foreground | | `ThemePicker` | Theme picker di…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…rom any starting directory. When shared skills need their own version history or must work across repositories, package them as a [plugin](https://code.claude.com/docs/en/plugins/overview.md) instead.…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…ude.com/docs/en/cli-reference#cli-flags) or [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](https://code.claude.com/docs/en/env-vars), Claude Code writes no image file and Claude receives only the inline copy. S…
How Claude remembers your project
Claude Code CLI · in the page
memory
…eadlines, and decisions that Claude can't derive from the code or git history * `reference`: where to find information outside the project, such as an issue tracker or dashboard Claude skips anything…
Model configuration
Claude Code CLI · in the page
model-config
…der models. For the version at which each alias changed, see [Version history](#version-history). Aliases point to the recommended version for your provider and update over time. To pin to a specific…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…vents (default: disabled). Bodies can include the entire conversation history. Enabling this implies consent to everything `OTEL_LOG_USER_PROMPTS`, `OTEL_LOG_TOOL_DETAILS`, and `OTEL_LOG_TOOL_CONTENT`…
Overview
Claude Code CLI · in the page
overview
…sion provides inline diffs, @-mentions, plan review, and conversation history directly in your editor. > > * [Install for VS Code](vscode:extension/anthropic.claude-code) > * [Install for Cursor](curs…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…ders such as SSH keys, cloud credentials, browser profiles, and shell history, and user-data exports all count, and the repository being private doesn't clear it * Writing to Claude Code session trans…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…k needs in the prompt itself, or [set up the workspace](#add-setup-or-history-with-case-yaml) first. The [full list of frontmatter fields](#prompt-md-fields) covers the model, timeout, tags, and envi…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…ld_script`](https://code.claude.com/docs/en/plugin-evals#add-setup-or-history-with-case-yaml) | Off | | `--trust-plugin` | Skip the first-run trust prompt, for CI. See [What a run can access](https://…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…@your-marketplace` once in a session. Treat `renames` as append-only history. Keep old entries after everyone has migrated. When you rename again, add a second entry rather than editing the first, be…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…Rewrite a prompt typed as plain text. The transcript and your [prompt history](https://code.claude.com/docs/en/interactive-mode.md#command-history) show the new text. | `next({ ...e, text: newText })`…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…[values can be missing sooner](#store-in-cloud-sessions). | Settings, history, anything the user expects to find next time | `$.store` is a key-value store, saved as a JSON file of your plugin's own…
Set up PR Steward
Claude Code CLI · in the page
pr-steward-setup
…ct from PR Steward's pushes. Block force pushes on the branches whose history you want to keep. > [!NOTE] > > Where a [Claude Approvals policy lets Claude approve](https://code.claude.com/docs/en/app…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…re cost-efficient. Without caching, the API would reprocess your full history on every turn. With caching, it reuses what it already processed, bills the re-read at the [cached token rate](https://pla…
Prompt library
Claude Code CLI · in the page
prompt-library
…at: 'Understand', roles: [], prompt: 'look through the commit history of {path} and summarize how it evolved and why', slots: { path: 'internal/auth/session.go' }, src: 'best…
Quickstart
Claude Code CLI · in the page
quickstart
…ble to you > * Use Tab for command completion > * Press ↑ for command history > * Press `Shift+Tab` to cycle permission modes ## What's next? Now that you've learned the basics, explore more advance…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…a Remote Control session that carries over your current conversation history. > > Until you accept Remote Control's one-time confirmation, a dialog appears before `/remote-control` connects. Select *…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…n now** on the detail page. To see what a run did, click it in the **History** list on the detail page. The run [opens as a full session](#view-and-interact-with-runs), a new one for each run, where…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…only the last cause that Anthropic recorded for the session, not its history: | Value | What happened | What to check | | :- | :- | :- | | `session_created` | This is the first spawn request for a n…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…kstart.md#set-up-manually), so the secret never appears in your shell history. Run `(umask 077 && cat > ./environment-secret)`, paste the secret, press Enter, then Ctrl-D. Then create the Secret and d…
Self-hosted environments quickstart
Claude Code CLI · in the page
self-hosted-environments-quickstart
…mmand below reads from your terminal so the secret stays out of shell history: paste the value you copied, press Enter, then Ctrl-D, and the subshell's `umask` makes the file readable only by its owne…
Manage sessions
Claude Code CLI · in the page
sessions
…es the conversation along with the state saved in it: * Conversation history: the messages, tool calls, and results. If the session was [compacted](https://code.claude.com/docs/en/context-window.md#w…
All settings
Claude Code CLI · in the page
settings-reference
…64 letters, digits, `.`, `_`, or `-`. Claude Code keys the tip's show history on it, so the tip's cooldown survives reordering the list. Of two entries with the same id, Claude Code uses the first | |…
Advanced setup
Claude Code CLI · in the page
setup
…your settings, allowed tools, MCP server configurations, and session history. The VS Code extension, the JetBrains plugin, and the Desktop app also write to `~/.claude/`. If any of them is still ins…
Extend Claude with skills
Claude Code CLI · in the page
skills
…ill content as its prompt. The subagent doesn't see your conversation history, so the skill's instructions have to stand on their own. > [!NOTE] > > Despite the name, a skill with `context: fork` doe…