Reduces log files to remove noise and duplicate information, cutting tokens by 70-90% for AI agents, preserving only errors, warnings, and unique events.
Compacts noisy test, build, and cloud-log output before an AI agent reads it — dedupes repeats, collapses stack frames, folds Playwright retries, and renders CloudWatch/GCP JSON logs down to the signal. Typically 80–95% fewer tokens on failures.
Tool: compact_output. Run: npx -y logslim logslim-mcp
An MCP server that executes shell commands and intelligently compresses, filters, and extracts errors from verbose output to save AI agent context windows. It strips ANSI, collapses repetitive lines, and always preserves error information.