PlugMyPlugin
← Browse

prep-compact

koenvdheide ★ 1

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.

Productivity Project Management No API key detected runs shell

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

Analyzed . 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).