A fast and user-friendly alternative to 'find' - simple syntax, smart defaults, respects gitignore.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install fd-find或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install fd-find⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/fd-find/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: fd-find description: A fast and user-friendly alternative to 'find' - simple syntax, smart defaults, respects gitignore. homepage: https://github.com/sharkdp/fd metadata: {"clawdbot":{"emoji":"📂","requires":{"bins":["fd"]},"install":[{"id":"brew","kind":"brew","formula":"fd","bins":["fd"],"label":"Install fd (brew)"},{"id":"apt","kind":"apt","package":"fd-find","bins":["fd"],"label":"Install fd (apt)"}]}} ---
User-friendly alternative to find with smart defaults.
# Find files by name
fd pattern
# Find in specific directory
fd pattern /path/to/dir
# Case-insensitive
fd -i pattern
# Find all Python files
fd -e py
# Find multiple extensions
fd -e py -e js -e ts
# Find directories only
fd -t d pattern
# Find files only
fd -t f pattern
# Find symlinks
fd -t l
# Exclude patterns
fd pattern -E "node_modules" -E "*.min.js"
# Include hidden files
fd -H pattern
# Include ignored files (.gitignore)
fd -I pattern
# Search all (hidden + ignored)
fd -H -I pattern
# Maximum depth
fd pattern -d 3
# Execute command on results
fd -e jpg -x convert {} {.}.png
# Parallel execution
fd -e md -x wc -l
# Use with xargs
fd -e log -0 | xargs -0 rm
# Full regex search
fd '^test.*\.js$'
# Match full path
fd --full-path 'src/.*/test'
# Glob pattern
fd -g "*.{js,ts}"
# Modified within last day
fd --changed-within 1d
# Modified before specific date
fd --changed-before 2024-01-01
# Created recently
fd --changed-within 1h
# Files larger than 10MB
fd --size +10m
# Files smaller than 1KB
fd --size -1k
# Specific size range
fd --size +100k --size -10m
# Absolute paths
fd --absolute-path
# List format (like ls -l)
fd --list-details
# Null separator (for xargs)
fd -0 pattern
# Color always/never/auto
fd --color always pattern
Find and delete old files:
fd --changed-before 30d -t f -x rm {}
Find large files:
fd --size +100m --list-details
Copy all PDFs to directory:
fd -e pdf -x cp {} /target/dir/
Count lines in all Python files:
fd -e py -x wc -l | awk '{sum+=$1} END {print sum}'
Find broken symlinks:
fd -t l -x test -e {} \; -print
Search in specific time window:
fd --changed-within 2d --changed-before 1d
With ripgrep:
fd -e js | xargs rg "pattern"
With fzf (fuzzy finder):
vim $(fd -t f | fzf)
With bat (cat alternative):
fd -e md | xargs bat
fd is typically much faster than find.gitignore by default (disable with -I)-t for type filtering (f=file, d=directory, l=symlink, x=executable)-e for extension is simpler than -g "*.ext"{} in -x commands represents the found path{.} strips the extension{/} gets basename, {//} gets directoryGitHub: https://github.com/sharkdp/fd Man page: man fd
安装 Fd Find 后,可以对 AI 说这些话来触发它
Help me get started with Fd Find
Explains what Fd Find does, walks through the setup, and runs a quick demo based on your current project
Use Fd Find to a fast and user-friendly alternative to 'find' - simple syntax, sma...
Invokes Fd Find with the right parameters and returns the result directly in the conversation
What can I do with Fd Find in my finance & investment workflow?
Lists the top use cases for Fd Find, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/fd-find/ 目录(个人级,所有项目可用),或 .claude/skills/fd-find/(项目级)。重启 AI 客户端后,用 /fd-find 主动调用,或让 AI 根据上下文自动发现并使用。
Fd Find 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Fd Find 可免费安装使用。请查阅仓库了解许可证信息。
A fast and user-friendly alternative to 'find' - simple syntax, smart defaults, respects gitignore.
Fd Find 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Fd Find
Identifies repetitive steps in your workflow and sets up Fd Find to handle them automatically