ripgrep
Installation
SKILL.md
ripgrep
Prefer rg over grep for text search, and prefer rg --files over find | grep when the real task is path discovery.
Verified locally against ripgrep 15.1.0 on April 10, 2026. The skill is repo-agnostic, but the examples assume a Unix-like shell and an rg binary in PATH.
Decision Tree
What kind of search do you need?
-
Search file contents for text, symbols, regexes, or literals
- Start with
rg - Read
references/commands.md
- Start with
-
Find filenames or paths without reading file contents
- Start with
rg --files [path] - Then filter that list with a second
rgif needed - Read
references/patterns.md
- Start with