logsnip: cut CI noise, keep the stack traces A developer released logsnip, a zero-dependency Python CLI that extracts failure regions from CI logs and collapses the rest, aiming to cut through the noise of package install lines. The tool supports built-in patterns for common error formats and offers options like --check for CI gating and --json for machine parsing. Cut the noise. Keep the stack traces. CI logs are mostly package installs. The failure is a few dozen lines buried under thousands of Downloading… lines. Scrolling for the real stack trace is a tax paid on every red build. logsnip https://github.com/SybilGambleyyu/logsnip is a zero-dependency Python CLI that extracts those failure regions and collapses the rest. pip install git+https://github.com/SybilGambleyyu/logsnip.git or the whole toolkit: curl -fsSL https://raw.githubusercontent.com/SybilGambleyyu/devkit/main/install.sh | bash Last failure from a GitHub Actions run gh run view --log-failed | logsnip --last Headlines only logsnip ci-full.log --summary Safe to paste into an AI assistant gh run view --log-failed | logsnip --last | redactx Built-in patterns cover pytest E lines and AssertionError , npm ERR , rustc error E… , TypeScript error TS… , GitHub Actions error , make failures, and common exit-code messages. Stack frames after a hit are pulled in automatically. --check exits 1 when error-like lines appear CI gate --json for machines; --summary for humans in a hurrySource: github.com/SybilGambleyyu/logsnip https://github.com/SybilGambleyyu/logsnip · MIT