Command Filter
Run any command through format-specific compressors. git, cargo, npm, docker — 40+ commands supported. 80%+ token reduction.
Local. No server. Compresses command output + injects caveman-mode prompts.
# Install
npm install -g miskin # recommended
# or: cargo install miskin
# Set up hooks for your AI tool
miskin init # Claude Code
miskin init --agent cursor
miskin init --agent copilot
# Restart your AI tool — commands are now auto-filtered
miskin git status # 90% fewer tokens
miskin cargo test # failures only
miskin docker ps # compact tableNote: Rough projections, not benchmarks. Your numbers will vary. Run
miskin statsto see real savings.
| Command | Typical raw | With Miskin | Approx. |
|---|---|---|---|
git status | up to ~2,000 | ~200 | ~90% |
cargo test | up to ~5,000 | ~500 | ~90% |
git diff | up to ~1,000 | ~300 | ~70% |
eslint | up to ~2,000 | ~400 | ~80% |
docker ps | ~500 | ~100 | ~80% |
npm install | ~1,000 | ~50 | ~95% |
Without Miskin: With Miskin:
git status ──▶ shell ──▶ LLM git status ──▶ miskin ──▶ git ──▶ filter ──▶ LLM
(~2000 tokens) (~200 tokens, 90% saved)The hook rewrites git status to miskin git status. Miskin runs the real command, compresses output through format-aware filters, and returns compact results to the LLM.