Fast file-name and content search using `fd` and `rg` (ripgrep).
Install with the open skills CLI (global, non-interactive — available in every Claude Code session):
npx skills add LeoYeAI/openclaw-master-skills --skill "file-search" -g -a claude-code -yOr manually — clone and copy the skill directory (SKILL.md + companion files):
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills /tmp/openclaw-master-skills && cp -r /tmp/openclaw-master-skills/skills/file-search ~/.claude/skills/file-search-leoyeaiThis skill is a directory: SKILL.md is the entry point; the files below ship with it.
---
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:
```bash
fd "\.rs$" /home/xrx/projects
```
Find files by exact name:
```bash
fd -g "Cargo.toml" /home/xrx/projects
```
## Search File Contents
Search for a regex pattern across files:
```bash
rg "TODO|FIXME" /home/xrx/projects
```
Search with context lines:
```bash
rg -C 3 "fn main" /home/xrx/projects --type rust
```
## Install
```bash
sudo dnf install fd-find ripgrep
```
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Use when executing implementation plans with independent tasks in the current session