magic-compact
PluginClaude Code plugin providing lossless context compression for longer conversations in Claude Code and OpenCode.
/plugin marketplace add aerovato/magic-compactLossless context compression for OpenCode and Claude Code.
OpenCode and Claude Code's built-in compaction replaces an entire conversation with one summary blob. The user messages, the assistant's reasoning, tool calls, design decisions, and workflow are all flattened into a generic template (Goal, Progress, Key Decisions...). The agent wakes up with amnesia, forced to reconstruct its working state from an abstraction that captured a fraction of what mattered.
Magic Compact takes a different approach: preserve the conversation skeleton, condense each old assistant turn into its own summary, prune bulky tool I/O, and keep everything retrievable. The agent retains its memory of what it did, why, and what comes next.
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- BSD-3-Clause
- Age
- 1 months