CLI output condenser powered by Claude haiku. Takes verbose command output and returns only the essential information.
Designed as a fallback filter for the token-saving output pipeline in Claude Code, handling commands not covered by tokf or rtk.
npm install -g condense-clicondense-cli "$(ls -la /some/large/directory)"
condense-cli "$(npm test 2>&1)"
condense-cli "$(git log --oneline -50)"Pass any CLI output as an argument. If it's short enough, it's returned verbatim. Long output gets condensed to ~10 lines keeping errors, warnings, counts, and key results.
Uses the Claude Agent SDK to call Claude haiku with a focused system prompt that extracts essential information from CLI output.
Requires Claude Code authentication (no API key needed when running locally).
MIT