Skip to content
Back to skills

Explain Usage

ASecurity

Use when the user asks why their Claude Code usage, token use, cost or rate limit use is high, or where their tokens go. Runs CacheCanary on the local transcripts for the last 30 days and explains the biggest costs.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgobashapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add Haarris/cachecanary --skill explain-usage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Explain Usage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Explain Usage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/haarris-explain-usage/badge)](https://www.skillsdirectory.com/skills/haarris-explain-usage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: explain-usage
description: Use when the user asks why their Claude Code usage, token use, cost or rate limit use is high, or where their tokens go. Runs CacheCanary on the local transcripts for the last 30 days and explains the biggest costs.
user-invocable: false
allowed-tools: Bash(cachecanary-report *)
---

## Report (last 30 days)

!`cachecanary-report`

## How to answer

- Read the report above. Every number you give must come from it; never estimate or invent one.
- If the report is a `cachecanary-report:` message (not installed, a rejected option, an error), pass that message on in one or two lines and stop.
- Dollars are an Anthropic API list price equivalent, not the user's bill. On a Pro or Max plan they show how heavy each part is, which is what drives usage limits.
- How the cost works: whatever enters the context (a tool output, CLAUDE.md, a loaded skill) is written to the cache once and then re-read on every later request until it leaves the context. Big outputs early in a long chat cost the most.
- Start from the "Where to look first" lines: they are already ranked by dollars.
- Answer in under 150 words: the 3 biggest costs with their dollars and share, and one concrete fix for each that fits this report:
  - Large Bash or Read outputs: cut them down (head, tail, grep -c, quieter flags, reading line ranges), or shorten them with a PreToolUse hook.
  - Cache rebuilds after idle pauses: a pause longer than the cache lifetime rewrites the whole context. Before a long break in a big chat, run /compact or start a fresh chat.
  - Compactions: frequent ones mean the chats run very long; split work into shorter chats.
  - Starting context (system prompt, tools, CLAUDE.md, memory): /context shows what it is made of; trim CLAUDE.md and disable MCP servers or plugins that are not used.
  - Skills: a loaded skill stays in the context; very large ones cost on every later request.
  - Subagents: each run pays its own starting context; fewer, larger tasks cost less.
  - Model changed: switching models mid chat rewrites the cache.
- Do not show `--details` labels unless the user asked for them.
- For another period or project, the user can run `/cachecanary:report 7d` or `/cachecanary:report --project NAME`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.