Vncntvx/dsh-zotero
将你的Zotero文献库转化为智能体的证据库。
Project Overview项目介绍
dsh-zotero is a purpose-built plugin for DeepSeek Harness (DSH) that connects DSH AI agents to a user’s local Zotero literature library. It can be installed directly via the DSH CLI using the command dsh plugin --profile <profile-name> add dsh-zotero, or installed from source via GitHub or a packed local tarball. After installation completes, users must restart DSH and create a new session for the plugin to activate, and it adds a dedicated Zotero configuration page to DSH’s left sidebar navigation. Users can adjust API address, concurrency limits, full-text search toggles and other parameters directly on this page, and changes take effect immediately after saving.
This plugin is designed for academic research workflows that combine AI agents with Zotero literature management, and it targets researchers who use Zotero to organize their papers and want AI assistance to sift through their library. It provides 8 distinct tools to handle core tasks including searching literature by title/author/year, browsing library structure, retrieving metadata and notes, extracting relevant evidence passages, and exporting citations in multiple standard formats. Agents can call these tools step-by-step based on user requests, pulling evidence directly from the user’s existing library to ground research outputs in the user’s own sources.
To use dsh-zotero, users need Zotero 7 or newer with the local API enabled, a Node.js version of at least 22.19, and DSH version 0.1.5-rc.2 or newer. All plugin operations are read-only, so it never modifies existing Zotero library data, and all network requests are limited to the local loopback address 127.0.0.1:23119. Full-text evidence extraction relies on Zotero’s internal PDF indexing, so unindexed files cannot have full-text passages retrieved by the plugin. The project is released under the permissive MIT license, which allows free use, modification, and redistribution without additional cost or restriction.
dsh-zotero 是专为 DeepSeek Harness (DSH) 开发的原生插件,用于连接本地 Zotero 文献库,让 DSH 中的 AI Agent 可以直接检索用户的文献条目、读取元数据和笔记、提取问题相关的证据段落,打开 PDF 原文并生成规范引用格式。它一共提供 8 个专用工具,覆盖文献搜索、浏览导航、内容读取、证据提取、格式导出等全流程操作。
这款插件面向需要处理学术文献的 Agent 研究工作流,适合用 Zotero 管理文献的科研人员借助 AI 梳理研究资料。安装完成并正确配置 Zotero 本地 API 后,Agent 就能根据用户需求逐步调用工具,从个人文献库中定位匹配内容,提取相关证据,最终输出整理好的引用格式和参考文献列表。
使用本插件需要 Zotero 7 及以上桌面版开启本地 API 功能,要求 Node.js 版本不低于 22.19,DSH 版本不低于 0.1.5-rc.2。插件所有操作仅只读访问本机文献库,不会修改原有 Zotero 数据,项目遵循 MIT 许可证,允许自由使用、修改和分发。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-zotero(Vncntvx/dsh-zotero)
仓库:https://github.com/Vncntvx/dsh-zotero
本站详情页:https://www.yhbd.top/plugins/vncntvx-dsh-zotero/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 28 · 最近提交 2026-10-01 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 28 stars - an early-stage project星标 28,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-zotero
把 Vncntvx/dsh-zotero 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
English · 中文
dsh-zotero 是面向 Agent 研究工作流的 Zotero 插件。Agent 可以直接检索文献库、读取元数据与笔记、提取相关证据段落、定位原文 PDF,并生成学术引用与参考文献。
安装
从 npm 安装(推荐):
dsh plugin --profile <name> add dsh-zotero
从 GitHub 预构建分支安装:
dsh plugin --profile <name> add github:Vncntvx/dsh-zotero#release
从 main 源码分支安装说明:直接从
github:Vncntvx/dsh-zotero(默认 main 分支)安装需在本地执行构建脚本。pnpm 默认拦截依赖构建,需在 profile 的pnpm-workspace.yaml中配置allowBuilds。推荐直接使用#release分支安装预构建版本。
从本地 tarball 安装:
cd dsh-zotero && npm pack
dsh plugin --profile <name> add ./dsh-zotero-*.tgz
安装后新建会话即可使用 Zotero 工具。
插件在 设置 → Zotero 中提供配置页,支持调整 API 地址、并发限制、全文检索等参数,保存即生效。详见 配置参考。
工具
| 工具 | 用途 |
|---|---|
zotero_search |
按标题、作者、年份或全文索引搜索,支持库、合集、保存搜索与出版物作用域 |
zotero_browse |
浏览库结构:库列表、合集层级树、保存搜索、标签分面、条目类型与字段 |
zotero_get |
读取单篇文献的结构化元数据,可选加载笔记、批注与附件列表 |
zotero_children |
探索条目子对象图:直接笔记、附件及挂在 PDF 下的批注 |
zotero_retrieve |
基于 BM25 按查询词提取最相关的证据段落,支持多附件检索 |
zotero_changes |
基于本地事务版本感知增量变更与删除记录 |
zotero_attachment |
将文献或附件 ref 解析为验证后的本地文件路径或链接 URL |
zotero_export |
生成格式化引用、参考文献表,以及 BibTeX、BibLaTeX、RIS、CSL JSON 导出 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
ruvnet/ruflo
Tencent/WeKnora
EverMind-AI/EverOS
MemTensor/MemOS
plastic-labs/honcho
agentscope-ai/ReMe
zilliztech/memsearch
vshulcz/deja-vu