ranger
$ ranger Community Med Riskranger 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.
brew install ranger Standard shell tools (fd, eza, stat) are far faster and cleaner for agents than interactive ranger or MCP wrappers.
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
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
Local-only filesystem access; supports --clean to ignore user plugins, though TUI commands can rename, move, or delete files.
- Supports
--cleansafe startup mode; interactive commands can mutate local files
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
Great for Vim users browsing directories interactively, but provides minimal value over ls/fd in automated agent workflows.
- Designed for keyboard-driven human browsing
Long-standing GPL-3.0 open-source project (ranger/ranger) with slower release cadence.
- Mature GitHub repository with broad distro packaging
Includes comprehensive man page (man ranger), --help, and official GitHub wiki.
- Detailed man page and in-repo documentation
Security, Auth & Guardrails
None required; stores config, bookmarks, and tags in ~/.config/ranger/ and ~/.local/share/ranger/.
100% free, offline, and open-source (GPL-3.0).
# 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
ranger --version
Prints the installed ranger and Python versions and exits without opening the curses TUI.
ranger --list-tagged-files='*'
Prints file paths tagged in ~/.local/share/ranger/tagged read-only and exits immediately.
Strengths for Agents
- +
--list-tagged-filesand--versionexit cleanly without starting the TUI. - +
--cleanisolates execution from customrc.confandscope.shhooks.
Caveats & Pitfalls
- ! Default invocation opens a full-screen curses TUI that hangs non-TTY agent commands.
- ! Not natively supported on Windows outside WSL.