تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

zettel-link

بواسطة hxy9243

Search & Research
363التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

This skill maintains the Note Embeddings for Zettelkasten, to search notes, retrieve notes, and discover.

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

User asks: find notes related to 'epistemology and belief formation'

الوكيل
  1. 1

    Run config.py to confirm config/config.json exists

  2. 2

    Run embed.py --input <vault_dir> to generate or update the embedding cache

  3. 3

    Run search.py --input <vault_dir> --query 'epistemology and belief formation'

  4. 4

    Read search results from .embeddings/search_results.json

  5. 5

    Return the top matching note titles and snippets to the user

الإخراج

List of the 5 most semantically similar notes with similarity scores

المتطلبات

  • 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)

التثبيت

clawhub install hxy9243/zettel-link

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط