← 返回 Skills 市场
3410
总下载
1
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install fd-find
功能描述
A fast and user-friendly alternative to 'find' - simple syntax, smart defaults, respects gitignore.
使用说明 (SKILL.md)
fd - Fast File Finder
User-friendly alternative to find with smart defaults.
Quick Start
Basic search
# Find files by name
fd pattern
# Find in specific directory
fd pattern /path/to/dir
# Case-insensitive
fd -i pattern
Common patterns
# 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
Advanced Usage
Filtering
# 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
Execution
# 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
Regex patterns
# Full regex search
fd '^test.*\.js$'
# Match full path
fd --full-path 'src/.*/test'
# Glob pattern
fd -g "*.{js,ts}"
Time-based filtering
# Modified within last day
fd --changed-within 1d
# Modified before specific date
fd --changed-before 2024-01-01
# Created recently
fd --changed-within 1h
Size filtering
# Files larger than 10MB
fd --size +10m
# Files smaller than 1KB
fd --size -1k
# Specific size range
fd --size +100k --size -10m
Output formatting
# 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
Common Use Cases
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
Integration with other tools
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
Performance Tips
fdis typically much faster thanfind- Respects
.gitignoreby default (disable with-I) - Uses parallel traversal automatically
- Smart case: lowercase = case-insensitive, any uppercase = case-sensitive
Tips
- Use
-tfor type filtering (f=file, d=directory, l=symlink, x=executable) -efor extension is simpler than-g "*.ext"{}in-xcommands represents the found path{.}strips the extension{/}gets basename,{//}gets directory
Documentation
GitHub: https://github.com/sharkdp/fd
Man page: man fd
安全使用建议
This skill is coherent and matches the fd utility. It's instruction-only and asks for nothing sensitive. Before installing/using: (1) be aware examples include destructive commands (rm -x, xargs rm) — only run commands you trust; (2) installing via apt may require sudo on Linux; (3) confirm you want the agent to run shell commands (if you restrict autonomous actions, avoid allowing the agent to invoke skills that execute destructive commands without explicit confirmation). If you only need help with examples/docs, no install or credentials are required.
功能分析
Type: OpenClaw Skill
Name: fd-find
Version: 1.0.0
The skill bundle provides documentation and usage examples for the `fd` command-line utility. All instructions and code snippets demonstrate legitimate uses of `fd` for file searching and common file operations (e.g., copying, deleting, processing with other tools like `convert`, `wc`, `ripgrep`). There is no evidence of prompt injection against the agent, data exfiltration, malicious execution, or any other intentional harmful behavior. The installation instructions in `SKILL.md` use standard package managers (`brew`, `apt`).
能力评估
Purpose & Capability
The name/description (fd - fast file finder) match the SKILL.md content. The instructions exclusively show usage of fd and common Unix tools. The SKILL.md metadata sensibly declares the fd binary and provides platform-appropriate install hints (brew formula 'fd', apt package 'fd-find').
Instruction Scope
Instructions stay within the tool's scope (searching and operating on files). They include examples that run arbitrary commands on results (rm, cp, convert, xargs, -x) — this is expected for a find/ fd helper but is potentially destructive if executed unintentionally. The skill does not instruct reading unrelated system files or environment variables.
Install Mechanism
This is instruction-only (no code files). The embedded install hints use well-known package managers (Homebrew and apt) and package names that match the project; no downloads from untrusted URLs or extraction of arbitrary archives are present.
Credentials
The skill declares no required environment variables, credentials, or config paths and the instructions do not reference any secrets or unrelated environment variables.
Persistence & Privilege
The skill does not request always-on inclusion; default autonomous invocation is permitted by platform policy but the skill itself does not elevate privileges or modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fd-find - 安装完成后,直接呼叫该 Skill 的名称或使用
/fd-find触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the fd-find skill.
- Find files and directories quickly with smart defaults and simple commands.
- Supports advanced filtering by extension, type, size, time, and patterns.
- Integration examples provided for ripgrep, fzf, and bat.
- Respects .gitignore by default and supports parallel file traversal.
- Includes quick start, common use cases, and performance tips.
元数据
常见问题
Fd Find 是什么?
A fast and user-friendly alternative to 'find' - simple syntax, smart defaults, respects gitignore. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3410 次。
如何安装 Fd Find?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fd-find」即可一键安装,无需额外配置。
Fd Find 是免费的吗?
是的,Fd Find 完全免费(开源免费),可自由下载、安装和使用。
Fd Find 支持哪些平台?
Fd Find 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Fd Find?
由 Arnarsson(@arnarsson)开发并维护,当前版本 v1.0.0。
推荐 Skills