Zotero library sync

From Drchronx/ai-agent-research-starter-kit · View interactive version

Zotero library sync is an AI agent skill from the GitHub repository Drchronx/ai-agent-research-starter-kit. Synchronize and audit a Zotero literature library for long-term research knowledge management. Use for Zotero Web API or local read-only access, pyzotero workflows, collection design, tag taxonomy, metadata cleanup, PDF attachment status, BibTeX export, DOI checks, and syncing Zotero items into an O

How to use this skill

Skill file

Zotero Library Sync

Use this skill to keep Zotero as the canonical reference library and produce clean exports for Obsidian, literature matrices, and manuscript reference checks.

Core Rules

Credentials

Recommended environment variables:

ZOTERO_LIBRARY_ID=your_user_or_group_id
ZOTERO_LIBRARY_TYPE=user
ZOTERO_API_KEY=your_private_key

Use group libraries with ZOTERO_LIBRARY_TYPE=group.

Workflow

  1. Connect through pyzotero or read-only local mode if no API key is available.
  2. Export core fields:
  1. Audit metadata:
  1. Normalize tag taxonomy.
  2. Export:
  1. Do not change Zotero metadata unless the user explicitly approves write-back.

Recommended Collection Structure

00_inbox
01_to_read
02_reading
03_core_theory
04_methods
05_measures
06_datasets
07_reviews_meta
08_manuscript_citations
99_archive

Recommended Tags

Use stable tags:

field:management
field:psychology
field:neuroscience
field:bci
method:eeg
method:erp
method:scenario_experiment
method:text_mining
method:causal_inference
role:classic
role:must_read
role:method_source
role:measure_source
status:to_read
status:read
status:verified
status:needs_check

Output Template

Zotero library:
Access mode:
Items scanned:
Collections scanned:

Metadata audit:
| Issue | Count | Example | Action |

Exported files:
| File | Purpose |

Next cleanup actions:

Beginner Prompt

Use zotero-library-sync to audit my Zotero library.
Do not display API keys.
Export an Obsidian-ready paper index and a metadata issue table.
Do not write changes back to Zotero until I approve them.

When To Combine With Other Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.