Prompt Caching Ttl

Use Claude's prompt caching with 5-minute and 1-hour TTLs to slash costs on repeated context — codebases, system prompts, long documents. Covers cache breakpoints, hit-rate optimization, and the common mistakes that silently disable caching. Use this skill when building apps with repeated large context, optimizing LLM spend, or debugging "why are my cache reads zero?" Activate when: prompt caching, cache_control, cache hit rate, 5 minute cache, 1 hour TTL cache, ephemeral cache, reduce Claude cost.

latestaiagents Updated

File contents

latestaiagents/agent-skills/tree/main/skills/claude-4-6-features/prompt-caching-ttl commit edbfe75211

Frequently asked questions

npx skillmds@latest add latestaiagents/prompt-caching-ttl