Agent Skills
› aerovato/magic-compact
› magic-compact
magic-compact
GitHub作为 magic-compact 命令的备用处理程序,当插件钩子拦截失败时触发。负责提醒用户并建议检查 claude-magic-compact 插件的安装与启用状态,确保会话压缩功能可用。
Trigger Scenarios
Magic Compact 命令执行但插件未正确拦截
用户尝试使用 /magic-compact 但发现异常
Install
npx skills add aerovato/magic-compact --skill magic-compact -g -y
SKILL.md
Frontmatter
{
"name": "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.
Version History
- bb2e556 Current 2026-07-11 17:17


