74 pages for cleanup.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Example settings files
Claude Code CLI · in the page
settings-example
…"Read(~/.zshrc)" ] }, "autoUpdatesChannel": "stable", "cleanupPeriodDays": 20 } ``` **What each key does** The same file with a comment above each key. Read it here; copy from the oth…
All settings
Claude Code CLI · in the page
settings-reference
…-files) files when memory loads | Memory and context | Any file | | [`cleanupPeriodDays`](#cleanupperioddays) | Choose how many days Claude Code keeps [transcripts](/docs/en/data-usage#data-retention)…
Advanced setup
Claude Code CLI · in the page
setup
…er. > > Homebrew keeps old versions on disk after upgrades. Run `brew cleanup` periodically to reclaim disk space. ### Configure release channel Control which release channel Claude Code follows for…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…e runs a setup script only when the `db-agent` subagent starts, and a cleanup script when any subagent stops: ```json theme={null} { "hooks": { "SubagentStart": [ { "matcher": "db…
Configure your terminal for Claude Code
Claude Code CLI · in the page
terminal-config
…s sent again, including in a later session. Cache files older than [`cleanupPeriodDays`](/docs/en/settings-reference#cleanupperioddays) are deleted under the [retention sweep rules](/docs/en/claude-d…
Tools reference
Claude Code CLI · in the page
tools-reference
…ine. A draft you leave in the queue expires after 30 days, or after [`cleanupPeriodDays`](/docs/en/settings-reference#cleanupperioddays) when that's shorter. The queue holds 10 drafts across all your…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…ode keeps the newest 20 exchanges and expires stored threads on the [`cleanupPeriodDays`](/docs/en/settings-reference#cleanupperioddays) schedule, as long as Claude Code can [safely determine the rete…
Week 21 · May 18–22, 2026
Claude Code CLI · in the page
whats-new/2026-w21
…dings as inline GitHub PR comments. `/simplify` remains as a separate cleanup-only review\.Background sessions now appear in `/resume` alongside interactive ones, marked with `bg`, and sessions pinned…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…Covers the `--worktree` flag, subagent isolation, `.worktreeinclude`, cleanup, and non-git VCS hooks. A [git worktree](https://git-scm.com/docs/git-worktree) is a separate working directory with its…
Changelog
Claude Documentation · in the page
cowork/changelog
…ode at every sign-in asks more than once. * Fixed the automatic local cleanup deleting a session's Remote Control conversation on claude.ai, for organizations with the Claude Code + Cowork HIPAA confi…
Set up Cowork (local mode) for a HIPAA-ready organization
Claude Documentation · in the page
cowork/hipaa-setup
…e terminal. To control how long a computer keeps Cowork tasks, set [`cleanupPeriodDays`](#when-claude-desktop-deletes-cowork-tasks). It's a Claude Code managed setting, not a Claude Desktop policy ke…
Data storage and retention
Claude Documentation · in the page
office-agents/data-storage
…ical control is the device profile lifecycle, such as roaming-profile cleanup or reimaging, rather than a setting in the add-in. ## What leaves the device The table below covers each category and it…
Performance and limits
Claude Documentation · in the page
office-agents/performance
…> <li id="cite-note-10">↑ [a](#cite-ref-10-a) [b](#cite-ref-10-b) “[Cleanup cells in your workbook](https://support.microsoft.com/en-us/office/cleanup-cells-in-your-workbook-edcc579f-b82f-495b-8d31-…
Migrate Claude Desktop from a cloud provider to Claude Enterprise
Claude Documentation · in the page
third-party/claude-desktop/move-to-claude-enterprise
…s (any host is allowed until you set a list), and session retention (`cleanupPeriodDays`): Claude Code's managed settings. * Remote [managed MCP servers](/docs/third-party/claude-desktop/configuration…
Infrastructure Charter
Model Context Protocol · in the page
community/working-groups/infrastructure
…moval. * Automation supports access changes, ownership transfers, and cleanup as well as initial setup. Steps that still need manual action are documented. ## Changelog | Date | Change | | - | - | |…
Build an MCP client
Model Context Protocol · in the page
docs/2024-11-05/develop/build-client
…``` ### Interactive Chat Interface Now we'll add the chat loop and cleanup functionality: ```python theme={null} async def chat_loop(self): """Run an interactive chat loop""" print("\nMCP…
Build an MCP client
Model Context Protocol · in the page
docs/2025-03-26/develop/build-client
…``` ### Interactive Chat Interface Now we'll add the chat loop and cleanup functionality: ```python theme={null} async def chat_loop(self): """Run an interactive chat loop""" print("\nMCP…
Build an MCP client
Model Context Protocol · in the page
docs/2025-06-18/develop/build-client
…``` ### Interactive Chat Interface Now we'll add the chat loop and cleanup functionality: ```python theme={null} async def chat_loop(self): """Run an interactive chat loop""" print("\nMCP…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
…``` ### Interactive Chat Interface Now we'll add the chat loop and cleanup functionality: ```python theme={null} async def chat_loop(self): """Run an interactive chat loop""" print("\nMCP…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…``` ### Interactive Chat Interface Now we'll add the chat loop and cleanup functionality: ```typescript theme={null} async chatLoop() { const rl = readline.createInterface({ input: process.s…
Build an MCP client
Model Context Protocol · in the page
docs/draft/develop/build-client
…``` ### Interactive Chat Interface Now we'll add the chat loop and cleanup functionality: ```typescript theme={null} async chatLoop() { const rl = readline.createInterface({ input: process.s…
SEP-1686: Tasks
Model Context Protocol · in the page
seps/1686-tasks
…ata promptly rather than relying solely on `keepAlive` expiration for cleanup. ### 5. Message Flow [https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1686#issuecomment-3452378176](…
SEP-2567: Sessionless MCP via Explicit State Handles
Model Context Protocol · in the page
seps/2567-sessionless-mcp
…-trip instead of two, and the state cannot exist half-configured. * **Cleanup is available.** A `destroy_*(handle)` tool lets models release resources. A `list_*()` tool lets a model recover after los…
Tasks
Model Context Protocol · in the page
specification/2025-11-25/basic/utilities/tasks
…te S S->>C: Result content deactivate S Note over C,S: 4. Cleanup Note over S: After ttl period from creation, task is cleaned up ``` ### Task-Augmented Tool Call With Elicitation ``…