WZ

wenyuchiou/zotero-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

83 stars 质量 79 趋势 15MIT

一项程序化管理Zotero参考文献的技能——搜索、添加、分类、注释和组织文献。

概览

通过双API架构(本地读取+网页写)实现全面的Zotero库管理。可与任何支持技能或自定义指令的AI编码助手配合使用。 📚 这是构建智能人工智能(多语言,简称 zh-TW · Zh-CN ·英语)的一部分——一个7阶段的精选路径。该技能在第13节(研究工作流程技能)中有提及。 这项技能赋予AI编码助手对您的Zotero库的完全CRUD访问权限。通过终端程序化搜索、添加、分类、注释和组织参考文献。

概述(AI 翻译)

繁體中文版

通过双API架构(本地读取+网页写)实现全面的Zotero库管理。可与任何支持技能或自定义指令的AI编码助手配合使用。

📚 智能人工智能学习路线图的一部分——一个7阶段精心策划的构建智能人工智能的路径,支持多语言(zh-TW · zh-CN ·英语)。该技能在第13节(研究工作流程技能)中有提及。


概述

这项技能赋予AI编码助手对您的Zotero库的完全CRUD访问权限。通过终端程序化搜索、添加、分类、注释和组织参考文献。

完整列表请见下方特色。


它能做什么

除了标准的CRUD技能外,这项技能还能完成四项AI代理常常错误地认为不可能的事情:

  • 写入,尽管 Zotero MCP 服务器是只读的。 该 MCP 服务器与此技能是分开配置的;写入通过共享客户端自己的 Web API 密钥,通过环境变量解析,然后是 ~/.claude/.env,再是 config.json。调用 credentials_status() 检查哪个文件被设置(仅布尔和源标签,绝不设置值),而不是自己打开这些文件。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Zotero Skills — AI Coding Assistant Skill for Zotero CRUD

繁體中文版

Comprehensive Zotero library management via dual-API architecture (local read + web write). Works with any AI coding assistant that supports skills or custom instructions.

📚 Part of the agentic AI learning roadmap — a 7-stage curated path for building agentic AI, multilingual (zh-TW · zh-CN · English). This skill is referenced in §13 (research workflow skills).


Overview

A skill that gives AI coding assistants full CRUD access to your Zotero library. Search, add, classify, annotate, and organize references programmatically — all from your terminal.

See Features below for the full list.


What It Can Do

Beyond standard CRUD, this skill does four things an AI agent often wrongly calls impossible:

  • Writes, even though the Zotero MCP server is read-only. That MCP server is configured separately from this skill; writes go through the shared client’s own Web API key instead, resolved from environment variables, then ~/.claude/.env, then config.json. Call credentials_status() to check which one is set (booleans and a source label only, never the value) instead of opening those files yourself.
  • Merge duplicate items, even though the Web API has no merge endpoint: ZoteroDualClient.merge_duplicates() reproduces the core of a desktop merge (move every child, union collections/tags/relations, add a dc:replaces relation, then trash the duplicate, recoverable with restore_item()).
  • Attach a PDF reliably, even over a long Windows path with spaces, which can make pyzotero’s attachment_simple fail silently. ZoteroDualClient.attach_pdf() copies to a short, safe, zot_-prefixed filename first and raises the failed-upload template pyzotero returns (it does not expose a deeper server reason) instead of staying silent.
  • Guide the search for a missing PDF instead of assuming a manual download: check Downloads and Zotero’s storage folder, then, with the user’s OK, a browser MCP in their logged-in session.

See the capability table in skills/zotero-skills/SKILL.md for the full list and what each one does not cover.


Features

Core CRUD Operations

  • Search & Discovery — Full-text search, tag-based filtering, collection browsing, recent items
  • Create Items — Add journal articles, books, conference papers, reports, theses, webpages with full metadata
  • Update & Organize — Edit metadata, manage tags, move items between collections, batch operations
  • Delete & Cleanup — Remove items, notes, collections; duplicate detection

Smart API Routing

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add wenyuchiou/zotero-skills
新手?先看 mcpskill.org 教程 →