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

fzf

$ fzf Community Low Risk
Junegunn Choi (OSS) · Files & Search · MIT · macos / linux / windows

fzf is the ubiquitous interactive fuzzy finder for humans in terminal workflows. Because default fzf opens an interactive TTY UI (and supports --preview shell hooks), agents must only invoke fzf --filter <query> or prefer rg/fd directly.

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

Fuzzy line filtering belongs in shell pipes via fzf --filter; exposing an interactive TUI picker over MCP makes no sense.

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

Interactive TUI is the default behavior and hangs headless agents unless --filter (-f) is explicitly passed; lacks --json.

  • Requires --filter for non-interactive stdout execution; no --json output
Trust & Safety 20 / 25

Read-only in --filter mode, though --preview / --bind options can execute arbitrary shell commands.

  • Supports --preview shell execution if configured via FZF_DEFAULT_OPTS
Setup & Portability 14 / 15

Single Go binary available everywhere via brew, apt, go install, and GitHub releases.

  • Static Go binary for macOS, Linux, and Windows
Utility & Efficiency 9 / 15

Built primarily for human interactive selection; agents gain limited value over fd + rg.

  • Fuzzy ranking is occasionally useful via --filter on short lists
Maintenance & Lineage 9 / 10

Actively maintained by Junegunn Choi with massive developer adoption.

  • Highly active OSS project under MIT license
Docs & Verifiability 8 / 10

Extensive README, wiki, and man page documenting --filter and environment variables.

  • Detailed man page and GitHub documentation

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; operates on stdin streams or local directory walk.

Side Effects
Read-Only
Cost & Quotas

100% free, offline, and open-source (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# fzf Agent Rules
- NEVER invoke `fzf` without `--filter <query>`; interactive mode expects `/dev/tty` and hangs headless shells.
- Prefer exact filters (`rg`, `fd`, `jq`) over fuzzy ranking whenever deterministic matches are needed.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run non-interactive fuzzy filter over file paths
fd -t f | fzf --filter="authsvc"

Ranks and prints fuzzy-matched lines immediately using --filter without opening a TTY UI.

Strengths for Agents

  • + Fast --filter batch mode allows non-interactive fuzzy ranking over stdin streams.
  • + Zero-dependency Go binary packaged on nearly every OS.

Caveats & Pitfalls

  • ! Default invocation launches an interactive TTY UI that blocks or fails in agent shells.
  • ! Inherits FZF_DEFAULT_OPTS from user shells, which can inject unwanted flags or --preview commands.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI