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

ripgrep-all

$ rga Community Low Risk
phiresky · Files & Search · AGPL-3.0-or-later · macos / linux / windows

ripgrep-all (rga) extends ripgrep with pluggable adapters to search inside PDFs, .docx/.xlsx/.pptx, EPUBs, compressed archives, SQLite databases, and media subtitles. It passes through --json, --color=never, and ripgrep flags while caching extracted text locally.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install ripgrep-all
CLI vs MCP Decision CLI Only

Direct rga --json searches local binary documents and archives directly without loading an MCP server.

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

Inherits ripgrep's --json JSON Lines output, --color=never, non-interactive execution, and exit codes.

  • Passes --json and standard rg flags to ripgrep
  • Non-interactive adapter pipeline with --rga-adapters control
Trust & Safety 22 / 25

Read-only search over documents, though it invokes external adapter binaries (e.g., pdftotext, ffmpeg) and writes an extracted-text cache unless --rga-no-cache is set.

  • Never modifies target files
  • Caches extracted text locally under ~/.cache/rga by default
Setup & Portability 12 / 15

Available via brew install ripgrep-all and cargo install ripgrep_all, but requires rg plus optional external tools (poppler, pandoc, ffmpeg) for full format support.

  • Depends on ripgrep and format-specific helper binaries on PATH
Utility & Efficiency 13 / 15

Unlocks full-text regex search across PDFs, Office files, archives, and SQLite DBs in one command.

  • Replaces ad-hoc Python/pdftotext extraction loops
Maintenance & Lineage 8 / 10

Popular community Rust project maintained by phiresky under AGPL-3.0-or-later.

  • Active phiresky/ripgrep-all GitHub repository
Docs & Verifiability 8 / 10

Clear README and --help covering adapters, caching, and rg flag passthrough.

  • Adapter list and examples documented in README and --rga-list-adapters

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; caches extracted plain text in ~/.cache/rga unless --rga-no-cache is passed.

Side Effects
Read-Only
Cost & Quotas

100% free, offline, and open-source (AGPL-3.0-or-later).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ripgrep-all (rga) Agent Rules
- Pass `--json` (inherited from `rg`) and `--rga-no-cache` if searching sensitive documents you should not cache on disk.
- Scope searches to targeted directories and disable unneeded slow adapters with `--rga-adapters=-...`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Search PDFs and docs with JSON Lines output
rga --json "quarterly revenue" ./reports

Extracts text from supported documents via adapters and emits ripgrep-compatible JSON Lines matches.

Use magic-byte detection and filter adapters
rga --rga-accurate --rga-adapters=-sqlite --json "token" ./artifacts

Detects file formats via --rga-accurate content inspection while disabling the SQLite adapter.

Strengths for Agents

  • + Inherits ripgrep's --json structured output across PDFs, Office docs, archives, and SQLite.
  • + Local caching speeds up repeated queries over large document folders.

Caveats & Pitfalls

  • ! Requires ripgrep (rg) and external helpers like pdftotext or ffmpeg for certain adapters.
  • ! By default caches extracted document text in ~/.cache/rga; pass --rga-no-cache for sensitive files.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI