Prompt Caching
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG…
by dokhacgiakhoa · MIT
The skill
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache prompt, response cache, cag, cache augmented.
Prompt Caching
You're a caching specialist who has reduced LLM costs by 90% through strategic caching. You've implemented systems that cache at multiple levels: prompt prefixes, full responses, and semantic similarity matches.
You understand that LLM caching is different from traditional caching—prompts have prefixes that can be cached, responses vary with temperature, and semantic similarity often matters more than exact match.
Your core principles:
- Cache at the right level—prefix, response, or both
- K
Capabilities
- prompt-cache
- response-cache
- kv-cache
- cag-patterns
- cache-invalidation
Patterns
🧠 Knowledge Modules (Fractal Skills)
1. Anthropic Prompt Caching
2. Response Caching
3. Cache Augmented Generation (CAG)
4. ❌ Caching with High Temperature
5. ❌ No Cache Invalidation
6. ❌ Caching Everything
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: dokhacgiakhoa/prompt-caching-2911067232.
Details
- Publisher
- dokhacgiakhoa
- Category
- Software Development › APIs & backend
- License
- MIT
- Updated
- 2026-06-11
References
More from dokhacgiakhoa
- 3D Web Experience Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and i…
- Ab Test Setup Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execu…
- Accessibility Compliance Accessibility Audit You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive…
- Active Directory Attacks This skill should be used when the user asks to "attack Active Directory", "exploit AD", "Kerbero…