Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Prompt Caching?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-prompt-caching)
---
name: prompt-caching
description: "Reduce LLM cost and latency with prompt caching: stable prefixes, cache breakpoints and measuring hit rate."
tags: [ai-agents, performance]
---
# Prompt Caching
## When to use
- Repeated large system prompts, documents or tool definitions
## Procedure
1. Order prompt as tools → system → stable context → variable input
2. Mark cache breakpoints at the end of stable sections
3. Avoid timestamps or random IDs in the prefix
4. Measure cache_read vs input tokens
## Checklist
- [ ] Cache hit rate tracked
## Anti-patterns
- Changing system prompt per request