Skip to content

MiskinSave AI tokens.

Local. No server. Compresses command output + injects caveman-mode prompts.

Quick Start

bash
# 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 table

Approximate Savings

Note: Rough projections, not benchmarks. Your numbers will vary. Run miskin stats to see real savings.

CommandTypical rawWith MiskinApprox.
git statusup to ~2,000~200~90%
cargo testup to ~5,000~500~90%
git diffup to ~1,000~300~70%
eslintup to ~2,000~400~80%
docker ps~500~100~80%
npm install~1,000~50~95%

How It Works

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.

Released under the MIT License.