cache-report

Parse cache_report.py output to display prompt-cache hit rates and token consumption.

3|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/kitaekatt/plugins-kit --skill cache-report
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cache-report
Source: https://github.com/kitaekatt/plugins-kit/tree/main/plugins/cache-kit/skills/cache-report
Command: npx skills add https://github.com/kitaekatt/plugins-kit --skill cache-report

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill addresses the lack of visibility into prompt-caching performance, helping users identify hit rates and token consumption patterns that impact session costs and latency.

Core Features & Use Cases

  • Performance Monitoring: View real-time prompt-cache hit rates to optimize prompt engineering.
  • Cost Transparency: Analyze token usage and per-request cost breakdowns to manage budget effectively.
  • Use Case: When you notice high latency or unexpected costs in a long-running session, use this skill to determine if your prompt-caching strategy is effectively reducing redundant token processing.

Quick Start

Ask the assistant to show the current cache report to see your session hit rate and token usage statistics.

Frequently Asked Questions about cache-report

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check prompt caching hit rates and token usage in Claude Code?

You can monitor prompt caching efficiency by asking the assistant to show the current cache report. This executes a script to parse session-specific cache metrics, displaying hit rates and token consumption statistics to help optimize performance and manage costs.

What is prompt caching and how does it impact API token costs?

Prompt caching stores previously processed prompt tokens to reduce redundant token processing in subsequent requests. Monitoring cache hit rates helps identify whether your caching strategy is effectively lowering token consumption, which directly reduces session latency and API costs.

Why does my Claude Code session have high latency and unexpected token costs?

High latency and unexpected token costs often indicate poor prompt caching efficiency. Running a cache report parses session request data to reveal cache hit rates and token consumption patterns, helping you determine if your prompt engineering strategy needs adjustment.

Can I analyze per-request token consumption for a long-running coding session?

Yes, you can analyze per-request token consumption by generating detailed cache analytics. The cache report breaks down token usage and costs for individual requests within the session, providing granular data to manage budgets effectively across long-running interactions.

Do I need any external dependencies to run a cache report?

No external dependencies are required to run a cache report. The skill operates independently using a built-in script to parse session data and display cache metrics, requiring no additional environment setup or external libraries.

What is the best way to optimize prompt engineering for token cost management?

The best way to optimize prompt engineering for cost management is to monitor cache hit rates and analyze token usage patterns. Reviewing detailed cache analytics allows you to identify inefficiencies and adjust your prompts to maximize cache hits and minimize redundant processing.