Displays ContextShield status, protected files with waste sessions, tokens saved estimates, and co-occurrence groups from usage patterns. Monitors read waste protection in Claude Code.
npx claudepluginhub egorfedorov/claude-context-optimizerThis skill is limited to using the following tools:
Show the user the current ContextShield protection status and historical waste prevention stats.
Displays context usage heatmap for current Claude Code session, highlighting read-only files, edits, token usage, and waste. Suggests reductions if waste exceeds 30%. Ideal for optimizing session efficiency.
Optimizes Claude Code session context by explaining major consumers like metadata, images, file reads, and bash output, with strategies including screenshot compression, /compact usage, and reduced re-reads.
Audits Claude Code setups for token waste and context bloat, checking MCP servers, CLAUDE.md files, skills, and settings using /context output.
Share bugs, ideas, or general feedback.
Show the user the current ContextShield protection status and historical waste prevention stats.
Run the following command to get pattern data:
node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js patterns
From the patterns data, present:
Format as a clean status report. If no pattern data exists yet, tell the user: "ContextShield is warming up! It learns from your usage patterns and will start giving you smart suggestions after a few sessions."
End the report with:
ContextShield runs automatically on every Read. No configuration needed.