Agent Skillsaerovato/magic-compact › magic-compact

magic-compact

GitHub

用于处理 magic-compact 命令的辅助技能。当 Magic Compact 钩子未能拦截命令时,此技能会提示用户检查是否已安装并启用 claude-magic-compact 插件。

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

Trigger Scenarios

Magic Compact 钩子拦截失败 用户直接调用 /magic-compact 命令

Install

npx skills add aerovato/magic-compact --skill magic-compact -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • bb2e556 Current 2026-07-11 17:17

Metadata

Files
0
Version
bb2e556
Hash
56230fbc
Indexed
2026-07-11 17:17

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-19 11:00
浙ICP备14020137号-1 $お客様$