Search vault content by keyword using Grep. Zero dependencies — works in any vault without indexes or plugins. Groups results by directory for easy scanning.
53
60%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
High
Do not use without reviewing
Fix and improve this skill with Tessl
tessl review fix ./vault-template/.claude/skills/search/SKILL.mdFast keyword search across all vault markdown files using the Grep tool. No indexes, no plugins, no setup — just structured search with directory grouping.
/search <term>Examples:
/search project planning/search weekly review/search TODOWhen the user invokes /search <term>:
Use the Grep tool to search all .md files for the term:
Grep:
pattern: <search term>
glob: "*.md"
output_mode: content
-n: true
-C: 1Exclude hidden directories (.claude/, .obsidian/) and templates:
Grep:
pattern: <search term>
glob: "*.md"
path: .
output_mode: content
-n: true
-C: 1Filter out results from .claude/, .obsidian/, and Templates/ directories.
Organise matches into sections by their parent directory:
Format output as:
## Search: "<term>"
### Daily Notes/
- **2024-01-15.md** (line 23): ...matching context...
- **2024-01-14.md** (line 8): ...matching context...
### Projects/
- **Project Alpha.md** (line 45): ...matching context...
### Goals/
- **2024 Goals.md** (line 12): ...matching context...
**Found X matches across Y files**After showing results, check if any matched files contain [[wiki-links]] to other notes. If so, briefly mention:
💡 Related notes mentioned in results: [[Note A]], [[Note B]]If no matches are found:
Archives/ if not already included-i: true to the Grep call for case-insensitive searchtask.*complete, #tag-name/daily to quickly find when something was mentionedef1e4da
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.