claude

context-budget

Warns the model before Claude Code auto-compacts, keeps a handoff that's reloaded after every compaction, and lets the model compact itself at a clean checkpoint.

0 on GitHubby Josh Hubbardv0.1.2MITupdated 1 month agodevelopment-workflow
/

Plugin context-budget from marketplace claude-context-budget in jhubbardsf/claude-context-budget. 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

Hooks (5)

  • PostToolBatch

    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/context-budget-guard.py"

  • UserPromptSubmit

    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/context-budget-guard.py"

  • Stop

    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/context-budget-guard.py"

  • SessionStart

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/post-compact-resume.sh"

  • SessionStart

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/compact-mechanism-note.sh"

View source on GitHub

Similar plugins

CMEM Pro

claude

CMEM Pro for the Claude app - hooks stream tool use to cmem.ai and inject observations into new sessions and agents

3 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

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

mempalace

claudecodex

AI memory system — mine projects and conversations into a searchable palace. 47 MCP tools, auto-save hooks, guided setup.

3 skills · 6 commands · 1 MCP server · hooks

MemPalace/mempalace 60,536

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

pensyve

claude

Universal memory runtime for Claude Code with cross-session memory, entity-aware recall, lifecycle hooks, skills, commands, and memory-curator agents

7 skills · 7 commands · 2 agents · hooks

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-budget?

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