Cc Waste
Description
Scans your local Claude Code session logs and generates a self-contained HTML report of token usage, cost, and likely waste (repeated file reads, oversized tool results, unused skills) — 100% local, no network calls. Optional --fix auto-disables unused skills.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
cc-waste
[](https://www.npmjs.com/package/cc-waste) [](https://www.npmjs.com/package/cc-waste)
Scans your local Claude Code session logs and generates a single self-contained HTML report showing token usage, estimated cost, and likely token-waste patterns — repeated file reads, oversized tool results, large pasted content, low prompt-cache hit rates, and unused or rarely-used installed skills. With `--fix`, it disables the unused/rarely-used skills itself and the report shows exactly what it found and what it did about it.
**100% local.** It only reads files under your own `~/.claude/projects/` directory. It makes no network calls and sends nothing anywhere.
**Early version.** Token/cost numbers are heuristic estimates (not exact), and this hasn't been battle-tested against every Claude Code setup yet (Windows, huge logs, etc.). Feedback and bug reports are very welcome — [open an issue](https://github.com/yoodongdong/cc-waste/issues).
Usage
npx cc-waste
This writes `cc-waste-report.html` in the current directory, prints a summary to the terminal, and **opens the report in your default browser** — no extra flag needed. If any installed skill looks unused, the terminal and the report both print the exact command to clean it up.
Options
-o, --out Output HTML path (default: ./cc-waste-report.html)
--dir Claude config dir to scan (default: $CLAUDE_CONFIG_DIR or ~/.claude)
--days Only include activity from the last N days
--project Only include projects whose folder name contains this
--json Also write a .json file with the raw aggregated data
--no-open Don't auto-open the report in a browser (default: opens)
--fix Disable unused/rarely-used skills automatically (see below)
-h, --help Show help
Examples:
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11