Skip to content
Agentmart
Submit a tool

search-miss-binary

ripgrep/search_files silently skips binary-detected files — verify empty search results with grep -a / file / xxd before concluding 'not found'.

Skill by ashutoshsinghpr7

IndexedMIT★ 283
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ashutoshsinghpr7-search-miss-binary

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

ripgrep/search_files silently skips binary-detected files — verify empty search results with grep -a / file / xxd before concluding 'not found'.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/search-miss-binary

What's inside

Skill name
search-miss-binary
Description
ripgrep/search_files silently skips binary-detected files — verify empty search results with grep -a / file / xxd before concluding 'not found'.
License
MIT
Instructions
28 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Search Can Silently Miss Binary-Detected Files

## Problem

`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?").

## Root cause

Ripgrep skips files it heuristically classifies as binary. The empty result
means "no match in text-classified files", not "string absent".

## Fix

- When a content search returns nothing but files exist, do NOT trust the
  empty result blindly.
- Force text mode: `grep -a -l PATTERN <files>` and/or `file` + `xxd`/hexdump
  to confirm where the string lives.
- Confirm the actual match content before writing the answer.

## Evidence

- Hit in a real graded task: `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".

From ashutoshsinghpr7/wikiskill, MIT.

Signals

Stars
283
Forks
26
Open issues
5
Last commit (this folder)
Aug 31, 2026 (1 month ago)
Last release
Sep 15, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ashutoshsinghpr7

Cite this page

search-miss-binary skill. Agent Mart. https://agentmart.dev/skills/ashutoshsinghpr7-search-miss-binary (last updated 2026-10-24)