rg
Files
SKILL.mdagentsreferencesscripts
Install
Install the containing plugin
/plugin install shared-skills@llm-skills
Invoke this skill after installation
/shared-skills:rg
This skill is bundled inside shared-skills. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-shared-skills.
SKILL.md
name: rg description: Fast regex search with recursive directory support. Use when the agent needs to search, filter, or transform data efficiently.
Rg
Fast regex search with recursive directory support
Quick Start
- Verify
rgis available:rg --versionorman rg - Establish the command surface:
man rgorrg --help - Start with basic usage:
rg [options] [input]
Intent Router
references/install-and-setup.md— Installing rgreferences/cheatsheet.md— Common options and patternsreferences/advanced-usage.md— Advanced techniquesreferences/troubleshooting.md— Common errors and solutions
Core Workflow
- Verify rg is available:
rg --version - Test with sample data first
- Validate output before batch processing
- Document exact commands for reproducibility
Quick Command Reference
rg --version # Check version
rg --help # Show help
rg [options] [input] # Basic usage
man rg # Full manual
Safety Notes
| Area | Guardrail |
|---|---|
| Input validation | Verify input data format before processing. |
| Output handling | Validate output structure. |
| Large files | Test with smaller samples first. |
Source Policy
- Treat installed behavior and man page as truth.
Resource Index
scripts/install.sh— Install on macOS or Linux.scripts/install.ps1— Install on Windows or any platform.