Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
netresearch avatar

File Search

  • 337 installs
  • 31 repo stars
  • Updated August 2, 2026
  • netresearch/file-search-skill

file-search is a Claude Code skill that equips coding agents with fast, reliable project file discovery when developers navigate unfamiliar repos, locate symbols, or gather context before edits.

About

file-search is an agent skill from netresearch/file-search-skill that improves how coding agents find files, symbols, and project context in large or unfamiliar codebases. Instead of relying on slow or incomplete directory walks, the skill gives agents a dependable search workflow for locating definitions, configs, and related modules before proposing changes. Developers reach for file-search when onboarding to a new repository, debugging cross-package references, or preparing an agent session that needs accurate file paths and symbol maps. It reduces missed references and wrong-file edits during agent-assisted refactors, reviews, and feature work across monorepos and polyglot projects.

  • Cross-repo file discovery
  • Symbol and path lookup
  • Agent context grounding
  • Reduces blind edits
  • Works with large codebases

File Search by the numbers

  • 337 all-time installs (skills.sh)
  • +15 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #2,178 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/netresearch/file-search-skill --skill file-search

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs337
repo stars31
Last updatedAugust 2, 2026
Repositorynetresearch/file-search-skill

How do coding agents find files in large repos?

Equip coding agents with fast, reliable project file discovery when navigating unfamiliar repos, locating symbols, or gathering context before edits.

Who is it for?

Developers using coding agents on large or unfamiliar repositories who need reliable file and symbol discovery.

Skip if: Developers who already know exact file paths or only need to edit a single known source file.

When should I use this skill?

User or agent needs to navigate an unfamiliar repo, find a symbol definition, or gather file context before editing.

What you get

Ranked file paths, symbol locations, and gathered repository context for targeted edits

  • File path matches
  • Symbol location map
  • Repository context summary

Files

SKILL.mdMarkdownGitHub ↗

File Search Skill

Efficient CLI search tools for AI agents.

Tool Selection Guide

TaskUseInstead of
Search text in code filesrg (ripgrep)grep, grep -r
Find files by name/pathfdfind, ls -R
Structural/syntax-aware code searchsg (ast-grep)regex hacks
Apply rule packs (security/lint, taint)semgrepregex CI checks
Search PDFs, Office docs, archivesrga (ripgrep-all)manual extraction
Count lines of code by languagetokeicloc, wc -l
Code stats with complexity metricsscccloc, tokei

Decision flow: text → rg | structural → sg | rule packs → semgrep | filenames → fd | PDFs/archives → rga | LOC → tokei/scc

Quick Examples

rg 'def \w+\(' -t py src/          # rg: text search in Python files
rg -c 'TODO' -t js | wc -l         # rg: count first, then drill down
sg --pattern 'console.log($$$)' --rewrite 'logger.info($$$)' --lang js  # sg: structural replace
fd -g '*.test.ts' --changed-within 1d  # fd: -g for compound suffixes (NOT -e)
fd -g '*_test.go' -X rg 'func Test'   # fd+rg: find files, verify contents
rga 'quarterly revenue' docs/       # rga: search inside PDFs/archives
tokei --sort code                   # tokei: language stats
scc --wide                          # scc: complexity + COCOMO

Best Practices

1. Start narrow. Specify types (-t, --lang, -e), scope dirs, count first (rg -c). 2. Exclude noise (-g '!vendor/', fd -E node_modules). 3. Batch independent queries. Union patterns with rg -e P1 -e P2 -e P3 (one walk, one process), or issue distinct queries as parallel tool calls in a single message — never sequential && chains for independent searches. 4. `--json` for programmatic processing. 5. rg ≠ fd types. rg -t ts includes .tsx; fd -e ts does NOT. No -t tsx in rg.

See references/search-strategies.md.

Beyond Local Files

If local search finds nothing and context lives in issues/PRs/external docs — hand off (gh, Jira, WebFetch). Issue keys in comments signal this.

See references/remote-handoff.md.

References

TopicFile
rg flags, patterns, recipesreferences/ripgrep-patterns.md
ast-grep patterns by languagereferences/ast-grep-patterns.md
semgrep rules and taint modereferences/semgrep-patterns.md
fd flags, usage, fd+rg combosreferences/fd-guide.md
rga formats, usage, cachingreferences/rga-guide.md
tokei and scc usagereferences/code-metrics.md
Search targeting strategiesreferences/search-strategies.md
Tool comparison and decision guidereferences/tool-comparison.md
Remote context handoff guidereferences/remote-handoff.md

Related skills

FAQ

What problem does file-search solve?

file-search solves unreliable project navigation when coding agents work in unfamiliar repositories. The skill provides fast file discovery and symbol location so agents gather accurate context before proposing edits.

When should developers invoke file-search?

file-search fits onboarding to new repos, cross-package debugging, and pre-edit context gathering. Invoke it when agents need dependable paths and symbol maps instead of guessing directory structure.

AI & Agent Buildingagentsautomationresearch

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.