Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

xcbeautify

$ xcbeautify Community Low Risk
Charles Pisciotta · Code & DevOps · MIT · macos

xcbeautify reads raw xcodebuild output from stdin (or log files) and formats compiler warnings, errors, and test summaries cleanly. Its --quiet / --quieter flags drastically cut context-token waste from verbose Apple build logs, though it does not emit JSON.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install xcbeautify
CLI vs MCP Decision CLI Only

xcbeautify is a local Unix pipe filter for xcodebuild stdout/stderr streams; MCP is inapplicable.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Stateless stdin filter supporting --quiet, --quieter, --is-ci, and --renderer github-actions, though lacks --json output.

  • --quiet and --is-ci suppress verbose compile lines and ANSI noise
  • Outputs condensed text without --json
Trust & Safety 21 / 25

Strictly read-only stream formatter with zero filesystem or network side effects; note that shell pipes mask xcodebuild exit codes unless pipefail is set.

  • Pure read-only stdin/stdout filter
Setup & Portability 10 / 15

Fast zero-dependency Swift binary via brew install xcbeautify, scoped to macOS Xcode workflows.

  • macOS-focused binary via Homebrew and GitHub releases
Utility & Efficiency 12 / 15

Saves huge numbers of context tokens by collapsing multi-thousand-line xcodebuild output into actionable errors and test counts.

  • Replaces legacy Ruby xcpretty with fast native Swift parsing
Maintenance & Lineage 7 / 10

Actively maintained community tool (cpisciotta/xcbeautify) under MIT license.

  • Maintained at cpisciotta/xcbeautify
Docs & Verifiability 7 / 10

Concise README and --help covering flags and CI renderer modes.

  • Clear README and --help output

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No authentication or state storage required; operates purely as a stateless stream formatter.

Side Effects
Read-Only
Cost & Quotas

MIT open-source CLI; free to use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# xcbeautify Agent Rules
- Always use `set -o pipefail` when piping `xcodebuild ... | xcbeautify` so build failures are not masked.
- Pass `--quiet --is-ci` to avoid flooding context windows with raw `clang`/`swiftc` lines.

Agent-Ready Command Recipes

Safe Read-Only Queries

Format an existing xcodebuild log showing only errors/warnings
xcbeautify --quiet --is-ci < build.log

Filters a captured xcodebuild log down to concise warnings, errors, and test results.

Pipe xcodebuild output with minimal noise
set -o pipefail && xcodebuild test -scheme App | xcbeautify --quiet --is-ci

Streams condensed build/test diagnostics while preserving xcodebuild's non-zero exit code.

Strengths for Agents

  • + --quiet and --quieter dramatically shrink xcodebuild logs for LLM context windows.
  • + Fast native Swift binary with zero Ruby runtime dependencies (unlike xcpretty).
  • + Supports CI-aware --renderer modes (github-actions, teamcity, azure-devops-pipelines).

Caveats & Pitfalls

  • ! Does not emit --json structured build diagnostics.
  • ! Piping xcodebuild | xcbeautify hides build failures unless set -o pipefail is enabled.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI