Skip to content
Development
Skill

/cco-report

Show detailed token ROI report across all tracked sessions

From plugin
claude-context-optimizer
11022 skills1 agent6 hooks
Install
$ npx -y skills add egorfedorov/claude-context-optimizer --skill cco-report --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/cco-report

Context preview

The summary Claude sees to decide when to auto-load this skill.

Show detailed token ROI report across all tracked sessions

SKILL.md

cco-report.SKILL.md
name: cco-report
description: Show detailed token ROI report across all tracked sessions
license: MIT
allowed-tools: [Bash, Read]

Context Token ROI Report

Generate and display a comprehensive token usage report across all tracked sessions.

Run:

node ${CLAUDE_PLUGIN_ROOT}/src/report.js full

Present the full report to the user. After showing it, provide actionable insights:

1. If the waste trend is WORSENING, warn the user and suggest specific changes 2. If there are top wasted files, suggest the user avoid reading those files in future sessions or use more targeted reads (offset/limit) 3. If average tokens per session is high, suggest task splitting strategies 4. Calculate the estimated monthly cost savings if the user maintains current improvement trends

Also run:

node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js suggest "$(pwd)"

And present the smart suggestions (files to preload, files to avoid) for the current project directory.

Ships withclaude-context-optimizer

Claude Code plugin that tracks token usage, identifies wasted context, and saves 30-50% on API costs. Heatmaps, ROI reports, budget alerts, efficiency scores, git-aware suggestions — all local, zero config.

Get the whole plugin
Stats
111
Stars
11
Forks
Active
Maintenance
JavaScript
Language
MIT
License
12d ago
Last commit
6mo ago
Created

Repo: egorfedorov/claude-context-optimizer

Other skills on claude-context-optimizer.