Skip to content
shell
$ npx -y skills add egorfedorov/claude-context-optimizer --skill cco-roi --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.
  • You can call itInvoke it directly when you want it.
  • Slash command/cco-roi
How auto-invocation works

Context preview

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

Calculate monthly token savings and ROI by model

SKILL.md

cco-roi.SKILL.md
name: cco-roi
description: Calculate monthly token savings and ROI by model
license: MIT
argument-hint: "[sessions-per-day] (default: 5)"
allowed-tools: [Bash]

ROI Calculator

Calculate and display the return on investment from using Context Optimizer.

Parse $ARGUMENTS for sessions per day (default: 5).

Run:

node ${CLAUDE_PLUGIN_ROOT}/src/roi.js $ARGUMENTS

Present the ROI report to the user. Highlight: 1. The effective context multiplier — how much more efficient their budget is 2. Monthly and yearly dollar savings for their current model 3. Team-level savings if they work in a team 4. If data comes from real sessions, note how many sessions were analyzed

If the user has no session data yet, explain that the estimate uses industry averages (35% waste) and will become more accurate as they use CCO.

Read it on GitHub ↗
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, auto-invoked
Stats
85
Stars
0
Views
10
Forks
Active
Maintenance
JavaScript
Language
MIT
License
20d ago
Last commit
4mo ago
Created

Repo: egorfedorov/claude-context-optimizer