SEARCH

SEARCH is a command for Claude Code from danielsimonjr/memory-mcp. It costs 16 tokens per session (662 once invoked), scanned A, original, MIT.

A command for finding files on a Windows computer using Everything, an indexed file-search tool, or fzf, a fuzzy finder. It can search by names, paths, extensions, sizes, and—when using fzf—file contents.

In plain words
What is it for?
It helps find files such as Markdown, TypeScript, JSON, executable, or DLL files; search contents for text; and inspect file sizes, dates, and attributes.
Why use it?
It avoids manually browsing folders when you need to locate a file or find text inside files. Filters help narrow large search results.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the memory-mcp plugin — 1 skill, 9 commands, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/danielsimonjr/memory-mcp/search
Clone the repo
git clone --depth 1 https://github.com/danielsimonjr/memory-mcp

Made for: Claude Code.

Or install memory-mcp, the plugin that ships this one along with the rest of its 1 skill, 9 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for SEARCH

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielsimonjr/memory-mcp/search.svg)](https://agentmods.dev/commands/danielsimonjr/memory-mcp/search)
Your own site
<a href="https://agentmods.dev/commands/danielsimonjr/memory-mcp/search"><img src="https://agentmods.dev/badge/commands/danielsimonjr/memory-mcp/search.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 662 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00662
Opus 5 $0.00008 $0.00331
Sonnet 5 $0.00003 $0.00132
Haiku 4.5 $0.00002 $0.00066

Measured 5d ago against content hash ec3703d0e437, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

SEARCH scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/SEARCH.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Search for files using Everything (instant indexed search) or fzf (fuzzy matching).

Default Behavior

By default, uses Everything for blazing-fast indexed file search across all drives.

Arguments

Argument Description
<query> Search query (filename, pattern, or path)
--fzf Use fzf fuzzy finder instead of Everything
--content Search within file contents (fzf only)
--info Get detailed file info (size, dates, attributes)

Usage Examples

# Fast file search with Everything
/SEARCH claude.md
/SEARCH *.ts
/SEARCH ext:json memory

# Search with wildcards and filters
/SEARCH "src/*.test.ts"
/SEARCH "ext:exe;dll size:>1mb"
/SEARCH "parent:C:\mcp-servers *.md"

# Fuzzy search with fzf
/SEARCH config --fzf
/SEARCH readme --fzf

# Search file contents
/SEARCH "import.*memory" --content
/SEARCH "function search" --content

# Get detailed file info
/SEARCH package.json --info

Everything Search Syntax

Everything supports powerful search operators:

Operator Example Description
ext: ext:ts Filter by extension
size: size:>1mb Filter by size
dm: dm:today Date modified
parent: parent:C:\src Search in directory
* *.config.* Wildcard
"..." "exact match" Exact phrase
! *.ts !test Exclude
` ` `*.ts

When to Use Which

Tool Best For
Everything Finding files by name, extension, path, size, date
fzf Fuzzy/approximate matching, typo-tolerant search
fzf --content Searching inside file contents

Instructions

  1. Parse the query and flags from $ARGUMENTS
  2. If --fzf flag is present, use fzf tools
  3. If --content flag is present, use fuzzy_search_content
  4. If --info flag is present, use get_file_info
  5. Otherwise, use Everything search tool
  6. Display results in a clean format

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 80 lines · 16 tokens per session scan A ec3703d0e437

Subscribe to this mod's changes

SEARCH is a command published in the GitHub repository danielsimonjr/memory-mcp (3 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 662 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.