Skip to content

Cookbook

Real jobs, done two ways. Each recipe states the problem, then shows how to do it via an AI agent (the prompt to give it) and via the CLI (the exact zot commands), and ends with the safety net — backup, dry-run, undo.

Many of these are things people have asked Zotero for over years of forum threads. zotero-agent does them locally, on your own machine.

Before any recipe that writes at scale:

Terminal window
zot backup # snapshot zotero.sqlite (prints the path)
# disable auto-sync in Zotero -> Preferences -> Sync
zot <write> --dry-run # preview what would change
zot undo last # roll back the last apply/enrich (merges excepted)