其他

file-search

netresearch/fil…ch-skill

Use when searching codebases (text, structural/AST, files by name, PDFs/archives, code stats) or building context before a task.

  • 533 次安装
  • 42 星标
  • 收录于

安装命令

npx skills add https://github.com/netresearch/file-search-skill --skill file-search

SKILL.md

File Search Skill

Efficient CLI search tools for AI agents.

Tool Selection Guide

Task Use Instead of
Search text in code files rg (ripgrep) grep, grep -r
Find files by name/path fd find, ls -R
Structural/syntax-aware code search sg (ast-grep) regex hacks
Apply rule packs (security/lint, taint) semgrep regex CI checks
Search PDFs, Office docs, archives rga (ripgrep-all) manual extraction
Count lines of code by language tokei cloc, wc -l
Code stats with complexity metrics scc cloc, tokei

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