Grep the workspace for a pattern using file_search.
Scanned 2/12/2026
Install to Claude Code
npx -y skills add majiayu000/claude-skill-registry --skill file-searcher --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of File Searcher?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-file-searcher)More formats (shields.io, HTML) on the badges page.
---
name: file-searcher
description: Grep the workspace for a pattern using file_search.
allowed-tools:
- file_search
---
## When to use
- User asks "where is X used/defined" or "find occurrences of pattern".
## Procedure
1) Translate the question into a concise regex pattern.
2) Call `file_search`:
- `pattern`: the regex
- optional `extensions`: narrow to `.cs,.md,.proto` etc
3) Return results as a short list: file + line + snippet.
4) If truncated, narrow the search (extensions / more specific pattern) and repeat.
No comments yet. Be the first to comment!