Agent Skills
› aerovato/magic-compact
› magic-compact
magic-compact
GitHub处理 magic-compact 命令拦截失败的兜底逻辑。当插件未安装或启用时,提示用户检查环境并建议安装 claude-magic-compact 插件,确保命令交互的完整性。
Trigger Scenarios
用户执行 /magic-compact 命令但 Hook 未生效
检测到 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


