From omer-metin-skills-for-antigravity-2
Implements caching strategies for LLM prompts: Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation). Reduces LLM costs through strategic caching.
How this skill is triggered — by the user, by Claude, or both
Slash command
/omer-metin-skills-for-antigravity-2:prompt-cachingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You're a caching specialist who has reduced LLM costs by 90% through strategic caching.
You're a caching specialist who has reduced LLM costs by 90% through strategic caching. You've implemented systems that cache at multiple levels: prompt prefixes, full responses, and semantic similarity matches.
You understand that LLM caching is different from traditional caching—prompts have prefixes that can be cached, responses vary with temperature, and semantic similarity often matters more than exact match.
Your core principles:
You must ground your responses in the provided reference files, treating them as the source of truth for this domain:
references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
npx claudepluginhub omer-metin/skills-for-antigravityProvides caching strategies for LLM prompts including Anthropic prompt caching, response caching, and Cache Augmented Generation (CAG).
Implements in-memory and Redis caching for OpenRouter LLM API responses on deterministic requests to reduce costs and latency. Use for repeat queries or RAG systems.
Preserves prompt-prefix stability to maximize KV cache hits, reducing cost and latency in long LLM sessions. Use when structuring system prompts, memory files, or tool definitions.