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

navi

$ navi Community Low Risk
denisidoro · Files & Search · Apache-2.0 · macos / linux / windows

navi organizes parameterized shell cheatsheets (.cheat files) and lets users interactively select snippets and fill placeholders via fzf/skim. For headless agents, combining --print, --best-match, and --query returns the top matching command to stdout without launching an interactive picker.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
brew install navi
CLI vs MCP Decision CLI Only

Local .cheat snippet lookup via navi --print --best-match runs offline with zero MCP overhead.

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

--print --best-match --query provides non-interactive stdout lookup, though bare navi executes commands or hangs on interactive fzf and there is no --json.

  • Non-interactive --print --best-match --query flags
  • Default invocation spawns interactive fzf and executes commands
Trust & Safety 22 / 25

--print never executes commands, whereas default navi executes selected snippets in the shell and navi repo add clones external repos.

  • --print safely outputs command text without execution
Setup & Portability 14 / 15

Rust binary available via Homebrew, cargo install navi, and Linux/Windows packages; interactive mode expects fzf or skim.

  • Cross-platform Rust binary (--best-match works without fzf)
Utility & Efficiency 12 / 15

Useful for querying team-specific .cheat runbooks locally without polluting LLM prompts.

  • Parameterized cheatsheets and multi-repo sharing
Maintenance & Lineage 8 / 10

Established Apache-2.0 Rust project (denisidoro/navi).

  • Widely packaged OSS repository
Docs & Verifiability 8 / 10

Well-documented README and docs/ covering .cheat syntax, --print, and shell widgets.

  • Clear CLI documentation on GitHub

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; stores .cheat repositories locally under ~/.local/share/navi/cheats/.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free, offline-capable, and open-source (Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# navi Agent Rules
- ALWAYS pass `--print` (and `--best-match` with `--query`) so `navi` neither executes selected snippets automatically nor opens interactive `fzf`.
- Inspect parameterized placeholders (`<branch>`, `<file>`) returned in snippets before running them.

Agent-Ready Command Recipes

Safe Read-Only Queries

Look up the best-matching command without executing or opening TUI
navi --print --best-match --query "git rebase"

Prints the best matching snippet to stdout via --print and --best-match without spawning fzf or running the command.

Controlled Writes & Previews

Import a public cheatsheet repository locally
navi repo add denisidoro/cheats

Clones a cheatsheet repo into ~/.local/share/navi/cheats/ for offline lookups.

Strengths for Agents

  • + --print --best-match --query turns interactive cheatsheets into a safe headless lookup tool.
  • + Supports team-owned .cheat files alongside community cheatsheets.

Caveats & Pitfalls

  • ! Invoking navi without --print and --best-match spawns an interactive finder and executes the chosen command.
  • ! No --json output; interactive mode requires fzf or skim.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI