Directory Compare FCRS-1.0 About /llms.txt

tgrep

$ tgrep Community Low Risk
microsoft · Files & Search · MIT · macos / linux / windows · Reviewed:

tgrep (tgrep) — Trigram-indexed grep with a client/server architecture for fast regex search in large codebases locally. Verified across Homebrew Core, Aqua Standard Registry, Scoop Main Bucket; included for structured shell automation under FCRS-1.0 baseline review.

FCRS-1.0 Score
72 /100
Usable w/ Caveats
Low Confidence
Zero-Friction Install
brew install tgrep
CLI vs MCP Decision CLI Only

Pure CLI utility (tgrep); directly invoked in shell workflows without an equivalent MCP server layer.

At a Glance

Command
$ tgrep
FCRS-1.0 Score
72/100 (Usable w/ Caveats)
Evidence Tier
Low Confidence
CLI vs MCP
CLI Only
Reviewed Date

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

Registry-verified CLI binary (tgrep); inspect --help output before assuming structured JSON flags.

  • Indexed in Homebrew Core, Aqua Standard Registry, Scoop Main Bucket
Trust & Safety 19 / 25

Classified as low risk based on files-search scope and upstream package metadata.

  • Install channel verified via brew install tgrep
  • Declared license: MIT
Setup & Portability 13 / 15

Installable via brew install tgrep across macos, linux, windows.

  • Primary install: brew install tgrep
Utility & Efficiency 11 / 15

Trigram-indexed grep with a client/server architecture for fast regex search in large codebases locally

  • Official homepage/source: https://github.com/microsoft/tgrep
Maintenance & Lineage 7 / 10

community lineage tool maintained by microsoft.

  • Upstream repository: microsoft/tgrep
Docs & Verifiability 7 / 10

Upstream documentation linked at https://github.com/microsoft/tgrep; baseline FCRS cap applies until local probe runs.

  • https://github.com/microsoft/tgrep

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Local execution tool; typically requires no external credentials unless targeting remote endpoints.

Side Effects
Read-Only Local Write
Cost & Quotas

Open-source / free local execution; zero API token or SaaS billing overhead from the binary itself.

Copyable Guardrail for CLAUDE.md / AGENTS.md
When invoking `tgrep`, verify flags with `tgrep --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect available subcommands & flags
tgrep --help

Discover supported flags and subcommands for tgrep before constructing automated calls.

Verify binary version & availability
tgrep --version

Confirm tgrep is installed and executable in PATH with zero side effects.

Strengths for Agents

  • + Indexed in Homebrew Core, Aqua Standard Registry, Scoop Main Bucket with reproducible install via brew install tgrep
  • + Standalone CLI binary (tgrep) directly composable in shell pipelines

Caveats & Pitfalls

  • ! Low-confidence baseline review: not yet locally probed on this host; run tgrep --help to verify flags before scripting

Tested Agent Hosts

Follow Ecosystem Links

Related CLIs in Files & Search

View category hub →
the-way 72/100
$ the-way

A code snippets manager for your terminal

tickrs 72/100
$ tickrs

Realtime ticker data in your terminal 📈

$ tfstate-lookup

Lookup resource attributes in tfstate

timidity 72/100
$ timidity

Software synthesizer

ripgrep 98/100
$ rg

Blazing-fast read-only codebase search with `--json` NDJSON streaming and automatic `.gitignore` respect.

fd 94/100
$ fd

Fast, user-friendly `find` alternative with automatic `.gitignore` filtering and `--color never` support.