Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

9 pages for promptcache.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …ment variable](https://code.claude.com/docs/en/env-vars.md), or the [`promptCacheTtl`](https://code.claude.com/docs/en/settings-reference#promptcachettl) setting * Everything else: the `CLAUDE_CODE_SU… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …uding on a Claude subscription. To keep it for an hour, set [`subagentPromptCacheTtl`](https://code.claude.com/docs/en/settings-reference#subagentpromptcachettl) to `1h`. The API bills 1-hour cache wr… Claude Code changelog Claude Code CLI · in the page changelog …rompts" switch in `/plugin` to turn the "Try …" examples off * Added `promptCache` to a mod's `$.session.usage()` and `session.measure`: whether the prompt cache is warm, when it expires and why it la… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …Claude Code v2.1.242 or later on the gateway server and on clients. `promptCacheTtl` covers the main conversation. `subagentPromptCacheTtl` is optional and covers subagents, workflows, and background… Use the mods API Claude Code CLI · in the page plugins/mods/api …Claude Code settings, not from the call. For one hour, set [`subagentPromptCacheTtl`](https://code.claude.com/docs/en/prompt-caching#choose-the-ttl-yourself) to `1h`. * **Breakpoints per request**: t… Mods reference Claude Code CLI · in the page plugins/mods/reference …# Send a changed system prompt section or tool description with `breakPromptCache` To change a section or a tool description in a running conversation, call `$.ui.invalidate('prompt.section')` or `$.… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …Claude Code ignores any other value. * **Main conversation**: the [`promptCacheTtl`](https://code.claude.com/docs/en/settings-reference#promptcachettl) setting, or the `CLAUDE_CODE_PROMPT_CACHE_TTL`… All settings Claude Code CLI · in the page settings-reference …S and Linux | Agents, sessions, and worktrees | User or managed | | [`promptCacheTtl`](#promptcachettl) | Choose the [prompt cache lifetime](https://code.claude.com/docs/en/prompt-caching.md#cache-lif… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …uding on a Claude subscription. To keep it for an hour, set [`subagentPromptCacheTtl`](https://code.claude.com/docs/en/settings-reference#subagentpromptcachettl) to `1h`. The API bills 1-hour cache wr…
Feedback