First fill: missing PDFs onto disk¶
The shortest realistic path from “this collection still has holes” to PDFs you can open on your computer.
Outcome¶
You will have scoped one collection, Previewed a fetch, and Grabbed
files onto out/. With the default manual setting you open those files
and Attach the copies you trust. Automatic (Settings) attaches during
Grab when the library can be written.
Grab always writes out/ first. Attach is the write into Zotero, and it
needs Zotero 10 or newer. On Zotero 7–9 the files stay on disk either way.
Starting point¶
The workbench is running (docker compose up →
http://127.0.0.1:8765). Zotero is open on the host with the local API
enabled. You do not need campus EZProxy or a local model for an open-access
pass (Open access on the preset chip).
The screenshots are ocean/BBNJ. The clicks are the same for any collection.
What you’ll do¶
Set the collection chip on Library.
Open Wanted and read Missing / Held / Have.
Preview (selected rows or all).
Grab onto
out/(consumes the preview token). Manual stops there. Automatic also attaches when Zotero is 10 or newer.Open
out/on disk and skim a couple of files (manual, and any hold).Attach into Zotero when you are on manual, or for files Grab held back.
Walkthrough¶
Open Library. Nested collections show item counts and missing-PDF counts. Use the target icon on a row to set the collection chip (it sticks as a cookie).

Open Wanted.
GET /lands here. Counts at the top are Have · Held · Missing. The default tab is the first non-empty bucket. Missing rows use miss-surface icons (hover for the plain-language reason).

Tick the rows you want, then Preview selected (or Preview all). The button labels switch from all to selected as you tick. Preview runs as a background job (the status line under the heading says running), then the page reloads with Grab armed. Activity records the command. If the library changed since preview, Grab refuses (HTTP 409) — preview again.

Choose Grab selected (or Grab all). Files land in the
out/folder on this computer with a provenance stamp (paperful oa:unpaywall, …). On manual (default), Zotero is unchanged until you Attach. On automatic (Settings → After Grab, after your first Attach), matching PDFs are attached when Zotero is 10 or newer.Open
out/in your file manager. Trust the disk before notes or Ask.Back on Wanted, open Held for downloads that need a human look (short PDF, DOI mismatch). Have is already-imported copies.

Tick the copies you trust and choose Attach selected PDFs (or Attach N PDFs to Zotero when nothing is ticked). The main button does not attach DOI mismatches or short PDFs — for those, turn on Advanced, tick Allow DOI mismatch / Allow short PDF, then Preview attach → Attach held PDFs. On Zotero 7–9 the files stay on disk until you attach them in Zotero (
paperful attachon the CLI once you are on Zotero 10 or newer). After your first Attach, Settings → After Grab can switch manual and automatic.System is the doctor table if Wanted shows an amber coach line (no collection, or the library is down). Activity is the command history.

What to notice¶
Preview → Grab is the loop. Manual then Attach after you read
out/. Automatic attaches during Grab on Zotero 10 or newer.Held is not failure. A one-page stub or a DOI mismatch waits for an explicit attach (Advanced can allow those holds).
Found means the DOI inside the PDF matches the library item. Anything else with a file on disk wears a Check stamp. Missing rows say why in one line under the title.
Waiting from Discover (above the tabs) lists papers you kept in a Discover queue, or that a topic watch, keepup digest, or author watch proposed, and that are not in this collection yet. Rows can show Why suggested from the candidate’s
why. It is the same fill desk, not a second one: Preview add → Apply add creates metadata parents for ticked DOIs, then they show up under Missing for Preview and Grab. Title-only rows still need Discover.Open access first. Campus EZProxy is the Campus preset after
paperful session login ezproxyon the host — EZProxy.Not every paywalled or DOI-less item comes back.
You should now have…¶
A collection chip, PDFs under out/ for the rows Grab could reach, and
those copies attached in Zotero if you asked.
CLI equivalent¶
docker compose run --rm paperful gaps -C ocean/BBNJ
docker compose run --rm paperful run -C ocean/BBNJ --preset oa --dry-run
# manual: download only, then attach
docker compose run --rm paperful run -C ocean/BBNJ --preset oa --no-attach
# open out/ yourself
docker compose run --rm paperful attach # every PDF waiting in the manifest; attach has no -C
# automatic is `run` without --no-attach (config attach = true), on Zotero 10+
Next¶
Grow the library if the collection is still thin
Tidy a collection if duplicates or identifiers look messy
How it works for the search order behind Grab
Research pack for works cited inside the PDFs you just filled