cco-anatomy
Generate a compact project map so Claude understands the codebase without opening every file
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.
$ npx -y skills add egorfedorov/claude-context-optimizer --skill smart-loader --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/smart-loaderContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: smart-loader description: 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. license: MIT disable-model-invocation: false
When a user starts a new task or asks to work on something, check if there are historical patterns that suggest which files they'll need.
1. Check for existing templates matching the task type:
ls ~/.claude-context-optimizer/templates/ 2>/dev/null
2. Check historical patterns for the current directory:
node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js suggest "$(pwd)"3. Based on the task description and historical data:
When you detect patterns that waste tokens, proactively suggest improvements:
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.
Repo: egorfedorov/claude-context-optimizer
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…
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