zotero
Use when user mentions Zotero to search, read, inspect, organize, annotate, import, cite, export, audit, or maintain their local literature database.
- License 许可
- MIT
- 最近更新
- 2026-10-30
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- zotero
- description
- Use when user mentions Zotero to search, read, inspect, organize, annotate, import, cite, export, audit, or maintain their local literature database.
02 资源文件 17
- 参考文档references/citation.md1.6 KB
- 参考文档references/ingest.md1.5 KB
- 参考文档references/maintenance.md1.6 KB
- 参考文档references/notes.md2.1 KB
- 参考文档references/organization.md1.8 KB
- 参考文档references/reading.md1.8 KB
- 参考文档references/search.md2.0 KB
- 参考文档references/workflow.md2.1 KB
- 脚本scripts/zotero_check.py2.9 KB
- 脚本scripts/zotero_citation.py2.4 KB
- 脚本scripts/zotero_client.py19.8 KB
- 脚本scripts/zotero_ingest.py7.2 KB
- 脚本scripts/zotero_maintenance.py5.1 KB
- 脚本scripts/zotero_notes.py7.1 KB
- 脚本scripts/zotero_organization.py8.4 KB
- 脚本scripts/zotero_reading.py5.7 KB
- 脚本scripts/zotero_search.py4.6 KB
03 SKILL.md 正文
Zotero
本地 Zotero 桌面端操作入口。
执行顺序
-
环境自检: 运行本地探针:
python <skill_dir>/scripts/zotero_check.py --json检测失败则终止操作,提示用户确保 Zotero 客户端已启动且本地 API 处于监听状态。
-
定向路由: 根据用户具体意图,查阅下方【功能路由】中的对应参考文件。
-
数据调用: 依参考文件指示调用分类脚本,所有脚本均输出标准 JSON。
-
两阶段安全写入: 任何新建、修改、删除或上传操作,必须先输出清晰的 Plan 待用户确认;用户明确许可后,方可携带
--apply执行。
交互规范
- 文献展示:讨论或汇报任何文献时,必须同时提供完整论文标题与桌面端直达深链接:
- 条目直达:
zotero://select/library/items/<item_key> - PDF 页码直达:
zotero://open-pdf/library/items/<attachment_key>?page=<page>
- 条目直达:
- Token 节约:检索与详情读取默认采用紧凑模式,仅输出科研核心字段;非必要不调用
--raw。 - 并发保护:更新条目或笔记必须传递版本号(
--version <version>);若返回412(版本冲突),停止写入并重新拉取最新版本。
功能路由
| 用户意图 | 参考文件 | 对应脚本 |
|---|---|---|
| 搜索、作者/年份/标签筛选、全文查找 | references/search.md |
zotero_search.py |
| 读取条目元数据、摘要、全文片段、本地文件路径 | references/reading.md |
zotero_reading.py |
| 标签管理、分类调整、字段修改、关联关系 | references/organization.md |
zotero_organization.py |
| 提取划线批注、创建/更新文献研读笔记 | references/notes.md |
zotero_notes.py |
| 导出 BibTeX、CSL-JSON、RIS、格式化引文 | references/citation.md |
zotero_citation.py |
| 录入本地文献条目、绑定上传 PDF 附件 | references/ingest.md |
zotero_ingest.py |
| 库体检审计(缺 DOI/摘要/PDF)、查重、增量追踪 | references/maintenance.md |
zotero_maintenance.py |
| “检索 → 研读 → 笔记 → 归类 → 引用”连续工作流 | references/workflow.md |
多脚本联动 |
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wait-what
Stop. That last message did not land: re-pitch it.
to-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
teach
Teach the user a new skill or concept, within this workspace.
retro
Conduct a retrospective on the current conversation or work session to extract learnings and improve future workflows.
research
Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent.