cli-anything-zotero

Solid

Full-featured CLI for Zotero reference management. Search, import by DOI/PMID, export BibTeX, attach PDFs, semantic search, manage tags/collections, and more. Use this tool whenever you need to interact with a Zotero library programmatically.

AI & Automation 132 stars 14 forks Updated 1 months ago Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
71
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# cli-anything-zotero Agent-native CLI for Zotero 7/8/9 desktop. 40+ commands across four backends. ## Before You Start 1. Run `zotero-cli --json app doctor` first. If `write_ready` is false, follow `next_steps` (start Zotero / install plugin / enable Local API). 2. Prefer `zotero-cli --json ...` for machine-readable results (`ok`, `status`, `code`, `key`). 3. Write ops are appended to a local audit log: `zotero-cli --json audit tail --limit 20` / `audit path`. 4. Optionally run `zotero-cli app check-update` once per session. ## When to Use - User asks to search, find, or look up papers in their Zotero library - User needs to import a paper by DOI or PMID - User wants to export citations or BibTeX - User needs to attach a PDF to a Zotero item - User wants to find available PDFs for items missing them - User asks about collection statistics, duplicates, or annotations - User needs semantic search ("find papers similar to X") - User wants to update metadata, tags, or manage collections ## Key Commands by Task ### Search & Discovery ```bash # Keyword search zotero-cli item find "query" --limit 10 # Search all Zotero fields, tags, notes, and annotations zotero-cli item find "query" --scope fields --limit 10 # Search everything Zotero can search, including full content zotero-cli item find "query" --scope everything --limit 10 # Full-text search inside PDFs zotero-cli item search-fulltext "query" --limit 10 # Semantic search (requires ZOTERO_EMBED_* env vars) zotero-cl...

Details

Author
PiaoyangGuohai1
Repository
PiaoyangGuohai1/cli-anything-zotero
Created
5 months ago
Last Updated
1 months ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

zotero

Control a local Zotero library via the `zot` CLI (read API + the zotero-agent bridge write endpoint): search, read, create, edit, tag, organize into collections, delete, export, and run arbitrary Zotero JS. Use whenever the user wants to query or modify their library, bulk-edit references, fields or tags, manage tags or collections, find items missing metadata (no abstract/date/DOI), get library stats, export citations or format bibliographies, add items by DOI/ISBN/arXiv, find and merge duplicates, or create notes on items. Also for PDFs: read or ask questions about an item's PDF, summarize it at multiple levels (whole/chapter/section), read its highlights/annotations, generate a table of contents / bookmarks / outline for Zotero's reader, and prepare scans — split two-up pages and OCR them to make them searchable. Also to see where disk space goes or reclaim it: shrink oversized PDFs, drop orphan attachments and page snapshots. Requires the zotero-agent bridge plugin installed and Zotero running.

6 Updated 2 weeks ago
alex-roc
AI & Automation Listed

bib-search-citation

Search and cite from local BibTeX/BibLaTeX .bib libraries, including Zotero exports. Use to find, filter, preview, export, or generate LaTeX/Typst citation snippets by topic, author, year, venue, DOI, arXiv ID, keywords, abstract, fields, recency, or claim support. Do not use for manuscript writing or polishing.

1 Updated 1 months ago
dongzhigang13305312738-art
Data & Documents Listed

zotero

This skill should be used when working with a Zotero library — summarizing or reading attached PDFs, organizing items into collections, tagging, adding notes, linking related items, or batch-processing references. Trigger on "Zotero", "my library", "references", "organize my papers/notes", "summarize these PDFs" in a research-library context. Covers the local read API, pyzotero for writes, and direct storage reads for bulk PDF work.

0 Updated 2 days ago
moiri-gamboni