[FEATURE] make tools like ripgrep and fdfind a first class citizen

Resolved 💬 1 comment Opened Apr 29, 2026 by paulo-digi Closed May 31, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Tools like fd and ripgrep are much faster than find and grep.

Even though I have added this section to CLAUDE.md, in several cases claude-code continues to ignore those instructions and just use old plain find and grep.

## Shell tool preferences

- For file/directory searches: try `fd`, then `fdfind`, then `find` as a last resort.
- Use `rg` (ripgrep) instead of `grep` for content searches.

Those tools are much faster and are well supported.

Some examples of shell commands I've seen claude do, ignoring the instructions

find ~/git/ -name "*.sh" | xargs grep -l "ticket"
find ~/git/ -type f | grep -iv "meta\|\.pyc\|__pycache__" | grep -E "tpm" -i | sort
etc...

Proposed Solution

I'd like for claude-code to never invoke grep or find when it can invoke rg and fd (or fdfind in some platforms)

Alternative Solutions

_No response_

Priority

Low - Nice to have

Feature Category

File operations

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗