/cco-git
Show git-aware context suggestions for current working directory
$ npx -y skills add egorfedorov/claude-context-optimizer --skill cco-git --agent claude-codeHow 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-git
Context preview
The summary Claude sees to decide when to auto-load this skill.
Show git-aware context suggestions for current working directory
SKILL.md
cco-git.SKILL.mdname: cco-git description: Show git-aware context suggestions for current working directory license: MIT allowed-tools: [Bash, Read, Glob]
Git-Aware Context Suggestions
Analyze the current git state and suggest which files Claude should read for the current task.
Run:
node ${CLAUDE_PLUGIN_ROOT}/src/git-context.jsPresent the results: 1. **Current branch** and modified files 2. **Suggested files** based on git diff (modified + related test files + configs) 3. **Historical patterns** — files that were frequently useful in this project 4. Ask the user if they want to load any of the suggested files
Do NOT auto-read files. Only suggest and let the user decide.
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
Other skills on claude-context-optimizer.
- /cco-anatomy
Generate a compact project map so Claude understands the codebase without opening every file
Open skill - /cco-budget
Configure token budget limits, auto-compact settings, and view current budget status (model-aware — Opus 4.8 default, full 1M context at standard price)
Open skill - /cco-claudemd
Analyze CLAUDE.md files for token bloat and suggest optimizations
Open skill - /cco-clean
Clean up old tracking data and reset statistics
Open skill - /cco-coach
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
Open skill - /cco-digest
Show weekly/daily efficiency digest with score and trends
Open skill

