Environment variables

CLAUDE_CODE_PROMPT_CACHE_TTL

Sets the prompt cache time-to-live to 5m or 1h for the primary conversation turns.

Syntax

CLAUDE_CODE_PROMPT_CACHE_TTL

Type to search the reference, templates and lessons.