magic-compact

by aerovato · Claude Skill · ★ 85

About magic-compact

Magic Compact English | 中文 Lossless context compression for OpenCode and Claude Code. Why OpenCode and Claude Code's built-in compaction replaces an entire conversation with one summary blob. The user messages, the assistant's reasoning, tool calls, design decisions, and workflow are all flattened into a generic template (Goal, Progress, Key Decisions...). The agent wakes up with amnesia, forced to reconstruct its working state from an abstraction that captured a fraction of what mattered.

anthropicchatgptclaudeclaude-codeclaude-code-pluginclaude-skillscodexgeminiopenaiopencode

Quick Facts

Stars85
Forks4
LanguageTypeScript
CategoryClaude Skill
LicenseBSD-3-Clause
Quality Score71.4784595841119/100
Open Issues2
Last Updated2026-07-08
Created2026-07-04
Platformsclaude-code, codex, gemini, node
Est. Tokens~16k

Compatible Skills

These tools work well together with magic-compact for enhanced workflows:

  • opencode-background-agents — semantic(0.32)+complementary+rare_topics+same_lang+similar_pop+shared_platform (66%)
  • opencode-plusplus — semantic(0.24)+complementary+rare_topics+same_lang+similar_pop+shared_platform (63%)
  • oc-codex-multi-auth — semantic(0.24)+complementary+rare_topics+same_lang+similar_pop+shared_platform (63%)
  • toonify-mcp — semantic(0.37)+complementary+same_lang+similar_pop+shared_platform (63%)

More Claude Skill Tools

Explore other popular claude skill tools:

View all Claude Skill tools →

Popular TypeScript Agent Tools

  • openclaw ⭐ 382.2k · Codex Skill
  • n8n ⭐ 195.7k · MCP Server
  • dify ⭐ 148.2k · MCP Server
  • gstack ⭐ 120.5k · Agent Tool
  • gemini-cli ⭐ 105.8k · MCP Server

Frequently Asked Questions

What is magic-compact?

magic-compact is Lossless context compression plugin for Claude Code & OpenCode.. It is categorized as a Claude Skill with 85 GitHub stars.

What programming language is magic-compact written in?

magic-compact is primarily written in TypeScript. It covers topics such as anthropic, chatgpt, claude.

How do I install or use magic-compact?

You can find installation instructions and usage details in the magic-compact GitHub repository at github.com/aerovato/magic-compact. The project has 85 stars and 4 forks, indicating an active community.

What license does magic-compact use?

magic-compact is released under the BSD-3-Clause license, making it free to use and modify according to the license terms.

View on GitHub → Browse Claude Skill tools