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

nnn

$ nnn Community Med Risk
jarun · Files & Search · BSD-2-Clause · macos / linux

nnn is a tiny, zero-bloat C terminal file manager offering disk usage (-S), detail view (-d), and shell plugin hooks. Because nnn immediately opens an interactive ncurses TUI, headless agents should use dua/ncdu for disk usage or fd/eza for listing.

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

Use fd, eza, or dysk/dua instead of interactive nnn or heavy MCP wrappers for agent filesystem tasks.

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

Interactive ncurses TUI hangs non-TTY agent shells and lacks --json output; only -V and -h exit cleanly without a terminal.

  • Interactive ncurses TUI requires TTY input
  • Only -V and -h execute headlessly
Trust & Safety 18 / 25

Operates purely on local files without credentials, though interactive keys (x delete, r rename) and plugins can modify or delete files.

  • Local filesystem tool with optional trash-cli integration
Setup & Portability 13 / 15

Tiny C binary packaged across macOS (brew install nnn) and nearly all Linux distros; Windows requires WSL/Cygwin.

  • POSIX ncurses dependency limits native Windows builds
Utility & Efficiency 7 / 15

Remarkably fast for human terminal navigation, but offers little utility to headless coding agents.

  • Built around interactive single-keystroke navigation
Maintenance & Lineage 8 / 10

Well-maintained BSD-2-Clause C project (jarun/nnn) with stable releases.

  • Established jarun/nnn upstream project
Docs & Verifiability 7 / 10

Detailed nnn(1) man page and GitHub wiki covering flags and plugin configuration.

  • Comprehensive man page and wiki

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; stores session state and plugins under ~/.config/nnn/.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

100% free, offline, and open-source (BSD-2-Clause).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# nnn Agent Rules
- NEVER run `nnn` (or `nnn -S`) in a non-TTY agent shell—it enters an interactive ncurses TUI.
- Only run `nnn -V` or `nnn -h` for diagnostics; use `dua` or `gdu -n -o -` for headless disk usage.

Agent-Ready Command Recipes

Safe Read-Only Queries

Print nnn version and compiled options
nnn -V

Displays the nnn version string and exits immediately without opening the ncurses TUI.

Strengths for Agents

  • + Minimal C footprint with instant -V / -h diagnostic output.
  • + Rich plugin ecosystem and -S disk usage view for human terminal sessions.

Caveats & Pitfalls

  • ! Interactive ncurses TUI blocks non-TTY agent subshells.
  • ! No --json output or non-interactive listing mode.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI