seed-prompt-cache-anchor
CommunityMaximize prompt-cache hits with stable prompts.
Software Engineering#anthropic#prompt-caching#cost-reduction#prompt-audit#ai-prompt-engineering#stable-prefix#cache-breakpoint
AuthorJBODE-mhhs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill restructures prompts to maximize Anthropic prompt caching by moving the stable instructions to the top, marking the cache breakpoint correctly, and removing per-turn-changing junk from above the breakpoint.
Core Features & Use Cases
- Identify the stable prefix in prompts that should not vary between calls.
- Place a clear cache breakpoint to separate stable content from per-turn content.
- Verify cache hit rates and the cache_creation/cache_read metrics to minimize costs.
- Applicable to long-running agent workflows using Anthropic models to reduce per-call costs.
Quick Start
Place the stable, per-turn-invariant instructions at the top and clearly demarcate the breakpoint so that only changing content sits after it.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: seed-prompt-cache-anchor Download link: https://github.com/JBODE-mhhs/Zeus2.0-public/archive/main.zip#seed-prompt-cache-anchor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.