Cache Efficiency

Analyze prompt-cache effectiveness for Claude Code usage from the Agent Monitor dashboard — cache hit rate (total_cache_read / (total_cache_read + total_input)), cache_write vs cache_read reuse, cache-read vs cache-write spend, and the sessions with the poorest reuse. Pulls token totals from /api/analytics, per-session detail from /api/sessions, and dollar splits from /api/pricing/cost. Use when diagnosing cache spend or deciding whether prompt caching is paying off.

hoangsonww Updated

File contents

hoangsonww/Claude-Code-Agent-Monitor/tree/main/plugins/ccam-analytics/skills/cache-efficiency commit 5c10cf8db9

Frequently asked questions

npx skillmds@latest add hoangsonww/cache-efficiency