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

ranger

$ ranger Community Med Risk
ranger · Files & Search · GPL-3.0 · macos / linux

ranger is a Python curses terminal file manager featuring Vim-inspired bindings, multi-column Miller views, and scope.sh preview scripts. Because ranger starts an interactive curses UI in normal invocation, headless agents should only run diagnostic flags or use fd/ls instead.

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

Standard shell tools (fd, eza, stat) are far faster and cleaner for agents than interactive ranger or 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 9 / 25

Interactive Python curses TUI blocks non-TTY shells and emits no --json output; only --version, --help, and --list-tagged-files exit cleanly.

  • Curses event loop requires a TTY
  • No structured JSON output
Trust & Safety 18 / 25

Local-only filesystem access; supports --clean to ignore user plugins, though TUI commands can rename, move, or delete files.

  • Supports --clean safe startup mode; interactive commands can mutate local files
Setup & Portability 13 / 15

Widely packaged on macOS and Linux via brew install ranger, pip install ranger-fm, and OS package managers, but not native Windows.

  • POSIX curses dependency limits native Windows support
Utility & Efficiency 7 / 15

Great for Vim users browsing directories interactively, but provides minimal value over ls/fd in automated agent workflows.

  • Designed for keyboard-driven human browsing
Maintenance & Lineage 7 / 10

Long-standing GPL-3.0 open-source project (ranger/ranger) with slower release cadence.

  • Mature GitHub repository with broad distro packaging
Docs & Verifiability 8 / 10

Includes comprehensive man page (man ranger), --help, and official GitHub wiki.

  • Detailed man page and in-repo documentation

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; stores config, bookmarks, and tags in ~/.config/ranger/ and ~/.local/share/ranger/.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

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

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ranger Agent Rules
- NEVER invoke bare `ranger` in an agent shell—its curses TUI requires a TTY and blocks.
- Only use `--version`, `--help`, or `--list-tagged-files` non-interactively; use `fd` or `ls` for directory traversal.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect ranger version and Python environment
ranger --version

Prints the installed ranger and Python versions and exits without opening the curses TUI.

List tagged files without launching the TUI
ranger --list-tagged-files='*'

Prints file paths tagged in ~/.local/share/ranger/tagged read-only and exits immediately.

Strengths for Agents

  • + --list-tagged-files and --version exit cleanly without starting the TUI.
  • + --clean isolates execution from custom rc.conf and scope.sh hooks.

Caveats & Pitfalls

  • ! Default invocation opens a full-screen curses TUI that hangs non-TTY agent commands.
  • ! Not natively supported on Windows outside WSL.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI