mcpField

prompt-caching-strategy

affaan-mAgent workflows1.2k installs

About 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.

Install

Copy the command and run it in a terminal.

$npx skills add https://affaan-m/ecc --skill prompt-caching-strategy

After installing, type/prompt-caching-strategyin Claude Code to confirm it loaded.

Comments

Markdown supported