Perform fast file name and content searches with ripgrep (rg); use it when you need to locate files by glob/regex, find keywords across directories, or replace common find/grep workflows.
63
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Other/file-search/SKILL.md*.rs, *.md) across a project quickly.TODO|FIXME) across one or more directories.find + grep pipelines.rg --files combined with --glob filters.-C 3) for quick inspection.--type rust) to reduce noise.rg is available before running searches.scripts/test_skill.py)# 1) Pre-check: ensure ripgrep is installed
rg --version
# 2) (Optional) Run the skill self-check script
python scripts/test_skill.py
# 3) Search by file name (list Rust files under a directory)
rg --files --glob "*.rs" /path/to/projects
# 4) Search by content (regex search across a directory)
rg "TODO|FIXME" /path/to/projects
# 5) Search by content with context and type filtering
rg -C 3 "fn main" /path/to/projects --type rustrg --files to enumerate files, then applies --glob to include/exclude paths (e.g., --glob "*.rs").rg PATTERN PATH performs a regex search; patterns like TODO|FIXME use alternation.-C N prints N lines of leading and trailing context around each match to aid quick review.--type <name> restricts scanning to known file type definitions (e.g., rust), reducing irrelevant matches.rg is not available, prompt to install ripgrep before proceeding with any search commands.file_search_result.md unless the skill documentation defines a better convention.Run this minimal verification path before full execution when possible:
No local script validation step is required for this skill.Expected output format:
Result file: file_search_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any63c61d3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.