PlugMyPlugin
โ† Browse

prep-compact

koenvdheide โ˜… 0

prep-compact monitors Claude Code's token consumption and automatically drafts tailored `/compact` instructions before context degradation occurs, maintaining a persistent on-disk handoff of files, decisions, and active subagents across compaction boundaries. It fires a reminder at a configurable threshold (default 450K tokens) and supplies an analytical layer to the handoff data, ensuring resumed sessions preserve full prior context rather than relying on Claude's default compaction.

Install

> /plugin marketplace add koenvdheide/prep-compact
> /plugin install prep-compact

Source: https://github.com/koenvdheide/prep-compact

What it's made of

1 skill ยท 2 hooks

Commands
0
Agents
0
Skills
1
MCP servers
0
Hooks
2 ยท Stop, UserPromptSubmit

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
bash
Talks to
nothing external detected

Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (koenvdheide).