rg
$ brew install ripgrepCode search, fast grep, and agent codebase scans from the terminal.
- rg fits git & github well, especially for code search, fast grep, and agent codebase scans from the terminal.
- 52,932 homebrew installs (30d).
- Easy to automate.
- Good fit for coding-agent workflows and repeatable scripts.
- Output is mostly text-first, so verify results before scripting around it.
Rg guide
Code search, fast grep, and agent codebase scans from the terminal. Built by BurntSushi.
Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.
When to apply
- code search, fast grep, and agent codebase scans from the terminal.
- You need shell utilities in both local dev and CI.
- You need code search.
- You need fast grep.
- You need agent codebase scans.
Quick reference
brew install ripgreprg --versionrg TODO srcOpen CLI × skills.sh
Open CLI integrates rg with the right skills.sh companions so you get the tool and the workflow together.
Workflow Automation
Recommended pairingOpen CLI recommends this skills.sh skill because it fits shell utilities workflows. Turn repeated CLI sequences into cleaner, more reliable agent workflows.
$ npx skills add https://github.com/supercent-io/skills-template --skill workflow-automationUse rg together with the Workflow Automation skills.sh skill. Start with safe inspection commands, summarize what you find, and ask before any step with side effects.
Why this tool
- rg fits git & github well, especially for code search, fast grep, and agent codebase scans from the terminal.
- 52,932 homebrew installs (30d).
- Easy to automate.
Watch-outs
- Output is mostly plain text.
Example workflow
1. rg TODO srcSafe start
Install rg.
Run `rg --version` first.
Start with `rg TODO src`.
Install the CLI and make sure it is on your PATH.