magic-compact

用于压缩当前 Claude Code 会话内容的工具,目的在于减少会话数据体积。

仓库最近推送
GitHub Stars
181
Forks
22
Issues / PRs
2

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "magic-compact":https://skillpi.com/zh/skills/deepskill-f323d4deb1d7c69a7f4fdbe18f8ad27dd24c6edc42dab84d3b8766e0d6285201。安装前核对上游来源和版本:https://github.com/aerovato/magic-compact。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于压缩当前 Claude Code 会话内容的工具,目的在于减少会话数据体积。

0 下载

介绍来源: third_party · aerovato · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 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.

版本历史

  1. [email protected] GitHub ↗
    原版更新说明

    ## What's Changed * Correctly quote env var usage in the command in hooks.json by @Dove6 in https://github.com/aerovato/magic-compact/pull/21 * docs/operator by @kevinMEH in https://github.com/aerovato/magic-compact/pull/22 * Explain a source transcript that is not on disk yet by @geunwoobaek in https://github.com/aerovato/magic-compact/pull/24 ## New Contributors * @Dove6 made their first contribution in https://github.com/aerovato/magic-compact/pull/21 * @geunwoobaek made their first contribution in https://github.com/aerovato/magic-compact/pull/24 **Full Changelog**: https://github.com/aerovato/magic-compact/compare/[email protected]@v1.4.0

  2. [email protected] GitHub ↗
    原版更新说明

    ## What's Changed * feature(OC)/explicit models by @kevinMEH in https://github.com/aerovato/magic-compact/pull/19 **Full Changelog**: https://github.com/aerovato/magic-compact/compare/[email protected]@v1.2.2

  3. [email protected] GitHub ↗
    原版更新说明

    **Full Changelog**: https://github.com/aerovato/magic-compact/compare/[email protected]@v1.2.1

  4. [email protected] GitHub ↗
    原版更新说明

    ## What's Changed * feature(OC)/magic trim by @kevinMEH in https://github.com/aerovato/magic-compact/pull/17 **Full Changelog**: https://github.com/aerovato/magic-compact/compare/[email protected]@v1.2.0

  5. [email protected] GitHub ↗
    原版更新说明

    **Full Changelog**: https://github.com/aerovato/magic-compact/compare/[email protected]@v1.3.1

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值55/100

亮点

  • 提供会话压缩功能,满足特定场景下的实用需求
触发精准75/100

亮点

  • 触发词 '压缩此 Claude Code 会话。' 较为明确,argument-hint '[N]' 提供了参数提示
结构规范60/100

待提升项

  • description写错位置 原报告严重程度:轻微

    顶层 frontmatter 中 description 字段为空,但 skill_body 内部存在实质性的 description 内容。

    改进建议:建议将 description 内容移至顶层 frontmatter 中的 description 字段,以确保规范性和一致性。

亮点

  • skill_body 结构清晰,包含了必要的 frontmatter 信息
执行可靠65/100

亮点

  • 具备基本的错误处理机制,当 hook 失败时会提示用户检查插件状态
证据可验 (前四项均值)64/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。