Skip to content
Back to skills

Prompt Caching

ASecurity

Reduce LLM cost and latency with prompt caching: stable prefixes, cache breakpoints and measuring hit rate.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsperformance

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill prompt-caching --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Caching?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompt Caching
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-prompt-caching/badge)](https://www.skillsdirectory.com/skills/karthikrshet-prompt-caching)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.