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

lsd

$ lsd Community Low Risk
lsd-rs · Files & Search · Apache-2.0 · macos / linux / windows

lsd (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.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install lsd
CLI vs MCP Decision CLI Preferred vs MCP

Direct lsd or eza invocations inspect local directories instantaneously without MCP serialization overhead.

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

Strictly non-interactive with --color never and --icon never flags, though it emits aligned plain text rather than --json.

  • --color never and --icon never strip visual noise
  • No --json output mode
Trust & Safety 25 / 25

Purely read-only directory listing with zero write, network, or credential actions.

  • Read-only filesystem metadata inspection
Setup & Portability 14 / 15

Cross-platform Rust binary available via brew install lsd, cargo install lsd, and GitHub releases.

  • Static binaries for macOS, Linux, and Windows
Utility & Efficiency 12 / 15

Clean ls and --tree --depth inspection, though eza adds --git-ignore filtering useful in large repos.

  • Combines long listing, --tree, and --depth
Maintenance & Lineage 8 / 10

Actively maintained Apache-2.0 project under lsd-rs/lsd.

  • Established community organization on GitHub
Docs & Verifiability 7 / 10

Clear README, man page, and --help detailing --color, --icon, --date, and --tree.

  • Well-documented CLI flags in repository README

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; reads local directory metadata only.

Side Effects
Read-Only
Cost & Quotas

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

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List directory cleanly without ANSI colors or icons
lsd -la --color never --icon never --date '+%Y-%m-%d %H:%M' .

Outputs deterministic directory metadata without Nerd Font glyphs or color escape codes.

Render bounded directory tree
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 never and --icon never for clean stdout.
  • + Supports --tree --depth and --date formatting in one fast binary.

Caveats & Pitfalls

  • ! No --json output and no built-in .gitignore filter (--git-ignore).
  • ! Default output includes Nerd Font icons unless --icon never is passed.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI