# Prompt Caching Review

> Prompt Caching Review is a paid API for AI agents from api.aiskills402.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-30).

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.

## Facts

- Endpoint: GET https://api.aiskills402.com/v1/skills/prompt-caching-review/file?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prompt-caching-review-a9606231
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ePZL51JJ-BXCuNO-WLNeK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability prompt-caching-review-a9606231
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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…

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prompt-caching-review-a9606231/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aiskills402.com](https://www.zero.xyz/host/api.aiskills402.com/llms.txt)
