Ripgrep
Use when searching text in files, codebases, books, or documents. Use when finding files by pattern, searching large files that are too big to read fully, extracting specific content from many files, or when grep/find is too slow. Triggers on "search for", "find occurrences", "look for pattern", "search in files".
Install
npx skills add ratacat/claude-skills --skill ripgrepgit clone --depth 1 https://github.com/ratacat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/ripgrep ~/.claude/skills/ripgrepPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Ripgrep (rg) - Fast Text Search Tool ## Overview Ripgrep is a line-oriented search tool that recursively searches directories for regex patterns. It's **10-100x faster than grep** and respects `.gitignore` by default. Use it instead of grep, find, or manually reading large files. **Core principle:** When you need to find text in files, use ripgrep. Don't read entire files into context when you can search them. ## When to Use **Use ripgrep when:** - Searching for text patterns across a codebase or directory - Finding all occurrences of a function, variable, or string - Searching through books, documentation, or large text files - Files are too large to read fully into context - Looking for specific content in many files at once - Finding files that contain (or don't contain) certain patterns - Extracting matching lines for analysis **Don't use when:** - You need the full file content (use Read tool) - Simple glob pattern matching for filenames only (use Glob tool) - You need structured data extraction (consider jq, awk) ## Quick Reference | Task | Command | |------|---------| | Basic search | `rg "pattern" [path]` | | Case insensitive | `rg -i "pattern"` | | Smart case (auto) | `rg -S "pattern"` | | Whole word only | `rg -w "word"` | | Fixed string (no regex) | `rg -F "literal.string"` | | Show context lines | `rg -C 3 "pattern"` (3 before & after) | | Show line numbers | `rg -n "pattern"` (default in tty) | | Only filenames | `rg -l "pattern"` |
Details
- Skill name
ripgrep- Repository
- ratacat/claude-skills
- Path
skills/ripgrep/SKILL.md- Repo updated
- 11 February 2026
FAQ
What does the Ripgrep skill do?
Use when searching text in files, codebases, books, or documents. Use when finding files by pattern, searching large files that are too big to read fully, extracting specific content from many files, or when grep/find is too slow. Triggers on "search for", "find occurrences", "look for pattern", "search in files".
How do I install the Ripgrep skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add ratacat/claude-skills --skill ripgrep. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Ripgrep popular?
It lives in ratacat/claude-skills, which has 59 GitHub stars and 10 forks.
Related skills
Skill Creator
59ratacat/claude-skills
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.
Skill Installer
59ratacat/claude-skills
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).
Agent Browser
59ratacat/claude-skills
Browser automation using Vercel's agent-browser CLI. Use when you need to interact with web pages, fill forms, take screenshots, or scrape data. Alternative to Playwright MCP - uses Bash commands with ref-based element selection. Triggers on "browse website", "fill form", "click button", "take screenshot", "scrape page", "web automation".
Writing Documentation
59ratacat/claude-skills
Produces concise, clear documentation by applying Elements of Style principles. Use when writing or improving any technical documentation (READMEs, guides, API docs, architecture docs). Not for code comments.
Release Docs
59ratacat/claude-skills
Build and update the documentation site with current plugin components
Writing Skills
59ratacat/claude-skills
Use when user asks to create, write, edit, or test a skill. Also use when documenting reusable techniques, patterns, or workflows for future Claude instances.
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.