Skip to content

Fast regex text search across files, directories, and large documents that replaces grep and find.

CCM score
50 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
8
skills.sh installs
429
GitHub stars
60
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers searching codebases, books, and documents by regex or literal pattern, with file-type, glob, depth, and size filters
  • Includes output modes such as -l, -c, -o, --json, and --vimgrep, plus context flags -A, -B, and -C
  • Respects .gitignore by default and offers -u, -uu, and -uuu to progressively disable ignore rules, hidden-file skipping, and binary skipping
  • Designed for finding occurrences in large files too big to read into context, or when grep and find run too slowly

Install

$ npx -y skills add ratacat/claude-skills --skill ripgrep -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/ratacat/claude-skills
Categories
CLI & Terminal, Code Review & Quality
First seen
Jun 3, 2026

Questions

What is the ripgrep skill for?

The ripgrep skill teaches Claude to search text in files, codebases, books, and documents with the rg command. It covers finding files by pattern, searching large files that are too big to read fully, and extracting specific content from many files at once.

How do I install the ripgrep skill?

Run npx -y skills add ratacat/claude-skills --skill ripgrep -y in your project. Once installed, the agent can use rg for regex searches, file type and glob filters, context lines, and match counts.

Where does ripgrep stand in the CLI and Terminal category?

Ripgrep is listed in the CLI and Terminal category on Claude Marketplaces, alongside herdr, gws-shared, opentui, cf-cli, and pnpm. It stands out for its guidance on searching large books and documents as well as codebases.

When should an agent use ripgrep instead of grep or find?

The skill says to use ripgrep when grep or find is too slow, and it respects .gitignore by default. It also advises against reading whole files into context when a search can locate the needed text.

More from ratacat/claude-skills

All 3

Similar to Ripgrep

More CLI & Terminal