rg
Files
SKILL.mdagentsreferencesscripts
Install
Install only this skill with npx skills
npx skills add alisonaquinas/llm-shared-skills --skill 'rg' -g -y
Install the containing skill bundle
/plugin install shared-skills@llm-skills
This skill is bundled inside shared-skills. Use
npx skills when you only want this skill, or install the bundle once to make every included skill available through the plugin marketplace flow. Browse the full skill bundle repository at github.com/alisonaquinas/llm-shared-skills.Invoke
Invoke this skill after installation
/shared-skills:rg
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.