Prompt Caching

Designs and wires Anthropic prompt caching for Messages API calls — automatic vs explicit breakpoints, prefix ordering, TTL, minimum token thresholds, and cache-invalidation traps. Use when building Claude API integrations, agent loops, multi-turn chats, large tool/system prompts, or when the user mentions prompt caching, cache_control, or cache_read_input_tokens.

jcdavis131 Updated

File contents

jcdavis131/cursor-agent-skills/tree/main/skills/prompt-caching commit 7c59b4eab9

Frequently asked questions

npx skillmds@latest add jcdavis131/prompt-caching