sk Skill · ashutoshsinghpr7
search-miss-binary
ripgrep/search_files silently skips binary-detected files — verify empty search results with grep -a / file / xxd before concluding 'not found'.
Open on skills.sh ↗read 2026-09-15
- installs 8w
- 0
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
Python
search-miss-binary is a SKILL.md skill for AI coding agents that warns about a ripgrep/search_files pitfall: files heuristically classified as binary are silently skipped, so an empty search result does not mean a string is absent. It instructs the agent to verify empty results with grep -a, file, and xxd before concluding 'not found'.
Empty search results in binary-detected files can silently fail tasks, and this skill gives the agent a concrete verification habit to avoid that trap.
Use it to
- Verify an empty ripgrep result with grep -a
- Inspect suspicious files with file and xxd
- Force text-mode search across candidate files
- Avoid falsely reporting a string as absent
- Diagnose zero-match results in tasks
For Developers running AI coding agents that search codebases
- Host repository
- ashutoshsinghpr7/wikiskill
- Version
- 1.0.0
- Compatible with
- linux, macos, windows
- Licence
- MIT
- Host stars
- 206
- Host language
- Python
topicsripgrepbinary-filessearchclaude-codeskilldebugging