Skip to content

NetFabric/NetFabric.Numerics / .agents/skills/ripgrep

ripgrep

Flagged

Search files and code with ripgrep (`rg`) after preferring available code-indexing tools. Use when: finding literal text or regex matches; listing searchable files; filtering by glob or file type; checking whether `rg` is installed; installing ripgrep on macOS, Linux, or Windows; replacing legacy text-search commands in agent workflows. ALWAYS prefer an available fresh code index for symbols, references, call paths, architecture, and impact analysis, then use `rg` for text search. NEVER use `grep`. DO NOT USE FOR: structural code questions already answered by an available index; modifying matched files; searching binary formats without a text preprocessor.

FileKindSize
SKILL.mdskill md3.2 KB
references/installation.mdmarkdown1.7 KB
references/usage.mdmarkdown2.8 KB

references/installation.md

View on GitHub
# Installation

## Check First

```bash
command -v rg
rg --version
```

`command -v rg` succeeds only when the `rg` executable is discoverable through `PATH`. The second command confirms that it runs and reports its version and enabled features.

## Install

Prefer the platform package manager. Do not install when `rg --version` already succeeds unless the user asks for an upgrade.

| Platform | Command |
| --- | --- |
| macOS / Linux with Homebrew | `brew install ripgrep` |
| macOS with MacPorts | `sudo port install ripgrep` |
| Debian / Ubuntu | `sudo apt-get install ripgrep` |
| Fedora | `sudo dnf install ripgrep` |
| Arch Linux | `sudo pacman -S ripgrep` |
| openSUSE | `sudo zypper install ripgrep` |
| Windows with WinGet | `winget install BurntSushi.ripgrep.MSVC` |
| Windows with Chocolatey | `choco install ripgrep` |
| Windows with Scoop | `scoop install ripgrep` |
| Rust toolchain | `cargo install ripgrep` |

Use a precompiled archive from the [official releases](https://github.com/BurntSushi/ripgrep/releases) when no listed package manager is available. Prefer a system package over compiling with Cargo unless a source build is required.

Commands requiring elevated privileges may prompt for credentials. Ask the user to run those commands directly when the environment cannot handle an interactive privilege prompt.

## Verify

```bash
command -v rg && rg --version
rg -F 'verification text' path/to/text-file
```

If installation succeeded but discovery fails, open a new shell or add the package manager's binary directory to `PATH`, then rerun both checks.

## Sources

- [Official ripgrep repository and installation guide](https://github.com/BurntSushi/ripgrep#installation)
- [Official ripgrep releases](https://github.com/BurntSushi/ripgrep/releases)
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall