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

delta

$ delta Community Low Risk
Dan Davison · Code & DevOps · MIT · macos / linux / windows

A Rust-based pager for git, diff, and grep output featuring language syntax highlighting, word-level diff emphasis, --side-by-side layouts, and line-number gutters. Designed for human readability in terminals rather than machine parsing; agents should bypass it with GIT_PAGER=cat when inspecting diffs.

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

Local terminal pager only; agents should read plain git diff --no-ext-diff instead of invoking delta.

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 13 / 25

Supports --paging=never and stdin/file diffing, but produces human-oriented ANSI/Unicode box decorations with no --json output.

  • Supports --paging=never to avoid blocking on less
  • Outputs styled terminal text only; no machine-readable JSON mode
Trust & Safety 24 / 25

Strictly read-only local pager with zero repository or filesystem mutations.

  • Read-only stdin and file diff renderer
Setup & Portability 15 / 15

Single static Rust binary distributed via Homebrew, Cargo, package managers, and GitHub Releases on macOS, Linux, and Windows.

  • Prebuilt static binaries across all major platforms
Utility & Efficiency 6 / 15

Valuable for human developers, but ANSI escapes and decorative borders waste agent context tokens compared to raw git diff.

  • Decorative diff formatting increases token count without adding semantic data for agents
Maintenance & Lineage 8 / 10

Mature community Rust project (dandavison/delta) under MIT license.

  • Maintained open-source repository under MIT license
Docs & Verifiability 8 / 10

Clear configuration guide and --help documentation at dandavison.github.io/delta/.

  • Dedicated GitHub Pages manual and CLI --help

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Purely local diff formatting tool; no credentials stored or required.

Side Effects
Read-Only
Cost & Quotas

MIT open-source Rust binary; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# delta Agent Rules
- Bypass `delta` when reading git diffs programmatically by setting `GIT_PAGER=cat` or `git --no-pager diff`.
- If invoking `delta` for human-facing output, always pass `--paging=never` to prevent TTY pager hangs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Render a unified diff with line numbers and no pager
git diff | delta --paging=never --line-numbers

Formats unified diff input for human review without spawning an interactive less pager.

Compare two files directly without ANSI color
delta --paging=never --color-only=false file_a.txt file_b.txt

Compares two local files directly without interactive paging.

Strengths for Agents

  • + Strictly read-only local execution with fast Rust startup.
  • + Supports --paging=never so non-TTY invocations exit cleanly.

Caveats & Pitfalls

  • ! No --json output; decorative Unicode borders and ANSI color codes waste tokens if captured by an agent.
  • ! When configured as core.pager in ~/.gitconfig, agents must override with GIT_PAGER=cat to read clean diffs.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI