Greprip
Description
Transparent grep/find → rg/fd translators for LLM coding agents
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
greprip
Transparent drop-in replacements for `grep` and `find` that use the faster Rust alternatives (`rg` and `fd`).
Goal
LLM coding agents like [Pi](https://pi.dev) default to using `grep` and `find` because they're universal POSIX tools. But modern Rust alternatives like `ripgrep` and `fd` are significantly faster.
**greprip** solves this by providing `grg` and `fnd` commands that:
- Accept
grep/findsyntax - Translate arguments to
rg/fdequivalents - Execute the faster tool transparently
This gives you the speed benefits of modern tools without requiring the LLM to know about them.
Setup with Pi
1. Install dependencies
# Install rg and fd (macOS)
brew install ripgrep fd
# Install greprip
uv tool install git+https://github.com/kaofelix/greprip
2. Configure Pi
Add to `~/.pi/agent/settings.json`:
{
"shellCommandPrefix": "grep() { grg \"$@\"; }; find() { fnd \"$@\"; };"
}
3. Restart Pi
Start a new session. Now when the agent runs `grep` or `find`, it transparently uses `rg`/`fd`.
Verify it's working:
type grep # Should show: grep is a function
grep --version # Should show: ripgrep X.X.X
Supported Flags
grg (grep → rg)
| Category | Flags |
|---|---|
| Basic | -i, -n, -v, -w, -l, -c, -o, -h, -H |
| Recursive | -r, -R (dropped - rg default) |
| Regex | -E (dropped - rg default), -F, -P |
| Context | -A NUM, -B NUM, -C NUM, -NUM |
| Patterns | -e PATTERN, -f FILE |
| Filters | --include=, --exclude=, --exclude-dir= |
| Output | --color, -q, -s |
fnd (find → fd)
| Category | Options |
|---|---|
| Name | -name, -iname |
| Type | -type f/d/l |
| Depth | -maxdepth, -mindepth |
| Output | -print, -print0 |
| Exclude | ! -name, -path ... -prune |
| Execute | -exec {} \;, -exec {} + |
| Symlinks | -L |
Direct Usage
Without Pi integration, you can use the tools directly:
`
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI