lsd
$ lsd Community Low Risklsd (LSDeluxe) is a fast Rust ls replacement offering tree rendering (--tree), recursive depth limits (--depth), and ISO timestamps (--date). For deterministic agent output without ANSI escapes or Nerd Font icons, pass --color never --icon never.
brew install lsd Direct lsd or eza invocations inspect local directories instantaneously without MCP serialization overhead.
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
Strictly non-interactive with --color never and --icon never flags, though it emits aligned plain text rather than --json.
--color neverand--icon neverstrip visual noise- No
--jsonoutput mode
Purely read-only directory listing with zero write, network, or credential actions.
- Read-only filesystem metadata inspection
Cross-platform Rust binary available via brew install lsd, cargo install lsd, and GitHub releases.
- Static binaries for macOS, Linux, and Windows
Clean ls and --tree --depth inspection, though eza adds --git-ignore filtering useful in large repos.
- Combines long listing,
--tree, and--depth
Actively maintained Apache-2.0 project under lsd-rs/lsd.
- Established community organization on GitHub
Clear README, man page, and --help detailing --color, --icon, --date, and --tree.
- Well-documented CLI flags in repository README
Security, Auth & Guardrails
None required; reads local directory metadata only.
100% free, offline, and open-source (Apache-2.0).
# lsd Agent Rules - Always pass `--color never --icon never` so Nerd Font glyphs and ANSI codes do not pollute token context. - Bound `--tree` with `--depth <n>`; note `lsd` does not auto-filter `.gitignore` like `eza --git-ignore` or `fd`.
Agent-Ready Command Recipes
Safe Read-Only Queries
lsd -la --color never --icon never --date '+%Y-%m-%d %H:%M' .
Outputs deterministic directory metadata without Nerd Font glyphs or color escape codes.
lsd --tree --depth 2 --color never --icon never src/
Displays a 2-level directory hierarchy read-only without flooding context.
Strengths for Agents
- + Strictly read-only with
--color neverand--icon neverfor clean stdout. - + Supports
--tree --depthand--dateformatting in one fast binary.
Caveats & Pitfalls
- ! No
--jsonoutput and no built-in.gitignorefilter (--git-ignore). - ! Default output includes Nerd Font icons unless
--icon neveris passed.