Registry / affaan-m

affaan-m/ecc/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-optimiz

Agent skill · version 0.0.0-main.1794313104.gd2ef268 · from affaan-m/ECC

Install

npx yarkr-cli add skill:affaan-m/ecc/prompt-caching-strategy

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:affaan-m/ecc/prompt-caching-strategy
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:affaan-m/ecc/prompt-caching-strategy

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:affaan-m/ecc/prompt-caching-strategy

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.