AGENT SKILL

file-search

Fast file-name and content search using `fd` and `rg` (ripgrep).

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

name
file-search
metadata
{ "openclaw": { "emoji": "?", "install": [ { "id": "dnf-fd", "bins": [ "fd" ], "kind": "dnf", "label": "Install fd-find (dnf)", "package": "fd-find" }, { "id": "dnf-rg", "bins": [ "rg" ], "kind": "dnf", "label": "Install ripgrep (dnf)", "package": "ripgrep" } ], "requires": { "bins": [ "fd", "rg" ] } } }
description
Fast file-name and content search using `fd` and `rg` (ripgrep).

02 资源文件 2

03 SKILL.md 正文

File Search Skill

Fast file-name and content search using fd and rg (ripgrep).

Find Files by Name

Search for files matching a pattern:

fd "\.rs$" /home/xrx/projects

Find files by exact name:

fd -g "Cargo.toml" /home/xrx/projects

Search File Contents

Search for a regex pattern across files:

rg "TODO|FIXME" /home/xrx/projects

Search with context lines:

rg -C 3 "fn main" /home/xrx/projects --type rust

Install

sudo dnf install fd-find ripgrep

04 同仓库更多 Skills