commit 69fa2352913feaec76bc38b0998320813190d246
parent 2c5420d8b8219d6ef408070d7f6321d7bba9903a
Author: Paul Adenot <paul@paul.cx>
Date: Wed, 7 Jan 2026 18:26:47 +0000
Bug 2008989 - Remove searchfox -q from CLAUDE.md. r=ai4dev-reviewers,suhaib
asuth prefers that it isn't used because it puts too much pressure on
the searchfox backend as things stand. Doing it prints a scary message,
but I see invoked too often, so let's remove it.
Differential Revision: https://phabricator.services.mozilla.com/D278160
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/AGENTS.md b/AGENTS.md
@@ -9,7 +9,6 @@ The Firefox repository is very big and so it isn't advised to blindly run grep o
```
searchfox-cli --define 'AudioContext::AudioContext' # get function impl
searchfox-cli --define 'AudioSink' # get class definition
-searchfox-cli -q blob --path ipdl # search for a string, restrict on path
searchfox-cli --id AudioSink -l 150 --cpp # search for identifier audio sink in C++ code, 150 results max
```
- Use the `searchfox-cli` tool except if you suspect that you need to find information about something that has changed locally, in which case use `rg` or the usual tools, since `searchfox.org` only indexes public (merged) code