Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache prompt, response cache, cag, cache augmented.
.claude/skills/dokhacgiakhoa-prompt-caching/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 20% | 0% |
| case-21 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 15% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 75% | 0% |
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:
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 45,906 | 37,080 | -19% | 1 | 1 | 0% | 8,256 | 6,616 | -20% | 0 | 0 | — |
case-02 | pass→pass | 10,138 | 10,544 | +4% | 1 | 1 | 0% | 2,132 | 2,450 | +15% | 0 | 0 | — |
case-03 | pass→pass | 3,612 | 5,024 | +39% | 1 | 1 | 0% | 671 | 1,176 | +75% | 0 | 0 | — |
case-04 | pass→pass | 18,868 | 18,246 | -3% | 1 | 1 | 0% | 3,333 | 3,685 | +11% | 0 | 0 | — |
case-05 | pass→pass | 15,102 | 17,973 | +19% | 1 | 1 | 0% | 2,438 | 3,119 | +28% | 0 | 0 | — |
case-06 | pass→pass | 13,086 | 11,428 | -13% | 1 | 1 | 0% | 2,201 | 2,270 | +3% | 0 | 0 | — |
case-07 | pass→pass | 13,577 | 13,045 | -4% | 1 | 1 | 0% | 2,166 | 2,374 | +10% | 0 | 0 | — |
case-08 | pass→pass | 12,863 | 12,508 | -3% | 1 | 1 | 0% | 2,165 | 2,379 | +10% | 0 | 0 | — |
case-09 | pass→pass | 9,811 | 10,368 | +6% | 1 | 1 | 0% | 1,948 | 2,341 | +20% | 0 | 0 | — |
case-10 | pass→pass | 11,255 | 8,612 | -23% | 1 | 1 | 0% | 1,928 | 1,798 | -7% | 0 | 0 | — |
case-11 | pass→pass | 15,061 | 13,778 | -9% | 1 | 1 | 0% | 2,461 | 2,481 | +1% | 0 | 0 | — |
case-12 | pass→pass | 16,726 | 16,003 | -4% | 1 | 1 | 0% | 2,872 | 2,967 | +3% | 0 | 0 | — |
case-13 | pass→pass | 6,355 | 5,957 | -6% | 1 | 1 | 0% | 1,004 | 1,257 | +25% | 0 | 0 | — |
case-14 | pass→pass | 18,021 | 16,938 | -6% | 1 | 1 | 0% | 2,754 | 3,009 | +9% | 0 | 0 | — |
case-15 | pass→pass | 5,842 | 4,128 | -29% | 1 | 1 | 0% | 964 | 983 | +2% | 0 | 0 | — |
case-16 | pass→pass | 15,035 | 14,693 | -2% | 1 | 1 | 0% | 2,588 | 2,797 | +8% | 0 | 0 | — |
case-17 | fail→pass | 17,261 | 18,901 | +10% | 1 | 1 | 0% | 2,677 | 3,215 | +20% | 0 | 0 | — |
case-18 | pass→pass | 15,728 | 16,619 | +6% | 1 | 1 | 0% | 2,605 | 2,992 | +15% | 0 | 0 | — |
case-19 | pass→pass | 9,472 | 8,529 | -10% | 1 | 1 | 0% | 1,546 | 1,685 | +9% | 0 | 0 | — |
case-20 | pass→pass | 12,319 | 13,978 | +13% | 1 | 1 | 0% | 2,033 | 2,688 | +32% | 0 | 0 | — |
case-21 | fail→pass | 14,229 | 12,135 | -15% | 1 | 1 | 0% | 2,558 | 2,423 | -5% | 0 | 0 | — |
case-22 | pass→pass | 12,830 | 15,587 | +21% | 1 | 1 | 0% | 2,189 | 2,679 | +22% | 0 | 0 | — |
case-23 | pass→pass | 12,245 | 11,283 | -8% | 1 | 1 | 0% | 2,128 | 2,097 | -1% | 0 | 0 | — |
case-24 | pass→pass | 9,065 | 8,860 | -2% | 1 | 1 | 0% | 1,647 | 1,975 | +20% | 0 | 0 | — |
case-25 | pass→pass | 20,486 | 17,671 | -14% | 1 | 1 | 0% | 3,230 | 3,123 | -3% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 25 cases were attempted. The headline lift of +12 percentage points is the difference between those two pass rates over the 25 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.