file-search
Skill17 starsChanged 9 months agoMITView on GitHub
Fast file and text search across the codebase. Use when you need to find files by name, search code by content, locate definitions, find usages/imports, or explore project structure. Triggers on "find file", "search for", "where is", "grep for", "locate", "find definition", "find usage", "search codebase", "find all references".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- netresearch/file-search-skilltheir own version, first seen Sep 30, 2026
- code-firefly/my-claw-skillstheir own version, first seen Mar 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- netresearch/file-search-skill★ 40same name
- code-firefly/my-claw-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- manage-skillsSkill
- manage-hooksSkill
- create-meta-promptsSkill
- create-plansSkill
- create-subagentsSkill
- damage-controlSkill
- debug-like-expertSkill
- docs-masterSkill
- generate-imagesSkill
- generate-prdSkill
- gitSkill
- manage-slash-commandsSkill
- pytest-best-practicesSkill
- ralph-convert-prdSkill
- ralph-orchestratorSkill
- spec-interviewSkill
- sqlalchemy-postgresSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Use quotes for exact phrases: search for "database connection pool"
- Distinctive: line 42
No false positives — every result was verified by a tool call </success_criteria>
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<objective>
Execute fast, thorough file and text searches across the codebase using a lightweight haiku agent. Returns precise results with file paths, line numbers, and context — never modifies files.
</objective><search_modes> This skill handles all search types automatically based on input:
| Input Pattern | Search Mode | What Happens |
| File name or glob pattern | File search | Finds files by name/pattern across the project |
| Text string or regex | Content search | Greps file contents for matches |
| Function/class/type name | Definition search | Finds where something is defined + its signature |
| "usages of X" / "who calls X" | Usage search | Finds all imports and call sites |
| "imports of X" | Import search | Finds all files that import a module |
| Directory path or "structure" | Structure exploration | Maps directory layout and key files |
| "related to X" | Related files | Finds dependencies and dependents of a file |
The agent runs multiple search strategies in parallel and cross-references results for completeness. </search_modes>
<tips>
- Be specific: "find where UserService is defined" beats "find UserService"
- Include file type hints: "find login handler in Python files"
- Use quotes for exact phrases: search for "database connection pool"
- Scope by directory: "search for auth middleware in src/api/"
- Chain searches: "find all files that import from utils/auth"
</tips><success_criteria>
- Returns file paths with line numbers for all matches
- Exhausts multiple search strategies before reporting "not found"
- Results are ordered by relevance
- No false positives — every result was verified by a tool call </success_criteria>
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

