# Repgrep

> repgrep — interactive terminal UI for ripgrep search and replace

- Skill: `javimosch/repgrep` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/repgrep`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/repgrep/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/repgrep

---

# repgrep Plugin

repgrep (`rgr`) is an interactive terminal companion to ripgrep. It runs a ripgrep search, lets you review matches in a TUI, deselect any you want to skip, and then applies a replacement across all selected matches.

## Quickstart

```bash
# Search for a pattern, then interactively replace
rgr 'foo'

# Restrict the search to a file type
rgr --type rust 'old_name'

# Case-insensitive search
rgr -i 'todo'

# Search including hidden files
rgr --hidden 'secret'
```

In the TUI: navigate matches, press `Space` to toggle a match, enter your replacement text, and confirm to write the changes to disk. Requires ripgrep (`rg`) on PATH.

