Claude Code session

Contextzip

Cut Claude Code context 60-90%. Live stdout today, session-history compression coming v0.2.

26 stars 4 forksSessions & history Source

Install

Install
npx contextzip

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/jee599/contextzip.git

From the README

⚡ ContextZip

  CLI output eats your AI context window. ContextZip compresses it 40-97% (61% avg across 102 tests).
  npx contextzip

For: Claude Code / Cursor / Copilot CLI users hitting token limits.
Not for: projects where you need raw command output (use contextzip proxy <cmd> instead).

🌐 Languages

한국어 •
日本語 •
中文 •
Español •
Português •
हिन्दी •
Français •
Deutsch •
Русский •
Türkçe •
Tiếng Việt

⬇️ Install

Restart Claude Code. Every command is now compressed. Zero config.
macOS · Linux · Windows

Need raw output? Use contextzip proxy  to bypass all filters.
Missing jq? Install it: brew install jq (macOS) or apt install jq (Linux). Required for the Claude Code hook.

Other install methods

👀 See the Difference

💥 Node.js Error — 30 lines → 3 lines (92% saved)

❌ Before

✅ After

📦 npm install — 150 lines → 3 lines (95% saved)

❌ Before

✅ After

🐳 Docker Build — 50 lines → 1 line (96% saved)

❌ Before

✅ After

Currently supports legacy Docker builder output (Step N/M format). Docker BuildKit format passes through uncompressed.

🔨 TypeScript Build — 40 errors grouped (81% saved)

❌ Before

✅ After

🆕 v0.2 — Session History Compression (the one nobody else does)

Live stdout compression is table stakes. The bigger problem: your past Claude Code session JSONL under ~/.claude/projects/ accumulates 85.8% tool inputs/results (measured across 6,850 messages). ContextZip is the first tool to compact that archive.

Before — 55 MB session, 2,475 records

After — contextzip compact + apply

More examples: Rust panic, Python, Web page, ANSI, Docker failure, Java/Go

🐍 Python Traceback (72% saved) — Framework frames (flask, importlib) hidden, your code + error message kept.

🦀 Rust Panic (2-7% saved) — std::panicking, tokio::runtime frames hidden, your crate…
Read the full README on GitHub

Details

Language
Rust
Last updated
3 June 2026
Topics
aiclaudeclicontext-windowdeveloper-toolsllmrtkrusttoken-compression

FAQ

What is Contextzip?

Cut Claude Code context 60-90%. Live stdout today, session-history compression coming v0.2. It is a session for Claude Code, from jee599/contextzip on GitHub.

How do I install Contextzip?

Run npx contextzip, then follow the setup in the README.

Is Contextzip popular?

jee599/contextzip has 26 GitHub stars and 4 forks. It was last updated on 3 June 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.