Check skill prefix stability for Anthropic, OpenAI, and Gemini prompt caching hits
One dynamic timestamp or shuffled MCP tool list at the top of a skill busts prompt caches and 5x's your input token bill.
Four silent bugs that destroy agent prompt cache hit rates
- 01
Ban current-second timestamps in system prompts
Injecting 'Current time: 14:03:22' into system headers invalidates the entire tool + skill prefix cache on every run.
- 02
Enforce deterministic MCP tool ordering
If async MCP server startup registers tools in non-deterministic order, JSON schema prefixes change across sessions.
- 03
Append newly loaded skill references at message tail
Mutating the top system prompt mid-conversation forces full re-prefill; append progressive reference docs in tool results instead.
- 04
Verify minimum token thresholds per provider
Confirm static prefixes exceed 1,024–4,096 token provider minimums so caching actually activates.
Questions and answers
How much does prompt caching change multi-step agent skill economics?
On a 15-turn coding or browser loop, maintaining an 85%+ cache hit rate cuts input token spend by 60–75% and noticeably reduces time-to-first-token.
Does loading a SKILL.md mid-conversation break prompt caching?
Not if loaded as a read_file/tool result appended to conversation history rather than rewriting the leading system message.
Do SkillMarket cost rankings report cached vs uncached prices?
Yes, cost metrics report real observed provider billing including actual cache write/read ratios across multi-turn trajectories.
Related tasks in this category
See all in Cross-Model Skill Fit & Regressions-
Compare identical SKILL.md pass rates side-by-side across Claude, GPT, and Gemini
A skill authored for Claude Sonnet often drops 20% accuracy on GPT or Gemini due to formatting and tool-call habits. Check the compatibility matrix first.
-
Benchmark agent skills on Qwen, Llama, and DeepSeek open-weight models before self-hosting
Find out which coding, RAG, and MCP skills still hold up on quantized Qwen, Llama, Mistral, and DeepSeek runners via vLLM or Ollama.
-
Measure skill instruction adherence inside 200k–1M token long-context workloads
Stuffing whole codebases or legal transcripts into context can drown out SKILL.md rules. Check which skills hold constraints at 250k+ tokens.
-
Detect silent skill regressions when LLM providers ship new model checkpoints
New model releases boost headline coding scores while quietly breaking tool-calling eagerness or JSON strictness on existing skills.
-
Rank LLM families on parallel multi-tool calling without schema hallucinations
Parallel tool calls cut agent wall-clock latency by 60%—until a model mangles arguments when invoking six MCP tools in one turn.
-
Test whether Haiku, GPT-mini, or Flash models sustain accuracy on your routine skills
Find out which high-volume triage, extraction, and routing skills keep >90% parity on fast mini-tier models at 1/8th the cost.