paper-to-zotero

Installation
SKILL.md

Paper to Zotero

Everything in Zotero: items with their PDFs, filed and tagged; the library tidied, fixed and exported; the notes and structured packages kept beside the papers. This skill never goes online.

Calling. Start every shell call with this statement, filled in with this file's absolute directory, then the commands: set -o pipefail; export PATH="<this directory>/scripts:<this directory>/../paper-fetch/scripts:<this directory>/../paddleocr/scripts:$PATH"; — p2z.py, paper-fetch's pf.py and paddleocr's ocr.py are then found from anywhere in the call, your working directory stays where it is, and a failure anywhere in a pipe sets the call's exit code. p2z.py -h lists the words; p2z.py <word> -h is each one's reference: what it reads, its options, its lines, its exit codes. stdout is data; stderr stays empty when everything is done, so keep it: on exit 1 or 2 its last line says what is left undone or why nothing could go on.

operation where
Import papers: a title, DOI, arXiv id, link, list, .bib or search results references/import.md
A library paper's structured package and PDF, to read or parse Reading a library paper below
Tidy or fix the library: tags, collections, fields, duplicates, attachment titles, the trash references/organize.md
A note: take it out as Markdown, put it back references/organize.md, Notes
Export a collection as BibTeX references/organize.md, Exporting BibTeX

Sibling skills. Each is installed on its own, beside this one; an operation that needs one checks for its SKILL.md when the operation starts:

Installs
26
Repository
uxfion/skills
First Seen
Sep 22, 2026