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

Yazi

$ yazi Community Med Risk
sxyazi · Files & Search · MIT · macos / linux / windows

Yazi (yazi) is an async Rust terminal file manager with image/code previews, bulk rename, and Lua plugins, paired with the ya IPC CLI. Because yazi always launches an interactive full-screen TUI event loop, coding agents should use fd or eza for non-interactive filesystem queries.

FCRS-1.0 Score
64 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install yazi
CLI vs MCP Decision CLI Preferred vs MCP

For coding agents, headless fd and eza outperform both interactive yazi and filesystem MCP wrappers.

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

Primary yazi binary enters an interactive full-screen TUI that blocks non-TTY agent shells; only --version, --debug, and ya IPC work headlessly.

  • Interactive full-screen TUI hangs non-TTY subshells
  • Companion ya CLI provides plugin/IPC helpers
Trust & Safety 18 / 25

Local-only filesystem tool with trash-by-default deletion in the TUI, though interactive bulk-rename and permanent-delete hotkeys carry mutation risk.

  • TUI supports copy, move, bulk rename, and file deletion
Setup & Portability 14 / 15

Packaged via brew install yazi, cargo install, and prebuilt binaries for macOS, Linux, and Windows.

  • Cross-platform static Rust builds with optional preview dependencies
Utility & Efficiency 8 / 15

Outstanding human terminal file manager, but unsuitable for automated headless agent file discovery.

  • Built for interactive keyboard navigation rather than stdout scripting
Maintenance & Lineage 8 / 10

Very actively maintained MIT-licensed Rust project (sxyazi/yazi).

  • Frequent releases and active plugin ecosystem
Docs & Verifiability 6 / 10

Well-organized documentation at yazi-rs.github.io, primarily focused on TUI keybindings and Lua plugin APIs.

  • Official docs site and --help output

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; stores local configuration and Lua plugins under ~/.config/yazi/.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

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

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Yazi Agent Rules
- NEVER launch bare `yazi` in a non-TTY agent shell—it opens a full-screen TUI and hangs.
- Use `fd`, `eza`, or `ls` for programmatic directory listing; only run `yazi --debug` or `yazi --version` for diagnostics.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect Yazi version and environment diagnostics
yazi --debug

Prints Yazi version, OS, terminal, and external dependency status non-interactively without launching the TUI.

Strengths for Agents

  • + yazi --debug exits immediately with clear dependency and environment diagnostics.
  • + Companion ya CLI manages Lua plugin packages cleanly (ya pkg).

Caveats & Pitfalls

  • ! Interactive TUI hangs non-TTY agent shells; use fd or eza for directory inspection.
  • ! No --json directory listing output.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI