Development
Skill
/magic-compact
Compact this Claude Code session.
Install
$ npx -y skills add aerovato/magic-compact --skill magic-compact --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/magic-compact
Context preview
The summary Claude sees to decide when to auto-load this skill.
Compact this Claude Code session.
SKILL.md
magic-compact.SKILL.mdname: magic-compact description: Compact this Claude Code session. argument-hint: "[N]" disable-model-invocation: true
Shim for `/magic-compact [N]`. If you see this instruction, the Magic Compact hook failed to intercept the command. Alert the user and suggest checking that the `claude-magic-compact` plugin is installed and enabled.
Ships withmagic-compact
Magic Compact development has been paused in favor of Operator Memory, its successor. Magic Compact focuses on context compression; Operator already provides durable memory and documentation, and will gain context-management features over time.
Get the whole plugin
Stats
171
Stars
16
Forks
Active
Maintenance
TypeScript
Language
BSD-3-Clause
License
2d ago
Last commit
2mo ago
Created
Repo: aerovato/magic-compact

