magic-compact

A tool for compressing the current Claude Code session content, intended to reduce the session data size.

Last repository push
GitHub Stars
181
Forks
22
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "magic-compact" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f323d4deb1d7c69a7f4fdbe18f8ad27dd24c6edc42dab84d3b8766e0d6285201. Verify the upstream source and version against https://github.com/aerovato/magic-compact before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A tool for compressing the current Claude Code session content, intended to reduce the session data size.

0 Downloads

Introduction source: third_party · aerovato · 0.0.1 Reference

SkillPi interpretation

Tasks
Compact this Claude Code session.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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

  1. [email protected] GitHub ↗
    Original release notes

    ## 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 ↗
    Original release notes

    ## 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 ↗
    Original release notes

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

  4. [email protected] GitHub ↗
    Original release notes

    ## 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 ↗
    Original release notes

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

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value55/100

Highlights

  • 提供会话压缩功能,满足特定场景下的实用需求
Trigger Precision75/100

Highlights

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

Areas to improve

  • description写错位置 Reported severity: Minor

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

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

Highlights

  • skill_body 结构清晰,包含了必要的 frontmatter 信息
Execution Reliability65/100

Highlights

  • 具备基本的错误处理机制,当 hook 失败时会提示用户检查插件状态
Evidence Verifiability (mean of the first four)64/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.