kv-cache-prefix-optimizer SKILL.md skillA
kv-cache-prefix-optimizer from roedyrustam/vibes-plug is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add roedyrustam/vibes-plug/kv-cache-prefix-optimizer@v4.2.0Pins v4.2.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- roedyrustam/vibes-plug
- Path
skills/kv-cache-prefix-optimizer/SKILL.md- Versions recorded
- 2
- Latest version
- v4.2.0, committed Oct 3, 2026
- First version recorded
- Oct 3, 2026
- Size
- 10,997 bytes
- Repository stars
- 122
- License
- MIT
Expert guide for deterministic prompt prefix engineering, KV-cache locking for Gemini 4 Pro / Claude 5.5 / GPT Astra 6, canonical tool sorting, and achieving 90%+ prompt cache hit rates / Panduan ahli rekayasa prefix prompt deterministik, penguncian KV-cache untuk Gemini 4 Pro / Claude 5.5 / GPT Astra 6, pengurutan kanonikal tool, dan pencapaian 90%+ cache hit rate.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# kv-cache-prefix-optimizer — vibes-plug Skill [English](#english) | [Bahasa Indonesia](#bahasa-indonesia) --- <a name="english"></a> ## English ### Orchestration & Integration Connects and orchestrates with `brainstorming`, `zero-to-prod-orchestrator`, `frontier-ai-models-expert`, `llm-finops-router`, `gemini-agent-booster`, and `vercel-ai-sdk-expert` to structure multi-turn prompts for maximum KV-cache reuse, slashing token billing by up to 80% and reducing Time-to-First-Token (TTFT) by up to 10x. ### Description Production guide for engineering deterministic prompt prefixes, stabilizing KV-cache boundaries, and optimizing context reuse across frontier models (Google Gemini 4 Pro / 3.x context caching, Anthropic Claude 5.5 prompt caching, and OpenAI prefix caching). Delivers architectures that guarantee 90%+ cache hit rates through canonical tool definition sorting, stable JSON serialization, and dynamic context partitioning. ### Trigger Conditions Activate this skill when: - Operating large-context agents (>100k tokens) where recurring prompt costs dominate operational budgets. …
Read the whole file at its exact version.
How to install
mdr add roedyrustam/vibes-plug/kv-cache-prefix-optimizer@sha256:3cae90ad56915701The line at the top of this page pins the label v4.2.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_b2dcw6wnpmf7p2cm)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Oct 3, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v4.2.0 latest | 2026-10-03 | d8cca2a | 10,997 B | A | view · diff |
| v4.1.0 | 2026-10-03 | 47606ed | 10,997 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10997 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
roedyrustam/vibes-plug · 122 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_b2dcw6wnpmf7p2cm GET https://markdownregistry.com/api/v1/resolve?ref=roedyrustam/vibes-plug/kv-cache-prefix-optimizer GET https://markdownregistry.com/api/v1/blob/3cae90ad569157016eb46d595f0a90fe0aade5a079e52a11cae001071c30e3bf
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from roedyrustam/vibes-plug
Every file in roedyrustam/vibes-plug