跳到正文
TakoAPI
返回技能列表

fzf-fuzzy-finder

由 arnarsson 提供

Apple Apps & Services
2.0k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Command-line fuzzy finder for interactive filtering.

描述

该技能的功能

fzf is a general-purpose command-line fuzzy finder that filters any piped input interactively. It integrates with shell keybindings, git, vim, docker, and kubectl through standard Unix pipes.

It works through Unix pipes so it adds interactive fuzzy selection to any existing command without replacing the underlying tools.

何时使用

  • Searching shell command history with fuzzy matching
  • Selecting files to open in an editor without typing full paths
  • Checking out git branches by typing a name fragment
  • Killing a running process by searching ps output
  • Navigating into a nested directory without tab-completing each level

示例工作流

输入

User asks: open a file from the current project in vim with a syntax-highlighted preview

智能体
  1. 1

    Pipe the file list to fzf with --preview 'bat --color=always {}'

  2. 2

    User types a partial filename to narrow the results

  3. 3

    Preview window renders file contents for the highlighted entry

  4. 4

    User presses Enter to confirm the selection

  5. 5

    vim opens the chosen file

输出

vim opens the selected file directly from the fuzzy search result

安装

clawhub install arnarsson/fzf-fuzzy-finder

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接