File Search Skill Efficient CLI search tools for AI agents. Tool Selection Guide | Task | Use | Instead of | |------|-----|------------| | Search text in code files | (ripgrep) | , | | Find files by name/path | | , | | Structural/syntax-aware code search | (ast-grep) | regex hacks | | Apply rule packs (security/lint, taint) | | regex CI checks | | Search PDFs, Office docs, archives | (ripgrep-all) | manual extraction | | Count lines of code by language | | , | | Code stats with complexity metrics | | , | Decision flow: text → | structural → | rule packs → | filenames → | PDFs/archives → | LOC…