Agent skill

Supercompress

by Supercompress in Supercompress/Supercompress

Always-on context compression for Grok Build. An agent skill from Supercompress/Supercompress.

MITAuto-check passedProductivity & Automation

Install Supercompress

skills CLI
$ npx skills add Supercompress/Supercompress --skill supercompress -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Supercompress/Supercompress supercompress --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Supercompress/Supercompress.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/proxy/src/grok-hooks/skills/supercompress .claude/skills/supercompress && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
supercompress
GitHub stars
106
Token cost
~519 tokens
SKILL.md length
208 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Always-on context compression for Grok Build. An agent skill from Supercompress/Supercompress.

  • Works in 6 steps: Prefer the PostToolUse-replaced tool… → Else if ~/.supercompress/inbox/latest.md… → Otherwise call MCP… → …
  • Pasted blobs are large
  • SKILL.md covers Grok-specific, How and Do not
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Supercompress is an agent skill from Supercompress/Supercompress. Always-on context compression for Grok Build. Use when tool dumps, file reads, logs, diffs, scrapes, or pasted blobs are large. Compress bulky context via MCP supercompresscompresscontext; never compress the user's ask. Prefer the PostToolUse-replaced tool result or ~/.supercompress/inbox/latest.md over raw dumps.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering Email management, LLM cost and token optimization and Web scraping. It works with Model Context Protocol. The repository describes itself as: Query-aware context compression for LLMs and coding agents. Cut ~65% of input tokens. The licence is MIT.

When your agent uses it

  • Pasted blobs are large
  • Tasks that involve Email management
  • Tasks that involve LLM cost and token optimization

Example prompts

  • “/supercompress”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Prefer the PostToolUse-replaced tool result when present.
  2. Else if ~/.supercompress/inbox/latest.md exists, Read it — compressed digest (ask is unchanged). Session digests may also be at…
  3. Otherwise call MCP supercompress__compress_context with context= and query=.
  4. If that tool is not in your native tool list, search_tool then use_tool with supercompresscompress_context. Related…
  5. Prefer the digest over raw dumps. Keep normal login — no provider API-key mode required.
  6. If compress_context fails with account-not-linked, call connect_account once, then retry.

What it can do on your machine

Read from SKILL.md and the folder at commit 1b76c6f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Supercompress loads about 519 tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 208 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~519

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Supercompress/Supercompress at commit 1b76c6f, republished under its MIT licence (© Supercompress). 208 words, ~519 tokens.

Download SKILL.mdSave it as .claude/skills/supercompress/SKILL.md (or your agent's skills folder).
name
supercompress
description
Always-on context compression for Grok Build. Use when tool dumps, file reads, logs, diffs, scrapes, or pasted blobs are large. Compress bulky context via MCP supercompress__compress_context; never compress the user's ask. Prefer the PostToolUse-replaced tool result or ~/.supercompress/inbox/latest.md over raw dumps.

SuperCompress (Grok Build)

Compress bulky context (tool dumps, files, logs, diffs, history). Never compress the user's ask/query.

Grok-specific

  • Global hooks in ~/.grok/hooks/supercompress.json auto-compress large PostToolUse results.
  • On Grok, the hook replaces the model's copy of the tool result (updatedToolOutput) with the digest. The scrollback keeps the original.
  • Digests are also written to ~/.supercompress/inbox/latest.md (and inbox/<sessionId>/).
  • Grok discards UserPromptSubmit additionalContext, so do not wait for the next prompt to see the digest — it is already in the tool result when the hook succeeds.
  • After a big run_terminal_command / read_file / MCP dump: use the replaced result, or Read the inbox, or call supercompress__compress_context before answering from a raw dump.

How

  1. Prefer the PostToolUse-replaced tool result when present.
  2. Else if ~/.supercompress/inbox/latest.md exists, Read it — compressed digest (ask is unchanged). Session digests may also be at ~/.supercompress/inbox/<sessionId>/latest.md.
  3. Otherwise call MCP supercompress__compress_context with context=<new dump> and query=<user ask>.
  4. If that tool is not in your native tool list, search_tool then use_tool with supercompress__compress_context. Related: supercompress__connect_account, supercompress__usage_summary.
  5. Prefer the digest over raw dumps. Keep normal login — no provider API-key mode required.
  6. If compress_context fails with account-not-linked, call connect_account once, then retry.

Do not

  • Compress the user's question / instructions.
  • Re-paste raw tool dumps after a digest or replaced result exists.

© Supercompress, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/proxy/src/grok-hooks/skills/supercompress of Supercompress/Supercompress.

Open the folder on GitHubat commit 1b76c6f

Compare with similar skills

Supercompress next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Supercompress compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Supercompress this skillSupercompress/Supercompress106—~519Automated safety check: PassMIT
Skyvern Browser AutomationSkyvern-AI/skyvern23k—~1.9kAutomated safety check: PassAGPL-3.0
Browser SearchJohell1NS/browser-search529—~2.5kAutomated safety check: PassMIT
Cloudflare Browser Renderingeinverne/dotfiles121—~4.9kAutomated safety check: PassGPL-3.0
Web Searchmajiayu000/claude-skill-registry6662 repos~703Automated safety check: NotesMIT
Interceptor BrowserHacker-Valley-Media/Interceptor5171 repos~4.8kAutomated safety check: PassCustom licence

Similar skills

  • Skyvern Browser Automation

    Skyvern-AI/skyvern

    Automates websites with Skyvern's AI browser agent to fill forms, extract data, download files, log in and run multi-step workflows through SDKs, REST, MCP or a CLI.

    23k GitHub stars~1.9k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Browser Search

    Johell1NS/browser-search

    Multi-engine web search (SearXNG) + browsing/scraping (Camofox, CloakBrowser).

    529 GitHub stars~2.5k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Guide for implementing Cloudflare Browser Rendering - a headless browser automation API for screenshots, PDFs, web scraping, and testing.

    121 GitHub stars~4.9k tokensUpdated 29 days ago
    Productivity & AutomationAuto-check passed
  • Web Search

    majiayu000/claude-skill-registry

    网络搜索与网页内容获取。当用户需要搜索互联网信息、获取网页内容、查找实时数据、进行 websearch 时使用此技能。支持多种搜索工具:WebFetch、Firecrawl skill、Tavily skill。

    666 GitHub starsUsed in 2 repos~703 tokens
    Productivity & AutomationAuto-check: notes
  • Interceptor Browser

    Hacker-Valley-Media/Interceptor

    Drive a signed-in Chrome / Brave / Safari session via the interceptor CLI: open/read pages, click, type, inspect DOM/text/network, automate rich browser editors and scene graphs, capture…

    517 GitHub starsUsed in 1 repo~4.8k tokens
    Productivity & AutomationAuto-check passed
  • Control Browser

    zai-org/ZCode

    A skill your agent uses when opening, navigating, inspecting, testing, clicking, typing, filling, screenshotting, or verifying web pages and local HTTP targets (localhost, 127.0.0.1, ::1) inside…

    7.5k GitHub stars~4.6k tokensUpdated 9 days ago
    Productivity & AutomationAuto-check passed

More from Supercompress/Supercompress

  • Supercompress

    Supercompress/Supercompress

    Compress bulky coding-agent context (tool dumps, logs, diffs, files, scrapes) before it burns tokens.

    106 GitHub stars~393 tokensUpdated yesterday
    Auto-check passed
  • Supercompress

    Supercompress/Supercompress

    Always-on context compression for OpenClaw. An agent skill from Supercompress/Supercompress.

    106 GitHub stars~366 tokensUpdated yesterday
    Auto-check passed

Questions about Supercompress

What does Supercompress do?

Always-on context compression for Grok Build. An agent skill from Supercompress/Supercompress. Supercompress is an agent skill from Supercompress/Supercompress. Always-on context compression for Grok Build.

When should I use Supercompress?

Supercompress fits situations like: pasted blobs are large; tasks that involve Email management; tasks that involve LLM cost and token optimization.

How do I install Supercompress in Claude Code?

Run `npx skills add Supercompress/Supercompress --skill supercompress -a claude-code`. Or copy the skill folder (packages/proxy/src/grok-hooks/skills/supercompress in Supercompress/Supercompress) into .claude/skills/supercompress in your project. Claude Code loads it when a task matches its description.

How do I install Supercompress in Codex?

Run `npx skills add Supercompress/Supercompress --skill supercompress -a codex`. Or copy the skill folder (packages/proxy/src/grok-hooks/skills/supercompress in Supercompress/Supercompress) into .agents/skills/supercompress in your project. Codex loads it when a task matches its description.

Can I use Supercompress in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Supercompress/Supercompress --skill supercompress -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/supercompress, .gemini/skills/supercompress, .github/skills/supercompress and .opencode/skills/supercompress in your project.

What does Supercompress need to run?

SKILL.md names no scripts, command-line tools or credentials: Supercompress is instructions for the agent only.

Does Supercompress access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Supercompress safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Supercompress use?

Supercompress is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Supercompress use?

About 519 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Supercompress?

Skills that share tags, products or a category with Supercompress: Skyvern Browser Automation (Skyvern-AI/skyvern, 23k stars), Browser Search (Johell1NS/browser-search, 529 stars), Cloudflare Browser Rendering (einverne/dotfiles, 121 stars) and Web Search (majiayu000/claude-skill-registry, 666 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Supercompress?

Supercompress (a GitHub organization) maintains it in Supercompress/Supercompress, which has 106 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.

Source: Supercompress/Supercompress on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.