ripgrep/search_files silently skips binary-detected files — verify empty search results with grep -a / file / xxd before concluding 'not found'.
npx skills add https://github.com/ashutoshsinghpr7/wikiskill --skill search-miss-binary
search_files (ripgrep) returned 0 matches for SECRET- even though
data.log contains SECRET-1722. Trusting the empty result would fail the
task ("which file contains the secret?").
Ripgrep skips files it heuristically classifies as binary. The empty result
means "no match in text-classified files", not "string absent".
empty result blindly.
grep -a -l PATTERN <files> and/or file + xxd/hexdumpto confirm where the string lives.
SECRET-1722 lived in a binary-detected file;the agent correctly suspected "encoding or binary detection issues" and
verified directly instead of concluding "not found".
Take ashutoshsinghpr7/search-miss-binary from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.