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

lf

$ lf Community Med Risk
gokcehan · Files & Search · MIT · macos / linux / windows

lf (List Files) is a lightweight Go terminal file manager inspired by ranger, featuring single-binary speed and -remote client-server IPC. Bare lf launches an interactive TUI event loop that blocks non-TTY agents, though -remote can query or control an already-running lf server.

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

Direct fd or eza calls handle headless file discovery cleanly without lf's interactive TUI or MCP 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 10 / 25

Interactive TUI blocks non-TTY agent shells with no --json directory listing; -version, -help, and -remote IPC are the only headless entrypoints.

  • Bare lf enters a full-screen terminal UI
  • Supports -remote IPC to communicate with an active server
Trust & Safety 18 / 25

Purely local tool with no network/credentials; custom lfrc shell commands and TUI delete bindings can mutate local files.

  • Local filesystem scope; supports -config override
Setup & Portability 14 / 15

Single static Go binary available via brew install lf, go install, and GitHub releases across macOS, Linux, and Windows.

  • Zero runtime dependencies across all three desktop OSes
Utility & Efficiency 7 / 15

Ultra-fast TUI for human operators, but impractical as an automated agent filesystem tool compared to fd or ls.

  • Keyboard-centric interactive design
Maintenance & Lineage 7 / 10

Actively maintained MIT-licensed Go repository (gokcehan/lf).

  • Consistent upstream maintenance under MIT license
Docs & Verifiability 7 / 10

Detailed doc.md reference and -help flag documenting options and -remote commands.

  • Complete command reference in doc.md

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; reads user config from ~/.config/lf/lfrc.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

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

Copyable Guardrail for CLAUDE.md / AGENTS.md
# lf Agent Rules
- DO NOT run bare `lf` inside non-TTY agent shells—it launches a full-screen TUI.
- Use `fd`, `eza`, or `ls` for directory inspection; reserve `lf -remote` for active user-owned sessions.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check lf version non-interactively
lf -version

Prints the installed lf release version and exits immediately without starting the TUI.

Send a non-blocking command to an active lf instance
lf -remote 'send query pwd'

Demonstrates client-server -remote IPC against an already-running human lf session.

Strengths for Agents

  • + Single static Go binary with instant startup and -version diagnostic flag.
  • + -remote IPC lets scripts query or steer an active human lf session.

Caveats & Pitfalls

  • ! Launching bare lf hangs non-TTY agent shells in an interactive TUI.
  • ! No --json output or headless directory listing mode.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI