/hatch3r:hatch3r-cli-fzffrom hatch3r
Wraps fzf for interactive TTY pickers over piped stdin, with headless --filter mode for CI and agent-safe deterministic selection.
Ships in hatch3r. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Interactive fuzzy finder for TTY pickers
Before invoking fzf, resolve these via agents/shared/user-question-protocol.md (default behavior, not exception-driven):
fzf is the intended candidate set; a wrong upstream command silently changes what gets ranked.fzf only selects — it never mutates files. The real hazard is invoking interactive fzf (no --filter) in a non-TTY context (CI, agent loop): it blocks on stdin forever. Always use --filter headless mode from an autonomous agent; treat any downstream action on the selection (the command you pipe the pick into) under its own irreversibility check.--filter … | head -1 rather than relying on interactive choice.Tier 1 reference card — no fan-out. This skill is a single-tool usage reference an agent consults inline; it spawns no sub-agents. Fan-out is owned by the calling workflow per its own Fan-out Discipline block. Source: rules/hatch3r-fan-out-discipline.md (P8 B2).
Reach for fzf when the task is in the interactive category and the agent would otherwise call an MCP tool or read large outputs into context.
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB. Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
fzf --filter 'auth' < paths.txt
Headless mode — ranks lines by fuzzy match score and prints them in order; no TTY needed. This is the agent-safe entrypoint.
git branch --format='%(refname:short)' | fzf --filter main
Score branch names against main; pipe to head -1 to pick the best match deterministically.
rg -l 'TODO' . | fzf --filter 'src/cli'
Re-rank a ripgrep file list by proximity to a fuzzy hint; combine with head for a deterministic top pick.
fzf --filter 'auth' --print0 < paths.txt | xargs -0 wc -l
Stream NUL-delimited matches to a downstream pipeline — safe across filenames with spaces.
fzf < paths.txt
Interactive picker — only useful in a human TTY; do not call this form from an autonomous agent.
fzf will hang on stdin; always use --filter headless mode.fzf is character-level fuzzy; reach for an embedding-based tool.grep -F or rg --files | head would already return the right answer — no need to layer scoring on top.| Tool | When to prefer |
|---|---|
skim (sk) | Need a Rust binary with similar fuzzy scoring and the same --filter headless mode. |
rg --files | head | Already filtered; want stable lexicographic order rather than fuzzy ranking. |
grep -F | Exact substring match; no scoring needed. |
Verify with:
command -v fzf
Install (macOS):
# brew
brew install fzf
Install (Linux):
# apt
sudo apt install fzf
Install (Windows):
# scoop
scoop install fzf
Homepage: https://github.com/junegunn/fzf
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
55 skills in this plugin
/hatch3r-a11y-auditRuns a WCAG AA accessibility audit with findings and fixes across 7 scan categories (keyboard, contrast, ARIA, reduced motion, screen reader, high contrast, automated axe). Use when auditing and remediating accessibility./hatch3r-adhoc-orchestrateScaffolds the ad-hoc Tier >= 2 orchestration protocol -- Per-Turn Pipeline-State Header, implementer delegation plan, End-of-Turn Delegation Attestation. Use for a multi-phase task with no registered command to avoid inline-implementation bypass mode./hatch3r-ai-featureEval-driven development workflow for shipping AI features — write eval before prompt, measure, iterate, ship with caching + cost telemetry + model fallback + hallucination SLIOther plugins' skills for the same job