Agent Skillsaerovato/magic-compact › magic-compact

magic-compact

GitHub

作为魔法压缩功能的后备机制,当拦截失败时提醒用户检查claude-magic-compact插件是否安装并启用。

packages/claude-code-plugin/skills/magic-compact/SKILL.md aerovato/magic-compact

触发场景

Magic Compact 钩子未能正确拦截命令

安装

npx skills add aerovato/magic-compact --skill magic-compact -g -y
更多选项

非标准路径

npx skills add https://github.com/aerovato/magic-compact/tree/main/packages/claude-code-plugin/skills/magic-compact -g -y

不安装直接使用

npx skills use aerovato/magic-compact@magic-compact

指定 Agent (Claude Code)

npx skills add aerovato/magic-compact --skill magic-compact -a claude-code -g -y

安装 repo 全部 skill

npx skills add aerovato/magic-compact --all -g -y

预览 repo 内 skill

npx skills add aerovato/magic-compact --list

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.

版本历史

  • bb2e556 当前 2026-07-11 17:17

元信息

文件数
0
版本
bb2e556
Hash
56230fbc
收录时间
2026-07-11 17:17

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-14 03:44
浙ICP备14020137号-1 $访客地图$