claude

context-window-manager

Monitor, analyze, and optimize Claude Code context window usage with real-time alerts and historical tracking

0 on GitHubby Claude Code Communityv1.0.0MITupdated 10 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin context-window-manager in vzwjustin/Claudecontext. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Slash commands (9)

  • /context-window-manager:alert

    Set up context usage alerts and thresholds

  • /context-window-manager:analyze

    Analyze current context window usage and provide optimization recommendations

  • /context-window-manager:context-map

    Generate comprehensive map of current context knowledge with token costs

  • /context-window-manager:history

    View historical context usage data and trends

  • /context-window-manager:optimize

    Get actionable steps to optimize context window usage right now

  • /context-window-manager:prune

    Automatically prune unused context to save tokens

  • /context-window-manager:report

    Generate a comprehensive context usage report for the current session

  • /context-window-manager:savings

    Calculate and track token savings from optimizations

  • /context-window-manager:status

    Quick context window status check with visual indicator

Hooks (7)

  • SessionStart

    bash hooks/scripts/session-start.sh

  • PreCompact
  • PreCompact

    bash hooks/scripts/pre-compact-warn.sh

  • PostToolUse

    bash hooks/scripts/post-tool-track.sh

  • PostToolUse

    bash hooks/scripts/context-knowledge-tracker.sh

  • PostToolUse

    bash hooks/scripts/smart-prune-check.sh

  • Stop

    bash hooks/scripts/session-end.sh

View source on GitHub

Similar plugins

nextjs

claude

Official Next.js skills: adopt and optimize Cache Components, adopt Partial Prefetching, and verify runtime behavior against a running dev server.

6 skills

vercel/next.js 143,495

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Perform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep context-aware review.

2 commands

alibaba/open-code-review 50,068

Cloud architecture design for AWS/Azure/GCP/OCI, Kubernetes cluster configuration, Terraform infrastructure-as-code, hybrid cloud networking, and multi-cloud cost optimization

8 skills · 7 agents

wshobson/agents 42,461

Long-term semantic memory for Claude Code, powered by OpenViking

5 skills · 1 command · 1 MCP server · hooks

volcengine/OpenViking 42,126

Maintain context-window-manager?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted