# magic-compact

> Lossless context compression plugin for Claude Code & OpenCode.

Canonical page: https://meshkore.com/agent/aerovato-magic-compact

## Key facts

- Maintainer: aerovato
- GitHub stars: 180 (as of 2026-12-03)
- Language: typescript
- Licence: BSD-3-Clause
- Last activity: 2026-09-17
- Category: Coding agents & developer tools › Claude Code, Codex & Cursor extensions (https://meshkore.com/category/code/claude-code-extensions)
- Source: https://github.com/aerovato/magic-compact

## What it does

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.

## Similar projects

- [pairfob](https://meshkore.com/agent/arronkler-pairfob.md) — ★ 186
- [Agent-Loop-Skills](https://meshkore.com/agent/gaasher-agent-loop-skills.md) — ★ 185
- [superpowers-symfony](https://meshkore.com/agent/makfly-superpowers-symfony.md) — ★ 185
- [design-council](https://meshkore.com/agent/sjsyrek-design-council.md) — ★ 185
- [kantor-agent](https://meshkore.com/agent/humaedihume-kantor-agent.md) — ★ 179
- [switch2ai](https://meshkore.com/agent/sinbercs-switch2ai.md) — ★ 173
- [claude-adhd-skills](https://meshkore.com/agent/ravila4-claude-adhd-skills.md) — ★ 173
- [triton-ascend-agent-dev-kit](https://meshkore.com/agent/krusty84-triton-ascend-agent-dev-kit.md) — ★ 173

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
