aiwenforgit/obsidian-claude-code-fork/vault-search
Claude Code and agent skill by aiwenforgit/obsidian-claude-code-fork
- community
Checking that the SKILL.md file is still in the repository.
Semantic search and Dataview-style queries across the Obsidian vault. Use when searching for notes by meaning, finding related content, querying frontmatter metadata, or answering questions about vault contents. Trigger phrases include "search vault", "find notes about", "what do I have on", "related notes", "list tasks", "show positions".
Install
npx vskill@latest install aiwenforgit/obsidian-claude-code-fork/vault-searchSKILL.md
Vault Search Skill
Provides semantic search and SQL queries over the Obsidian vault using sqlite-vec for vector storage and ChromaDB's embedding function.
Python Environment
Interpreter: /Users/roasbeef/vault/.claude/venv/bin/python
Required packages:
- sqlite-vec (vector search extension)
- chromadb (embedding function only)
Database Location
Path: /Users/roasbeef/vault/.claude/vault_search/vault.db
Contains:
notestable: frontmatter metadata for all markdown filesvec_chunkstable: vector embeddings for semantic search
Available Scripts
search.py - Semantic Search
Find notes by meaning using vector similarity.
Arguments:
--query(required): Search query text--n-results: Number of results (default: 5)--folder: Filter by folder prefix--where: SQL WHERE clause for metadata filtering--db-path: Database path (default: .claude/vault_search/vault.db)
Output:
- Human-readable results with snippets
- JSON block for programmatic use
dataview.py - SQL Queries (Dataview Replacement)
Query frontmatter metadata using SQL.
Arguments:
--sql(required): SQL query to execute--db-path: Database path (default: .claude/vault_search/vault.db)--format: Output format: "table" or "json" (default: table)
Available columns:
path,folder,filename,title,modified- Frontmatter:
status,priority,due,scheduled,tags,projects,contexts - Investing:
ticker,strategy,expiry
index.py - Build/Rebuild Index
Rebuild the search index from vault files.
Arguments:
--vault-path: Path to vault root (default: /Users/roasbeef/vault)--db-path: Database path (default: .claude/vault_search/vault.db)--rebuild: Force full rebuild--stats: Show index statistics
When to Use This Skill
Use semantic search (search.py) when:
- User asks to "find notes about X"
- User wants "related notes" to a topic
- Answering questions about vault contents
- Exploring a topic across the vault
Use dataview queries (dataview.py) when:
- User asks to "list tasks" or "show open tasks"
- Filtering by specific metadata (status, due date, tags)
- Aggregating or counting notes
- Building dashboards or summaries
Use combined queries when:
- "Find notes about X that are also open tasks"
- "Show investing notes related to Y"
Example Usage
Find Related Notes
List Open Tasks
Combined Search
Rebuilding the Index
Use the /vault-index command to rebuild the index when:
- Many files have changed
- Search results seem stale
- After bulk imports
Technical Details
- Embeddings: ChromaDB DefaultEmbeddingFunction (ONNX MiniLM, 384 dims)
- Storage: sqlite-vec virtual tables
- Chunking: Split by markdown headings (v1)
- Excluded folders:
.obsidian,.smart-env,.claude,assets,Templates
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/vault-search/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aiwenforgit/obsidian-claude-code-fork/vault-search)