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

skim

$ sk Community Low Risk
skim-rs · Files & Search · MIT · macos / linux

skim (sk) is a Rust-based general-purpose fuzzy finder inspired by fzf, supporting multi-select, live command mode (-i -c), and shell bindings. Like fzf, bare sk opens an interactive TTY UI, so headless agents must invoke sk --filter <query> (or -f) exclusively.

FCRS-1.0 Score
80 /100
Good
Medium Confidence
Zero-Friction Install
brew install sk
CLI vs MCP Decision CLI Only

Fuzzy line ranking over stdin pipes belongs in shell tools (sk --filter), not MCP.

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

Supports --filter (-f) non-interactive ranking and --no-color/--color=bw, though default mode is a blocking TTY UI and there is no --json.

  • sk --filter batch mode exits immediately with ranked lines
  • Default interactive mode blocks waiting for TTY input
Trust & Safety 24 / 25

Read-only stdin filtering by default, though -c interactive command execution and --preview execute shell subcommands if configured.

  • Safe in --filter mode; --preview/-c run shell commands
Setup & Portability 14 / 15

Compiled Rust binary via Homebrew, cargo install skim, and distro packages on macOS and Linux.

  • Fast Rust binary across Unix-like systems
Utility & Efficiency 12 / 15

Fast Rust fuzzy matcher with regex/exact syntax and interactive -i -c mode for humans.

  • Low-latency fuzzy matching over large lists
Maintenance & Lineage 8 / 10

Maintained under the skim-rs GitHub organization with MIT license.

  • Active skim-rs/skim repository
Docs & Verifiability 7 / 10

Documented in README and man pages covering --filter, --regex, and keybindings.

  • README and sk --help documentation

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; filters stdin lines or directory output.

Side Effects
Read-Only
Cost & Quotas

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

Copyable Guardrail for CLAUDE.md / AGENTS.md
# skim (sk) Agent Rules
- NEVER invoke `sk` without `--filter <query>` (`-f`); interactive mode grabs `/dev/tty` and hangs non-TTY agent shells.
- Avoid `--preview` or `-c` shell-execution hooks with untrusted filenames; prefer `rg`/`fd` for exact deterministic searches.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run non-interactive fuzzy filter over stdin lines
fd -t f | sk --filter="session"

Ranks matching paths immediately via --filter without launching the interactive TUI.

Strengths for Agents

  • + sk --filter <query> enables fast, zero-TTY fuzzy ranking in pipelines.
  • + Single fast Rust binary with rich matching syntax (exact, regex, inverse).

Caveats & Pitfalls

  • ! Bare sk without --filter opens an interactive TTY UI that stalls headless agents.
  • ! No --json output and no native Windows support.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI