{"uid":"cap_ePZL51JJ-BXCuNO-WLNeK","slug":"prompt-caching-review-a9606231","name":"Prompt Caching Review","description":"Prompt Caching Review — Reviews ONE Claude API request (tools, system, messages, the cache marks, the model, the sizes and how often it is sent) for the five reasons its prompt cache does not pay off, and lists only those, one line each with a fixed code, the place, why the cache misses and the fix - or exactly No findings. It catches text that changes on every call (a clock, a request id, a user name) at or before the cache mark, a large stable prefix with no mark, a marked prefix shorter than…","url":"https://api.aiskills402.com/v1/skills/prompt-caching-review/file?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"file":{"name":"SKILL.md","content":"<the SKILL.md file>","encoding":"utf-8"},"name":"Prompt Caching Review","skill":"prompt-caching-review","sha256":"<sha256 of SKILL.md>","receipt":{"tx":"0x<settlement transaction>","settled":true},"version":"1.0.0","redownload":{"url":"<api>/v1/purchases/<token>","token":"<64 hex chars>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w0cVoysQAmjjyoRiY4OGe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a Claude API request to identify why its prompt cache is not paying off, reporting only the failing conditions with codes, locations, and fixes.","exampleAgentPrompt":"Review this Claude API request for prompt caching problems — it includes a system prompt, messages array, tools, and cache marks — and tell me exactly which of the five cache-miss reasons apply, with the location and fix for each one.","exampleUseCases":[{"title":"Debugging high Claude API costs","prompt":"My Claude API bill is way higher than expected and I think my prompt caching isn't working. Can you review this Claude API request — system prompt, messages, tools, and cache marks — and tell me exactly why the cache keeps missing and how to fix each issue?"},{"title":"Validating cache mark placement","prompt":"I just set up prompt caching for my Claude integration and want to make sure my cache marks are in the right spots. Can you check this request payload and flag any cases where volatile content like a timestamp or user name appears before a cache mark?"},{"title":"Pre-deployment prompt cache audit","prompt":"Before I ship this Claude API integration to production, can you audit the request — including the model, system prompt, tools, messages, and cache marks — for all the reasons the cache won't pay off, and give me a one-line fix for each finding?"}],"resultDescription":"A list of findings, one per line, each containing a fixed code identifying the cache-miss reason, the location in the request where it occurs, an explanation of why the cache misses, and the recommended fix — or exactly 'No findings' if the cache setup is correct.","failureModes":["Malformed or incomplete Claude API request payload may produce no meaningful findings","Request missing cache marks returns a finding about absent marks rather than an error","Very short or trivially small prompts may not trigger size-threshold findings accurately","Network timeout if the analysis takes longer than expected for very large payloads"],"whenToPreferThis":"Choose this endpoint when you need targeted, structured diagnosis of why a specific Claude API request's prompt cache is not paying off — it is purpose-built for the five known cache-miss failure modes (volatile content before mark, missing mark on large stable prefix, prefix too short, model mismatch, low call frequency) and returns only actionable findings rather than generic advice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T06:45:33.089Z","isFirstParty":false,"canonicalSlug":"prompt-caching-review-a9606231"}