zettel-link
oleh hxy9243
Search & ResearchRingkasan
This skill maintains the Note Embeddings for Zettelkasten, to search notes, retrieve notes, and discover.
Deskripsi
Apa yang Dilakukan Skill Ini
Maintains semantic embeddings for an Obsidian vault to enable note search, retrieval, and connection discovery. Uses cosine similarity to find related notes across a Zettelkasten. Supports local (Ollama) and cloud (OpenAI, Gemini) embedding providers.
Semantic search finds conceptually related notes even when they share no keywords, which keyword search and manual tagging cannot do.
Kapan Menggunakannya
- Finding notes related to a half-remembered idea
- Discovering unexpected links between research notes
- Rebuilding broken connections after reorganizing a vault
- Searching notes by meaning rather than exact keywords
- Generating a graph of semantically connected notes
Contoh Alur Kerja
User asks: find notes related to 'epistemology and belief formation'
- 1
Run config.py to confirm config/config.json exists
- 2
Run embed.py --input <vault_dir> to generate or update the embedding cache
- 3
Run search.py --input <vault_dir> --query 'epistemology and belief formation'
- 4
Read search results from .embeddings/search_results.json
- 5
Return the top matching note titles and snippets to the user
List of the 5 most semantically similar notes with similarity scores
Persyaratan
- Ollama installed locally with mxbai-embed-large model pulled (if using local provider)
- OPENAI_API_KEY environment variable (if using OpenAI provider)
- GEMINI_API_KEY environment variable (if using Gemini provider)
Instalasi
clawhub install hxy9243/zettel-linkJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.