Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By vzwjustin Verifiedv1.0.0MIT
Monitor, analyze, and optimize Claude Code context window usage with real-time alerts and historical tracking
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A comprehensive plugin for monitoring, analyzing, and optimizing your Claude Code context window usage. Stay in control of your context and maximize productivity with real-time tracking, intelligent alerts, and actionable insights.
📖 See FEATURES.md for complete details on advanced features
Clone or download this plugin:
git clone <repository-url> context-window-manager
cd context-window-manager
Test locally with Claude Code:
claude --plugin-dir ./
Install permanently (optional):
# Copy to Claude Code plugins directory
mkdir -p ~/.claude/plugins
cp -r . ~/.claude/plugins/context-window-manager
Once loaded, try these commands in your Claude Code session:
# Quick status check
/context-window-manager:status
# Detailed analysis (agent-powered, fast!)
/context-window-manager:analyze
# Auto-prune unused context (NEW!)
/context-window-manager:prune
# View context knowledge map (NEW!)
/context-window-manager:context-map
# Track token savings (NEW!)
/context-window-manager:savings
# Get optimization recommendations
/context-window-manager:optimize
# Generate full report
/context-window-manager:report
📘 New to the plugin? Read QUICKSTART.md for a 5-minute guided tour!
The plugin provides six powerful slash commands:
/context-window-manager:statusQuick at-a-glance status check with visual indicator.
Use when: You want a fast check without detailed analysis.
Output:
┌─────────────────────────────────────────────────┐
│ CONTEXT WINDOW STATUS │
├─────────────────────────────────────────────────┤
│ Capacity: 200K tokens │
│ Used: 72,000 tokens (36%) │
│ Available: 128,000 tokens (64%) │
│ Status: 🟢 Healthy │
│ │
│ Progress: [███████░░░░░░░░░] 36% │
└─────────────────────────────────────────────────┘
/context-window-manager:analyzeDeep analysis of current context usage with optimization recommendations.
Use when: You want to understand what's consuming your context.
Output includes:
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (vzwjustin/claudecontext) — no native marketplace selected
npx claudepluginhub p/spotty118-context-window-manager