Claudius
Status

magic-compact

Plugin

Claude Code plugin providing lossless context compression for longer conversations in Claude Code and OpenCode.

by aerovato·aerovato/magic-compact·TypeScript·opencode@v1.2.2
83· B
Install
/plugin marketplace add aerovato/magic-compact
Stars
132
7d change
7.32%
Downloads / week
Last active
1 day ago
About

Lossless 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.

Read more on GitHub →
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
BSD-3-Clause
Age
1 months
token-efficiencyproductivity#context-compression#token-efficiency#claude-code#opencode#anthropic#chatgpt#claude-code-plugin#claude-skills#codex#gemini#openai#opencode-plugin