PlaygroundCatalog › Context Crusher
CC

Context Crusher

🔵 Stable🕐 updated 2026-07-19 🔷 SkillSpec L3 ⚙ ships an executable helper pm-tokens

Compress tool outputs, logs, and JSON before they enter the context window — structural compression via a deterministic stdlib script (schema + samples + stats instead of 300 raw rows), no API, no summarization loss. Use when asked shrink this tool output, my context is full of JSON, compress these logs before analysis, or stop wasting tokens on raw data. Produces the crushed artifact with its token math shown, the crush-or-keep decision rules, and the fetch-the-original escape hatch.

▶ Run it free — no key needed 📝 Grade your existing draft View SKILL.md ↗

What to give it

The payload — the JSON/log/text (or its path), and roughly how it will be used ("I need the error" vs. "I need every row" are opposite answers)
The repetition question — is this data uniform (crushable to schema+stats) or is each row genuinely distinct (crushing loses signal — keep or filter instead)?
The journey stage — one-shot analysis (crush hard) vs. data the conversation will keep querying (crush to an index, keep the original fetchable)

✅ The bar it holds itself to

Every skill in this library self-verifies — these are this skill's own quality checks, straight from its definition.

The token math appears — before, after, percent
JSON crushes carry schema and computed stats, never paraphrased numbers
Every error/warning line in a log crush survived
The original's location and fetch route are stated
Too-small inputs were returned unchanged, honestly

⚠️ What it refuses to do

Do not summarize data with a model when structure can compress it — paraphrased numbers are hallucination surface
Do not crush non-uniform, every-row-is-signal data — filter or keep it
Do not drop the escape hatch — irreversible compression turns a saving into a gamble
Do not crush after the tokens are spent — the step belongs in the pipeline
Do not let the crush eat errors — the invariant outranks the ratio

Install

npx pm-claude-skills add --agent claude   # or codex · cursor · gemini · hermes
# or one-line MCP (every skill, any client):
claude mcp add pm-skills -- npx -y pm-claude-skills-mcp

Related skills

🔌 Embed this skill

Drop this on your blog, docs, or site — it renders a "Run this skill" card:

<div data-pm-skill="context-crusher"></div>
<script src="https://mohitagw15856.github.io/pm-claude-skills/embed.js" async></script>

💬 Discussion

Context Crusher is one of 750 open-source professional AI agent skills — all SkillSpec L3. Try them all in the browser · ⭐ Star on GitHub · Browse the full catalog