跳到正文
TakoAPI
返回技能列表

zettel-link

由 hxy9243 提供

Search & Research
363下载量由 clawskills.sh 提供
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接