ldomaradzki/xcsift
A Swift command-line tool that parses xcodebuild output into token-efficient JSON for coding agents.
What it solves
xcsift addresses the problem of verbose, human-centric Xcode build and Swift Package Manager (SPM) output. While tools like xcbeautify make logs readable for people, they are not optimized for Large Language Models (LLMs) or coding agents, which can be overwhelmed by noise and consume excessive tokens when processing raw build logs.
How it works
It acts as a command-line pipe that consumes xcodebuild or swift build output. It parses the raw logs and transforms them into structured, machine-readable formats. It offers a specialized "TOON" format designed specifically to reduce token usage by 30-60% compared to standard JSON, making it more efficient for LLMs to process.
Who it’s for
This tool is primarily for developers using AI coding assistants (such as Claude Code, Cursor, or Codex) and CI/CD pipeline engineers who need structured build data for automated analysis.
Highlights
- LLM-Optimized Formats: Provides JSON and a high-density TOON format to minimize token costs and maximize agent efficiency.
- Structured Error Reporting: Extracts errors, warnings, and linker failures with precise file and line locations.
- Automated Coverage: Converts
.profrawand.xcresultfiles into JSON format. - Agent Integration: Includes built-in installers for popular coding assistants like Claude Code and Cursor.
- CI-Ready: Features GitHub Actions integration for inline PR comments and modes for treating warnings as errors.
Related
- Project
- Project
- Project
- Project
- Project