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

ugrep

$ ugrep Community Low Risk
Genivia (OSS) · Files & Search · BSD-3-Clause · macos / linux / windows

ugrep combines POSIX grep compatibility with SIMD-accelerated matching, native --json formatting, boolean search operators (--bool), and transparent searching inside .zip, .tar.gz, and .zst archives via -z.

FCRS-1.0 Score
88 /100
Good
Medium Confidence
Zero-Friction Install
brew install ugrep
CLI vs MCP Decision CLI Preferred vs MCP

Local ugrep searches source trees and compressed archives in-process without MCP wrapper latency.

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

Offers native --json, --csv, --color=never, and non-interactive defaults unless -Q TUI mode is invoked.

  • Supports --json, --color=never, and standard grep exit codes
Trust & Safety 24 / 25

Strictly read-only local inspection; --ignore-files must be passed explicitly to skip .gitignore paths.

  • Read-only search including -z in-memory archive inspection
Setup & Portability 13 / 15

Packaged across brew, apt, winget, and source builds on macOS, Linux, and Windows.

  • Prebuilt binaries and Homebrew/Linux packages available
Utility & Efficiency 13 / 15

Unique -z archive search and --bool logic reduce extra decompression or post-filtering steps.

  • Searches compressed archives, PDFs/docs via filters, and fuzzy matches
Maintenance & Lineage 8 / 10

Actively maintained by Genivia with frequent performance and format releases.

  • Active Genivia/ugrep repository under BSD-3-Clause
Docs & Verifiability 7 / 10

Thorough man page and ugrep.com examples, though dense flag surface takes care to navigate.

  • Extensive manual and ugrep --help documentation

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; operates purely on local files and archives.

Side Effects
Read-Only
Cost & Quotas

100% free, offline, and open-source (BSD-3-Clause).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ugrep Agent Rules
- Pass `--ignore-files` when searching git repos (not enabled by default like `rg`) and `--color=never` when needed.
- Avoid `-Q` interactive TUI mode in headless agent runs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Emit structured JSON matches across a codebase
ugrep -R --json --ignore-files "deprecated" src/

Recursively searches src/ honoring .gitignore (--ignore-files) and outputs JSON.

Search inside compressed archives without extracting
ugrep -z -l "ERROR" logs/archive.tar.gz

Streams compressed archive contents read-only using -z.

Strengths for Agents

  • + Native --json output and unique -z support for searching inside compressed archives.
  • + Boolean and fuzzy matching capabilities reduce multi-pass grep pipelines.

Caveats & Pitfalls

  • ! Does not skip .gitignore by default unless --ignore-files is passed.
  • ! Interactive -Q query TUI mode must never be invoked by headless agents.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI