Skip to content
Back to skills

Report

BSecurity

Show where Claude Code tokens and money went from your local transcripts (default last 30 days). Optional period like 7d or 2w, --project NAME, --by tool|bash|mcp|skill|agent|item, --details.

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

Works with

  • claude code
  • api
  • mcp

Security analysis

B75/100
  • criticalPipes output to a shell interpreter

Pro shows the line behind each finding and how to fix it

Scanned December 4, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Report?

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

Security grade badge for Report
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/haarris-report/badge)](https://www.skillsdirectory.com/skills/haarris-report)

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: report
description: Show where Claude Code tokens and money went from your local transcripts (default last 30 days). Optional period like 7d or 2w, --project NAME, --by tool|bash|mcp|skill|agent|item, --details.
argument-hint: "[7d|2w|2026-11-01] [--project NAME] [--by TABLE] [--details]"
disable-model-invocation: true
allowed-tools: Bash(cachecanary-report *)
---

## Report

!`cachecanary-report $ARGUMENTS`

## 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.