hoangsonww/claude-code-agent-monitor/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.
Agent skill · version 2.4.6 · from hoangsonww/Claude-Code-Agent-Monitor
Install
npx yarkr-cli add skill:hoangsonww/claude-code-agent-monitor/cache-efficiencyWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:hoangsonww/claude-code-agent-monitor/cache-efficiency
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:hoangsonww/claude-code-agent-monitor/cache-efficiencyOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:hoangsonww/claude-code-agent-monitor/cache-efficiencyWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.