everything-search
Fast file search on Windows using Everything (voidtools) es.exe command-line tool. Use when searching for files by extension, name, date modified, size, or path, or when the user asks to use Everything.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- everything-search
- description
- Fast file search on Windows using Everything (voidtools) es.exe command-line tool. Use when searching for files by extension, name, date modified, size, or path, or when the user asks to use Everything.
02 资源文件 5
03 SKILL.md 正文
Everything Search
Overview
Search files instantly on Windows using the Everything command-line interface (es.exe).
Announce at start: "I'm using the everything-search skill to find files."
Hard limits
Every search carries a scope: a project path or registry token, an ext: filter, a dm: date filter, a size: filter, or a name pattern. A bare whole-drive scan or a network-share sweep is out of bounds. Narrow the search to what you need.
When es.exe returns Error 8, the Everything IPC client window is missing. Retry the same search twice with a short pause. Do not report that Everything is not running, not loaded, or that the index is unavailable from that first miss. After those retries fail, report that the Everything IPC client did not answer and that the service state was not probed, then fall back to the Glob tool (name and path patterns) or Grep (file contents) with the same scope.
When es.exe is missing, or a later search returns no hits, fall back to Glob or Grep. A failed search is not proof the index is down. When those fallbacks also fail, ask the user through AskUserQuestion with a short analysis and next-step options.
Direct es.exe calls use the same Error 8 retry. The wrapper in scripts/everything_search.py already retries Error 8 twice.
Registry tokens
Run project-name searches through this command:
python "${CLAUDE_SKILL_DIR}/scripts/everything_search.py" <project-name> <search arguments>
The command reads ~/.claude/project-paths.json. An exact project name or {project-name} argument becomes one absolute path. Unknown names, absolute paths, flags, and spaces stay as they are. The command then starts es.exe without a shell.
Put the search scope first. The first argument names a project, path, file, extension, date, or size. An options-only request exits before es.exe starts. Use -version alone to read the installed Everything version.
Path and operator searches run when the registry file is missing. Malformed registry content, an empty search, a missing es.exe, or a process start failure returns a nonzero exit. After a successful start, the command returns the es.exe exit status.
Instructions
Command Syntax
Path (WSL): /mnt/c/Program\ Files/Everything/es.exe
Path (Windows): "C:/Program Files/Everything/es.exe"
Syntax:
- Separate search terms with spaces. Quotes hold one exact filename or path; a quoted group of terms breaks parsing.
- When searching a path, use backslashes inside quotes:
"Y:\\path\\to\\folder"
# CORRECT - WSL format with path search
/mnt/c/Program\ Files/Everything/es.exe "Y:\\path\\to\\folder" searchterm
# CORRECT - space-separated terms
/mnt/c/Program\ Files/Everything/es.exe ext:mp4 dm:last3months
# WRONG - quoted with semicolons (breaks parsing)
/mnt/c/Program\ Files/Everything/es.exe "ext:mp4;mov;avi dm:last3months"
Search Operators
By Extension:
ext:mp4 # Single extension
ext:mp4 | ext:mov | ext:avi # Multiple extensions (OR)
By Date Modified:
dm:last3months # Modified in last 3 months
dm:lastweek # Modified in last week
dm:today # Modified today
dm:>=2024-01-01 # Modified on or after date
By Path:
/mnt/c/Program\ Files/Everything/es.exe "D:\\Projects\\My App\\assets" ext:mp4
/mnt/c/Program\ Files/Everything/es.exe "D:\\Projects" ext:prproj
By Size:
size:>100mb # Larger than 100MB
size:<1gb # Smaller than 1GB
By Name:
*.prproj # Wildcard match
"exact filename.txt" # Exact match (quote the filename)
Combining Multiple Extensions
Run separate searches for each extension type:
/mnt/c/Program\ Files/Everything/es.exe ext:mp4 dm:last3months
/mnt/c/Program\ Files/Everything/es.exe ext:mov dm:last3months
/mnt/c/Program\ Files/Everything/es.exe ext:prproj dm:last3months
Output Options
# Sort by date modified (descending)
/mnt/c/Program\ Files/Everything/es.exe ext:mp4 dm:last3months -sort dm -sort-descending
# Limit results
/mnt/c/Program\ Files/Everything/es.exe ext:mp4 -n 50
# Show size
/mnt/c/Program\ Files/Everything/es.exe ext:mp4 -size
Examples
Video files (last 90 days)
/mnt/c/Program\ Files/Everything/es.exe ext:mp4 dm:last3months
/mnt/c/Program\ Files/Everything/es.exe ext:mov dm:last3months
/mnt/c/Program\ Files/Everything/es.exe ext:avi dm:last3months
/mnt/c/Program\ Files/Everything/es.exe ext:mkv dm:last3months
Premiere projects
/mnt/c/Program\ Files/Everything/es.exe ext:prproj
/mnt/c/Program\ Files/Everything/es.exe ext:prproj dm:lastmonth
Large files
/mnt/c/Program\ Files/Everything/es.exe size:>1gb
/mnt/c/Program\ Files/Everything/es.exe ext:mp4 size:>500mb
Config files in a project
/mnt/c/Program\ Files/Everything/es.exe "Y:\\path\\to\\project" config.py
/mnt/c/Program\ Files/Everything/es.exe "Y:\\path\\to\\project" constants.py
Best Practices
es.exetalks to the Everything tray client IPC window. The Everything service can be running while Error 8 still fires.- On Error 8, retry the same search twice before treating the search as failed.
- Run one extension per search for cleaner results
- Use
dm:to filter recent files by the index timestamp - Combine with path to narrow scope
- Results return instantly regardless of drive size
Junctions, Symlinks & Drive Mapping
Everything indexes paths only, not junctions or mapped drives.
| Drive | Type | Indexed? | Action |
|---|---|---|---|
| Y:\ | NTFS | Yes | Use this path |
| Z:\ | Junction to Y: | No | Use Y:\ instead |
If search returns empty:
- Check if the path is a junction/symlink
- Find the path the junction targets and search that instead
- Or use Glob tool as fallback (works on any path)
Common drive mappings:
Z:\Projects\->Y:\Work\Projects\- When in Z:, translate to Y:\ equivalent for Everything searches
Files
scripts/everything_search.pyruns one Everything search without a shell, retries Error 8 twice, and reports that the IPC client did not answer and that the service state was not probed when those retries fail.scripts/test_everything_search.pyverifies registry expansion, command failures, Error 8 retry, and the IPC-client miss message.
04 同仓库更多 Skills
update
Fast-forwards a local repository's main branch to a remote's main after confirming the repo path and source remote through AskUserQuestion. Use when the user says '/update', 'update main', 'fast-forward main', 'sync main from origin', 'pull latest main into <path>', or 'bring main up to date'.
source-command-sr-loop
Converging cleanup loop: repeat /simplify until clean, then repeat /code-review --fix until clean
skill-builder
Skill lifecycle: classify, scaffold, write via the skill-writer-agent, self-audit, compose sub-skills, polish description triggers, enforce deterministic scripts. Triggers: build a skill, new skill workflow, improve this skill, optimize skill description, skill development lifecycle, skill modularity, skill composition, description trigger catalog, deterministic skill scripts.
session-tidy
Audit, clean, and consolidate session logs in the Obsidian vault. Fixes format drift, resolves orphaned next-steps, updates stale statuses, and generates project rollup summaries. Use when session logs feel cluttered or before starting a new project milestone. Triggers on '/session-tidy', 'tidy sessions', 'clean up session logs', 'session audit'.
session-log
Logs a session report as an HTML page, tracks vault context, extracts decisions, and outputs a /rename command. Use for /session-log, 'journal this session', 'log this work', 'session report', 'summarize/log/record this session', 'save session', 'capture session', or 'document what we did'.
run-claude-dev-env
Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~/.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.