zoxide
$ zoxide Community Low Riskzoxide tracks frequently and recently visited directories in a local database and resolves short queries to full paths via zoxide query. Headless zoxide query and zoxide query -l -s emit clean plain-text paths and scores without prompts, while -i (interactive fzf) must be avoided.
brew install zoxide Resolving a user's workspace path via zoxide query takes <2 ms locally with zero MCP need.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
zoxide query is non-interactive, fast, and clean on stdout, though it has no --json flag and -i spawns interactive fzf.
zoxide query -l -soutputs deterministic path and score lines- No
--jsonoutput mode
zoxide query is strictly read-only; add/remove only touch zoxide's own db.zo index.
- Read-only
querysubcommand;add/removescoped to local index DB
Single Rust binary installed via brew install zoxide, cargo install, and GitHub releases across macOS, Linux, and Windows.
- Cross-platform binary and shell integration for bash/zsh/fish/pwsh
Instant fuzzy lookup of user workspaces and repos using a single zoxide query command.
- Resolves fuzzy project names to absolute paths in milliseconds
Widely adopted, actively maintained MIT-licensed Rust project (ajeetdsouza/zoxide).
- Popular GitHub repository with active maintenance
Clear README, man pages, and --help covering query, add, remove, and init.
- Documented subcommands and man pages in upstream repo
Security, Auth & Guardrails
None required; stores directory frecency database in ~/.local/share/zoxide/db.zo.
100% free, offline, and open-source (MIT).
# zoxide Agent Rules - NEVER pass `-i` (`--interactive`) to `zoxide query`—it spawns `fzf` and blocks non-TTY shells. - Prefer `zoxide query -l -s <term>` to verify ambiguous matches before `cd`ing.
Agent-Ready Command Recipes
Safe Read-Only Queries
zoxide query followcli
Returns the highest-ranked matching directory path on stdout without modifying the database.
zoxide query -l -s
Prints all matching paths alongside numeric frecency scores (-s) for unambiguous selection.
Controlled Writes & Previews
zoxide add /path/to/project
Updates zoxide's local index with a known project path without touching project files.
Strengths for Agents
- +
zoxide queryandzoxide query -l -sresolve fuzzy project directories cleanly without interactive prompts. - + Zero-risk read-only queries with millisecond Rust startup.
Caveats & Pitfalls
- ! Passing
-ilaunchesfzfand hangs non-TTY agent shells. - ! No
--jsonoutput;query -l -semits whitespace-separated scores and paths.