skim
$ sk Community Low Riskskim (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.
brew install sk Fuzzy line ranking over stdin pipes belongs in shell tools (sk --filter), not MCP.
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
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 --filterbatch mode exits immediately with ranked lines- Default interactive mode blocks waiting for TTY input
Read-only stdin filtering by default, though -c interactive command execution and --preview execute shell subcommands if configured.
- Safe in
--filtermode;--preview/-crun shell commands
Compiled Rust binary via Homebrew, cargo install skim, and distro packages on macOS and Linux.
- Fast Rust binary across Unix-like systems
Fast Rust fuzzy matcher with regex/exact syntax and interactive -i -c mode for humans.
- Low-latency fuzzy matching over large lists
Maintained under the skim-rs GitHub organization with MIT license.
- Active
skim-rs/skimrepository
Documented in README and man pages covering --filter, --regex, and keybindings.
- README and
sk --helpdocumentation
Security, Auth & Guardrails
None required; filters stdin lines or directory output.
100% free, offline, and open-source (MIT).
# 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
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
skwithout--filteropens an interactive TTY UI that stalls headless agents. - ! No
--jsonoutput and no native Windows support.