A comprehensive wrapper around ripgrep, fd, ast-grep, and friends that gives Claude the right search tool for each job. Instead of falling back to grep or find, you get structural code search with ast-grep, PDF and archive search with ripgrep-all, and proper file finding with fd. The documentation is exceptionally detailed, with separate guides for each tool and clear decision trees for when to use what. The best practice guidance is sharp: start narrow, batch independent queries as parallel tool calls instead of chaining them with shell operators, and remember that ripgrep's type flags don't map one to one with fd's extensions. If you work in large codebases or need to search beyond plain text files, this is the search skill to install.

skills.sh installs
544
GitHub stars
45
last updated
Aug 21, 2026

Install

$ npx -y skills add netresearch/file-search-skill --skill file-search --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/netresearch/file-search-skill
First seen
Jun 3, 2026

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs