claude-context-optimizer
v4.10.0Claude 5-aware context optimization (Fable 5.1 / Opus 5 / Sonnet 5 pricing, 1h-cache-aware real costs & cache-break detection), SKILL.state-style task state that survives /compact, session baseline audit (/cco-overhead), auto .contextignore, self-calibrating estimates, delegation advisor, ru/en prompt coach, per-language token estimation, tunable thresholds via /cco-config, self-learning tool costs, team pattern sharing
By Egor FedorovLicense: MIT111 GitHub starsUpdated last week
Directory evidence
- Runtimes
- Claude Code
- Parsed components
- 22 skill or MCP entries
- Source updated
- Sep 15, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install claude-context-optimizer for Claude Code
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install claude-context-optimizer@agent-plugin-marketplacePaste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/egorfedorov/claude-context-optimizerClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The repository root is the plugin root.
Plugin files
├── .claude-plugin/plugin.json├── skills/cco/SKILL.md├── skills/cco-anatomy/SKILL.md├── skills/cco-budget/SKILL.md├── skills/cco-claudemd/SKILL.md├── skills/cco-clean/SKILL.md├── skills/cco-coach/SKILL.md├── skills/cco-config/SKILL.md├── skills/cco-digest/SKILL.md├── skills/cco-doctor/SKILL.md├── skills/cco-export/SKILL.md├── skills/cco-git/SKILL.md├── skills/cco-overhead/SKILL.md├── skills/cco-pack/SKILL.md├── skills/cco-patterns/SKILL.md├── skills/cco-replay/SKILL.md├── skills/cco-report/SKILL.md├── skills/cco-roi/SKILL.md├── skills/cco-shield/SKILL.md├── skills/cco-task/SKILL.md├── skills/cco-templates/SKILL.md├── skills/cco-tools/SKILL.md└── skills/smart-loader/SKILL.md
Included Skills22
Context Control Center — one screen for budget, $ spent, tokens saved, waste, last prompt grade, the active task, and ready-to-run optimization actions
Generate a compact project map so Claude understands the codebase without opening every file
Configure token budget limits, auto-compact settings, and view current budget status (model-aware — Claude 5 lineup, Opus 5 default fallback, full 1M context at standard price)
Analyze CLAUDE.md files for token bloat and suggest optimizations
Clean up old tracking data and reset statistics
Analyze the user's last prompt for clarity, scope and specificity — give a quality score and concrete suggestions to make the next prompt produce better results
View and tune CCO's behavior thresholds — re-read warnings, cache staleness, prompt-coach length bands, and the /cco-pack budget cap
Show weekly/daily efficiency digest with score and trends
Health check for the context-optimizer plugin install — verifies versions, hooks, data dir, model config, and reports any issues
Export context report as Markdown or HTML
Show git-aware context suggestions for current working directory
Audit the fixed context overhead every session starts with — system prompt, MCP tools, agents, CLAUDE.md, memory — measured from real transcript usage
Build an optimal context pack for the user's task — ranked file list with offset/limit suggestions, based on git state, mentioned paths, and historical patterns
Share learned file patterns across a team — export an anonymized digest of what's usually waste/useful/co-edited, and import a teammate's so a fresh clone benefits day one
Show recent session summaries for quick context recovery
Show detailed token ROI report across all tracked sessions
Calculate monthly token savings and ROI by model
Show ContextShield status and waste protection stats; suggest or apply .contextignore rules from historical waste
Organize work by task, track tokens/cost per task, and keep a small patchable execution state that is re-injected after /compact (SKILL.state-style) — start a task, patch its state, list tasks, or mark the active one done. Pairs with /cco-pack to load minimal context per task.
Manage context templates for common task types
Show what tools actually cost in tokens — learned per-tool averages from observed results, replacing the hardcoded MCP/Agent guesses
Automatically suggests optimal files to preload based on the user's task description and historical context patterns. Activates when the user starts a new task, mentions reading files, or when session context is being set up.
Plugin manifests1
{
"name": "claude-context-optimizer",
"version": "4.10.0",
"description": "Claude 5-aware context optimization (Fable 5.1 / Opus 5 / Sonnet 5 pricing, 1h-cache-aware real costs & cache-break detection), SKILL.state-style task state that survives /compact, session baseline audit (/cco-overhead), auto .contextignore, self-calibrating estimates, delegation advisor, ru/en prompt coach, per-language token estimation, tunable thresholds via /cco-config, self-learning tool costs, team pattern sharing",
"author": {
"name": "Egor Fedorov"
},
"repository": "https://github.com/egorfedorov/claude-context-optimizer",
"license": "MIT",
"keywords": [
"claude-code",
"claude-5",
"claude-fable-5.1",
"claude-opus-5",
"context-optimization",
"token-tracking",
"prompt-engineering",
"1m-context"
]
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[claude-context-optimizer on Agent Plugins Marketplace](https://pluginsmp.com/plugins/claude-context-optimizer)