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

zotero-vectorizezotero 矢量化

Agent Skill

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。

总安装

8,720

周安装

367

GitHub Stars

公开资料未说明

下载量

3,053
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install zotero-vectorize

简介

构建和维护基于 Zotero 的语义向量索引,支持 RAG 工作流集成。

  • 适用于知识库问答、事实核查和来源引用等场景。
  • 结合元数据与全文块嵌入实现跨平台检索优化。
  • 需定期同步 Zotero 数据以确保索引时效性与准确性。
  • zotero-vectorize 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
zotero-vectorize
description
Build and maintain a cross-platform local Zotero semantic index using metadata embeddings and PDF full-text chunk embeddings. Use when the user asks to vectorize a Zotero library, create or refresh metadata_vectors.json or fulltext_vectors.json, check for new Zotero items missing from the vector store, incrementally update a Zotero semantic/RAG index, verify vector store counts and sizes, or reproduce this workflow on Windows, macOS, or Linux.

Zotero Vectorize

Build and maintain a local-first, cross-platform Zotero vector store for semantic search and RAG over bibliographic metadata and PDF full text.

Keep SKILL.md focused on workflow. Read the reference files only when needed:

  • references/config.md — paths, environment variables, output layout
  • references/data-format.md — JSON schemas and file naming
  • references/windows.md / macos.md / linux.md — platform-specific path defaults and notes
  • references/troubleshooting.md — common failures and recovery

Core rules

  • Treat Zotero as read-only input. Never modify the user’s Zotero database or attachment storage.
  • Prefer creating a database snapshot before reading.
  • For incremental updates: check first, report missing items, wait for user confirmation, then apply.
  • Before any update that rewrites store files: back up first, then write.
  • Backup retention for this skill is fixed: keep only the latest and previous backup per file.
  • Default output filenames are:

- metadata_vectors.json - fulltext_vectors.json - vector_store_metadata.json

Workflow decision tree

1) Detect or confirm paths

If the Zotero data directory, database path, or storage path is unknown:

  1. Read references/config.md
  2. Read the platform-specific reference (windows.md, macos.md, or linux.md)
  3. Run:
python scripts/detect_zotero_paths.py

If the detected paths are wrong, ask the user to open Zotero and use Show Data Directory, then rerun with explicit --data-dir, --db, or --storage-dir.

2) Create a database snapshot

Before full builds or incremental checks, snapshot the Zotero database:

python scripts/snapshot_zotero_db.py --output-dir <store-dir>

If snapshotting fails because SQLite is locked, ask the user to close Zotero and retry.

3) Build the metadata vector store

Use this when the user asks to create or rebuild metadata embeddings for the Zotero library.

python scripts/build_metadata_vectors.py --output-dir <store-dir>

This writes metadata_vectors.json and refreshes vector_store_metadata.json + README.md.

4) Build the full-text vector store

Use this when the user asks to create or rebuild PDF full-text embeddings.

python scripts/build_fulltext_vectors.py --output-dir <store-dir>

This scans Zotero PDF attachments, extracts text, chunks it, embeds each chunk, and writes fulltext_vectors.json.

5) Check incremental updates

Use this when the user asks whether Zotero contains new items not yet added to the vector store.

python scripts/check_incremental_updates.py --output-dir <store-dir>

Report:

  • total top-level Zotero items
  • total PDF-parent items
  • current metadata/fulltext vector counts
  • missing metadata items
  • missing fulltext items

Do not update the store yet.

6) Apply incremental updates

Only run this after the user confirms the update.

python scripts/apply_incremental_updates.py --output-dir <store-dir>

This script:

  1. snapshots the DB
  2. backs up store files
  3. appends missing metadata/fulltext entries
  4. keeps only the latest and previous backup per file
  5. updates store metadata and README

Use --item-id to limit the update to specific items if the user wants a partial apply.

7) Verify the finished store

After any build or incremental update, verify counts and sizes:

python scripts/verify_vector_store.py --output-dir <store-dir>

Always report:

  • metadata item count
  • fulltext item count
  • fulltext chunk count
  • metadata file size
  • fulltext file size

Scripts

  • scripts/detect_zotero_paths.py — resolve default/current Zotero paths
  • scripts/snapshot_zotero_db.py — create a safe SQLite snapshot
  • scripts/build_metadata_vectors.py — full rebuild of metadata vectors
  • scripts/build_fulltext_vectors.py — full rebuild of PDF full-text vectors
  • scripts/check_incremental_updates.py — compare Zotero against current vector store
  • scripts/apply_incremental_updates.py — append missing items after user confirmation
  • scripts/backup_with_retention.py — back up store files and retain only the latest two states
  • scripts/verify_vector_store.py — report counts, sizes, and store metadata

Output expectations

When using this skill successfully, return concise operational summaries such as:

  • detected paths
  • snapshot path used
  • number of items/chunks written
  • current file sizes
  • whether any items are missing
  • which itemIDs were appended during incremental update

Escalation notes

Read references/troubleshooting.md when:

  • SQLite snapshot fails
  • HuggingFace/model download or local model loading fails
  • PDFs are missing or unreadable
  • full-text extraction is incomplete
  • file paths differ from defaults on the current OS

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

92.15%
按下载量换算2,813

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills