Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

zettel-link泽特尔链接

Agent Skill

zettel-link 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,734

周安装

754

GitHub Stars

公开资料未说明

下载量

6,213
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zettel-link(泽特尔链接)
来源仓库:https://github.com/hxy9243/zettel-link
安装命令:
openclaw skills install zettel-link
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install zettel-link

简介

此技能维护 Zettelkasten 的注释嵌入,以搜索注释、检索注释并发现注释之间的联系。

SKILL.md

name
zettel-link
description
This skill maintains the Note Embeddings for Zettelkasten, to search notes, retrieve notes, and discover connections between notes.

Zettel Link Skill

This skill provides a suite of idempotent Python scripts to embed, search, and link notes in an Obsidian vault using semantic similarity. All scripts live in scripts/ and support multiple embedding providers.

The skill should be triggered when the user wants to search notes, retrieve notes, or discover connections between notes.

If the search directory is indexed with embeddings, the skill should prompt the user if they want to create new embeddings.

Dependencies

  • uv 0.10.0+
  • Python 3.10+
  • One of the following embedding providers:

- Ollama with mxbai-embed-large (local, default) - OpenAI API with text-embedding-3-small - Google Gemini API with text-embedding-004

Overview of Commands

  • uv run scripts/config.py: Configure the embedding model and other settings.
  • uv run scripts/embed.py: Embed notes and cache to .embeddings/embeddings.json
  • uv run scripts/search.py: Semantic search over embedded notes
  • uv run scripts/link.py: Discover semantic connections, output to .embeddings/links.json

Workflow

Step 0 — Setup and Config

If the config/config.json file does not exist, create it:

uv run scripts/config.py

This creates config/config.json with defaults:

{
    "model": "mxbai-embed-large",
    "provider": {
        "name": "ollama",
        "url": "http://localhost:11434"
    },
    "max_input_length": 8192,
    "cache_dir": ".embeddings",
    "default_threshold": 0.65,
    "top_k": 5,
    "skip_dirs": [".obsidian", ".trash", ".embeddings", "Spaces", "templates"],
    "skip_files": ["CLAUDE.md", "Vault.md", "Dashboard.md", "templates.md"]
}

To use a remote provider:

# OpenAI
uv run scripts/config.py --provider openai

# Gemini
uv run scripts/config.py --provider gemini

# Custom model
uv run scripts/config.py --provider openai --model text-embedding-3-large

To adjust tuning parameters:

uv run scripts/config.py --top-k 10 --threshold 0.7 --max-input-length 4096

Step 1 — Create Embeddings

uv run scripts/embed.py --input <directory>

This creates <directory>/.embeddings/embeddings.json with the embedding cache.

  • Incremental updates: Only re-embeds files that have been modified since the last run (based on file modification time).
  • Text truncation: Automatically truncates text to max_input_length before embedding.
  • Stale pruning: Removes entries for files that no longer exist.
  • Force re-embed: Use --force to re-embed everything.

Step 2 — Semantic Search

uv run scripts/search.py --input <directory> --query "<query>"

This embeds the query using the configured provider and compares it with all cached embeddings, returning the top_k most similar notes.

Results are saved to <directory>/.embeddings/search_results.json.

Step 3 — Semantic Connection Discovery

uv run scripts/link.py --input <directory>

This computes cosine similarity for all note pairs and outputs connections above the default_threshold to <directory>/.embeddings/links.json.

The output includes:

  • A flat list of all link pairs with scores
  • A per-note grouping for easy lookup

Tuning: Adjust --threshold to widen or narrow the connection discovery.

Cache

  • Format: JSON with metadata envelope (metadata + data)
  • Location: <directory>/.embeddings/embeddings.json
  • Metadata: Tracks generation timestamp, model, provider, embedding size
  • Invalidation: Based on file modification time (mtime)
  • Force rebuild: Delete the cache file or use --force flag

Agent Instructions

When using this skill:

  1. Always run config.py first if config/config.json does not exist.
  2. Run embed.py before search.py or link.py — the cache must exist.
  3. For remote providers (openai, gemini), ensure the API key environment variable is set (or provide a local .env file in the skill directory).
  4. All scripts are idempotent and safe to re-run.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.94%
按下载量换算5,402

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills