🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

File Search

by @xejrax

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

Versionv1.0.0
Downloads15,410
Installs167
Stars⭐ 19
TERMINAL
clawhub install file-search

πŸ“– About This Skill


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

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