Software Development

Prompt Caching Strategy

Optimize LLM prompt caching hit rate to reduce API costs and improve latency. Analyzes prompt structure, identifies cacheable vs non-cacheable content, and recommends restructuring to maximize cache reuse. TRIGGER when: user says "prompt cache", "cache hit rate", "reduce LLM cost", "optimize token usage", "cheaper LLM calls", or asks about prompt caching strategies for OpenAI/Anthropic/other providers. DO NOT TRIGGER when: user just wants to optimize a single prompt's quality (use prompt-optimizer instead), or asks about general caching infrastructure.

Publisher / source
affaan-m/ECC (found on skills.sh, an awesome list, the CSV list)
Upstream record
affaan-m/ECC
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
bde64446760754680a6e821fce96ed70e4a409adc7145cb056a815aa64eb5b81