Kvguard — Development skill for Claude Code
Local proxy & TUI that catches 1-token prompt/KV cache prefix misses and auto-heals requests for Anthropic, OpenAI, llama.cpp and Ollama.
How to install Kvguard
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open tranhoangtu-it/kvguard and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Kvguard does
Local proxy & TUI that catches 1-token prompt/KV cache prefix misses and auto-heals requests for Anthropic, OpenAI, llama.cpp and Ollama.
Alternatives in Development
- Llamacoder — Open source Claude Artifacts – built with Llama 3.1 405B 7.1k ★
- CORS — Scan an endpoint for CORS misconfiguration — arbitrary-origin reflection, null-origin trust, credential exposu 4.5k ★
- Claude Code Proxy — Run Claude Code on OpenAI models 3.3k ★
README
kvguard
Your prompt cache is silently breaking. kvguard shows you where, why, and what it costs.
[](https://github.com/tranhoangtu-it/kvguard/actions/workflows/ci.yml) [](https://tranhoangtu-it.github.io/kvguard/) [](https://github.com/tranhoangtu-it/kvguard/releases)
**[Try the Live Prompt/KV Cache Visualizer & Cost Calculator](https://tranhoangtu-it.github.io/kvguard/)** — see how a single changed key in `tools[]`, a timestamp, or a rotating billing header breaks cache reuse. [](https://www.npmjs.com/package/kvguard) [](https://pypi.org/project/kvguard/) [](#license)
**Anthropic · OpenAI · Google Gemini · llama.cpp · Ollama · any OpenAI-compatible server**
One ~6 MB binary. No Docker, no database, no account, no telemetry.
npx kvguard -- claude
The problem nobody sees
Prompt caches (Anthropic, OpenAI) and local KV caches (llama.cpp, Ollama, vLLM) only reuse work when your new prompt starts with **exactly** the same bytes as the previous one, in order `tools → system → messages`.
Change **one token** near the top and everything after it is billed — or prefilled on your GPU — again:
- MCP servers finish starting in a different order, so
tools[]is serialized differently each session. - A
Current time: 2026-11-04T19:42:07Zline changes every turn. - A compaction step rewrites one old m
Related Skills
Tokentrimmer
Local proxy that losslessly shrinks tool output in Claude Code / Anthropic / OpenAI requests before they're se
Q Agent
Self-hosted llama.cpp stack for Qwen + MTP (multi-token prediction): a 125B MoE read from ≥ 80 GB of RAM, or a
Claude Codex Nebius Proxy
A Claude Code + Codex CLI → Nebius bridge. Accepts Claude /v1/messages and Codex /v1/responses requests, conve
Code Inference
Local inference stack for coding agents. Run opencode, Claude Code, Cursor, Codex or Grok Build against a prec
Llama Kit
Offload coding-agent busywork to a local llama.cpp server; zero cloud tokens. Toolkit + Qoder/copilot/claude C
Skinflint
Local proxy for the Anthropic and OpenAI APIs: hard spend caps for coding agents, a context token profiler, an
Related Agents
AI ML
AI/ML 통합 전문가 + LLM API 최신 모델/SDK 코딩 가이드. RAG 시스템, 문서 분석, OpenAI/Anthropic/Gemini/Ollama 최신 API 보장. "AI integra
LLM Integrator
LLM integration specialist who connects to OpenAI/Anthropic/Ollama APIs, designs prompt templates, implements
Skeid Protocol Worker
Wire-protocol and service-integration worker — OpenAI/Anthropic/Ollama client formats, translation, SSE stream