
Magic compact
SkillClaude Code slash command shim for compacting a session with the Magic Compact plugin
- Open source
- 180 GitHub stars
- AI models and LLM tooling


Claude Code slash command shim for compacting a session with the Magic Compact plugin

Plans context compaction and writes validated handoff files for resuming work in a fresh

Lets an agent log tagged mid-session notes that survive context compaction

Guides an agent through trimming oversized AI context files without changing repo

Routes context-window checks to native Codex or Claude Code meters; optional static audit

Trims shipped spec and plan files down to their rationale, keeping decisions and links

Logs minimal vault change snapshots when AI coding sessions end, deduplicated

Sets up Claude Code for scheduled, memory-backed and queued autonomous work

Runs a chief-of-staff session that watches your coding agents and keeps work on track

Keeps per-project memory so Claude Code can resume work across sessions

Forces agents to compress subagent prompts into short briefs before spawning

Curates what an AI coding agent sees, when, and how, to keep its output on track

Rebuilds your recent working context from chat history and shared records into

Keeps an agent's context window from overflowing during large or long-running tasks

Keeps durable session notes so a coding agent can resume after disconnects

Reviews recent Claude Code sessions to find repeated workflows and friction, proposing

Adds persistent team memory, changelog and README commands to your coding agent

Guides the navaris CLI through snapshots, image promotion and async operation handling

Guides an agent through huge codebases across many sessions without filling context

Sets up a persistent multi-agent operating system on Claude Code with file-based memory
The closest alternatives to Compact now are Magic compact, Context manager, Note, Atlas compact and Context budget.
Yes. Magic compact, Context manager, Note have a free or open-source option.