By egorfedorov
Optimize Claude Code sessions by tracking token usage with heatmaps and budgets, shielding wasteful file reads, analyzing CLAUDE.md bloat, generating ROI reports and efficiency digests, suggesting git-aware preloads and task templates, and exporting interactive dashboards to cut costs and recover context quickly.
npx claudepluginhub egorfedorov/claude-context-optimizerGenerate 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
Analyze CLAUDE.md files for token bloat and suggest optimizations
Clean up old tracking data and reset statistics
Show weekly/daily efficiency digest with score and trends
Export context report as Markdown or HTML
Show git-aware context suggestions for current working directory
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
Manage context templates for common task types
Show context usage heatmap for current session
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.
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Your Claude Code sessions expire too fast. This fixes that.
Governor: always-on compact professional output, telemetry, context slimming, tool-output filtering, prompt guidance, and drift guardrails for Claude Code Max users.
Token optimization for Claude Code. Automatic tool output compression (40-60% reduction), token meter in statusline, auto-compact at 70% context, structured output formats, self-building project wiki, URL ingestion, Karpathy compile pass, and semantic lint.
Session intelligence for Claude Code — find why your sessions fail and fix them
Cost-conscious mode for Claude Code. Saves 30-60% on costs through concise responses, model routing, and efficient workflow patterns.