/academic-research:retrieving-pdfsfrom academic-research
Plans and executes PDF retrieval for Zotero items using API cascade, OpenAlex, browser/Connector pass, or manual downloads. Diagnoses items still missing PDFs.
Ships in academic-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Glossary: unfamiliar with MCP, DOI, SFX, TDM, FE-code? See skills/_glossary.md.
This skill owns PDF retrieval end to end: plan with the user, then execute. There is no fixed order of retrieval modes. You classify the queue, show the user what each mode would get, agree an order with them, write it down as the strategy, and execute it step by step — and a later session resumes it from the file.
systematic-review and zotero-operations load this skill (REQUIRED
SUB-SKILL) whenever PDFs are to be retrieved. Everything about retrieval
lives here; those skills only decide when.
Plugin tools. The steps call the tools of the plugin's own
academic-research MCP server by bare name (pdf_plan,
start_enrich_pdfs, …); in Claude Code they appear as
mcp__plugin_academic-research_academic-research__<name>, on other
hosts with that host's prefix. start_* tools are jobs: follow one
with job_status; when it is awaiting_user, relay its prompt and
pass the user's answer to job_answer; stop it with cancel_job. The
server runs one Zotero-writing job and one browser job at a time and
refuses a second. If the tools are not available, run the terminal
equivalent with Bash instead and tell the user once how to enable the
server (see Terminal equivalent in the glossary).
check_setup tool (terminal equivalent:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/check_configured.py").
NOT CONFIGURED → stop and send the user to /setup (in a terminal;
never ask for keys in chat).group / user, --group / --user).pdf_strategy_show (terminal
equivalent: uv run ${CLAUDE_PLUGIN_ROOT}/scripts/pipelines/pdf_strategy.py show).
If a strategy exists and is not complete, tell the user where it
stopped (steps done, their results, the next step) and ask whether to
carry on, re-plan, or start over. A running step means a session ended
mid-step: check that step's output (the audit, list_jobs, the
browser run's --progress-json) before re-running it.Call pdf_plan with lookups: "openalex" — the default
recommendation. It never writes to Zotero; it reads the library, the run
and failure logs (output/pdf_attach_log.csv, output/pdf_fetch_log.csv),
the audit's key files and the caches, and asks OpenAlex one keyless
metadata question per 50 items. Keyless means it cannot be billed to
anyone and downloads no PDF; what it buys is the exact number of items
the paid Content API holds (has_content.pdf) and which ones have a free
copy within the [pdf] policy.
lookups: "none" — caches and logs only, no network beyond the Zotero
read; seconds. Paid reachability is then reported as unknown, with
a cost ceiling. Never present that ceiling as an estimate of the
cost.start_pdf_plan (a background job; follow it with job_status) —
also asks Crossref and the library link resolver about every uncached
item, so the browser / EBSCOhost / Connector / no-route split is exact.
Roughly 2 s per uncached resolver query; the estimate is in the first
lines of the job's log — read it out before the user waits on it. The
answers are cached, so the browser pass afterwards starts warm. Worth it
when a browser or Connector step is likely and the queue is not tiny.Terminal equivalent: uv run ${CLAUDE_PLUGIN_ROOT}/scripts/pipelines/enrich_pdfs.py --plan-strategy --plan-lookups openalex --group <id> (--filter-keys-file
narrows the scope, --library <name> picks the institution). Output:
.claude/pdf/plan.json and .claude/pdf/plan.<route>.keys.
Read the summary back in plain words. The plan gives each item without a PDF two routes:
routes — where it goes first under the default order:
api (a publisher API with a configured key, or a free copy within
policy), api_untried (the free cascade has never asked about it — it
always runs first, it is free), paid_openalex, browser (a publisher
handler; browser_publishers says which ones need a Cloudflare / SSO
solve), ebsco (the library route to EBSCOhost — browser pass, but no
challenge), connector (library route or doi.org via the Zotero
Connector), other_library (routes only at an institution whose
network is not up now), manual (no automated route left), no_doi.fallback_routes — where each item would go if the API sources
fail it. This is the number the user decides the rest of the order
with: "the API will likely get 300; of what it may miss, 120 sit behind
two Cloudflare publishers and 80 have no automated route at all".Also say: the consent section — per site on a browser, EBSCOhost or
Connector route, how many items depend on it and whether the user has
allowed, denied or not yet answered automated download (Step 3 asks);
the paid count and its cost ($0.01 per PDF), items below policy (a copy exists but below min_version), the audit flags on the
queue (retry.manual, retry.below_policy, …), publisher APIs with a
missing credential (signals.publisher_api_missing_key — /setup
fixes that, and it is the cheapest win there is), and no_doi items
(their DOIs have to be found first — start_enrich_dois /
zotero-operations — or they can only be found by hand).
Ask, in one message, and give your recommendation with each:
api, paid, browser, connector,
unattended, manual. The API cascade first, always — it is fast and nothing in it
depends on a page layout, a challenge or the user. After it:
prefer before the free open-access sources, last_resort after
them). Put paid in the order as its own step only to move it
later — e.g. after the browser pass but before manual downloads
(the api step then runs with --paid off).ebsco count (no challenge at all). Offer connector alone
only when the resolver routes most of the residue to platforms
without a handler.unattended run when the browser queue is long (hours
of publisher items) and the user would rather not sit through it: the
same browser pass in two phases — a short setup now, with them
(one challenge / sign-in per publisher, each Connector host
confirmed), then the run with nobody there. Whatever needs a
person during the run is deferred, never waited on, and becomes the
next manual queue. Say plainly: session lifetimes were not
measured, so start the run soon after the setup; EZproxy logins do
not survive a browser restart, so proxied routes usually defer; it
is slower than an attended pass. Put unattended in the order
instead of browser, not beside it.unattended step's
setup phase. Steps that need nobody (api, paid, the unattended
run phase) can run while they are away.unattended
step is refused without a yes. A yes is not a reason to start an
attended browser or connector pass while they are away.consent section that is still ask (not answered) and that the
chosen order reaches with browser or connector — see Consent
below.policy.stored is false in the
plan: every value came from the defaults): min_version
(published | accepted | preprint), reconstructed, paid. See
Retrieval policy below for what each means. Recommend accepted /
false / prefer unless the review needs page-exact quotation
(published).Then write it:
pdf_strategy_write — order (e.g. api,paid,manual or
api,unattended,manual), present,
unattended, and the policy values if they were agreed. It refuses to
replace an existing strategy unless force; only replace one the user
agreed to replace.screening_config.py): pdf_policy_write
writes PDF_MIN_VERSION / PDF_RECONSTRUCTED / PDF_PAID into it.
This is the right home: the version a review codes from is a
methodological decision of that review, it is recorded with the
review, and it is the only tier you may write;[pdf]
settings, which only /setup writes — ask the user to run it in a
terminal (never read or edit ~/.config/academic-research/config.toml);policy_where: "strategy": every step then carries --min-version
/ --paid itself (reconstructed has no per-run flag and stays as
stored).Terminal equivalents: pdf_strategy.py init --order … --present yes|no [--unattended yes|no], pdf_strategy.py policy --min-version …. Never
edit .claude/pdf/strategy.toml by hand.
When the plugin itself drives a site — a publisher browser handler,
EBSCOhost, or the Zotero Connector saving from the page the library's
link resolver opens — whether that is permitted depends on the
institution's licence and the site's terms. So each site has a stored
answer, in the user's config (it applies to every project):
allow, deny, or ask (not answered). No other mode asks: the
publisher APIs (Elsevier, Wiley TDM, Crossref TDM) and the open-access
sources are channels the publisher offers for this, and in manual
download the user is the one clicking.
A missing answer never means yes. A browser or Connector run that
cannot ask — --no-prompt, every --control-file run you drive, an
unattended run — skips each site without allow and logs its items
CONSENT_NEEDED. So when the order includes browser or connector,
put the question in the planning conversation, per site, with the
plan's numbers:
consent section (or
pdf_consent_show, which adds the stored answers and dates);ask, tell the user the site, the mode (browser
handler or Connector), the item count, and the terms link — give
the link, never a summary of what the terms say; where no link is
recorded, say so and name the site's home page;pdf_consent_set (pdf_consent.py set --site <site> --automated allow|deny). "Decide later" records nothing: those items are skipped
as CONSENT_NEEDED, and a run in the user's own terminal asks them
itself (allow / once / deny / not now).Never record an answer the user did not give, and never treat silence,
"sure, whatever is fastest" about the strategy, or an earlier answer for
a different site as consent. A deny is not a dead end: those items go
to manual (retry.consent_denied.keys opens first). The site keys:
a handler's name (sage, tandf, …), ebsco for all of EBSCOhost, a
platform for the Connector (jstor, proquest) or a host
(degruyter.com); doi.org stands for "wherever a DOI link lands" when
the landing site is not known. The user can review and change every
stored answer in /setup.
Autonomous runs. When the calling skill runs autonomously, fold these
questions into its single up-front proposal. With no answer, run the
api step under the stored policy and stop with the plan on screen —
the other modes need the user.
Loop until pdf_strategy_show says the strategy is complete:
pdf_strategy_show gives the next step, whether it needs the user
(blocked_until_user_present), its MCP tool with the exact
tool_arguments to pass, and the equivalent terminal command. Call the
tool with those arguments (or run the command verbatim); do not
compose your own. Every start_* tool is a job: follow it with
job_status until it ends.pdf_strategy_update with status: "running".pdf_strategy_update with done (or failed / skipped) and a
one-line result ("attached 212, 88 left; 61 BROWSER_REQUIRED").
If the user is leaving, update present: "no" so the next session
knows.Re-plan (pdf_plan, lookups: "none" is enough) when a step changed the
picture a lot — the counts for the remaining steps are what the user
agreed to.
api and paidBoth are background jobs; a large library takes 5–15 minutes.
start_enrich_pdfs — the free API cascade. It never pays: the
paid OpenAlex source is switched off in it.start_enrich_pdfs_paid — [costs money]: $0.01 per PDF the
OpenAlex Content API serves, billed to the user's key. scope: "paid_only" is the paid step; scope: "cascade" (or
cascade_prefer / cascade_last_resort) is the api step when paying
sits inside the cascade under the policy. pdf_strategy_show says
which, in tool_arguments. Say the plan's count and cost before you
start it, every time — the user agreed to the strategy, not to an
open-ended bill.The first lines of the job's log give the effective [pdf] policy with
where each value came from: check it says what was agreed. Without the
MCP server, run the strategy's command with Bash and
run_in_background: true.
Journal articles only unless --item-types journalArticle,bookSection,book
admits more; an admitted type is never logged OUT_OF_SCOPE.
browser and connectorTell the user before launching: "Next: the browser pass. A Chromium
window will open on your desktop; for some publishers you may need to
click through a Cloudflare challenge or sign in once. Ready?" — and wait.
First use needs a one-time uvx playwright@latest install chromium (the
setup wizard pre-approves it).
Just before it, enrich_pdfs_plan shows the publisher queue in run
order and which publishers will ask for an interactive solve (mode: "connector" for a Connector-only step).
Run the pass yourself — do not send the user to a terminal. You have
no controlling TTY, but --control-file moves the prompts into a file
you poll, while the Chromium window opens on the user's screen and they
solve every challenge. The strategy's command already carries the flags:
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/pipelines/enrich_pdfs.py \
--sources browser --browser-workers 4 \
--control-file .claude/pdf/browser.json \
--progress-json .claude/pdf/browser-progress.jsonl --group <id>
Start it with run_in_background: true, then loop:
.claude/pdf/browser.json;state is awaiting_user, relay prompt to the user
verbatim — it names the publisher whose challenge is on screen;.claude/pdf/browser.json.reply as
{"seq": <the seq you just read>, "answer": "<their answer>"};state stays running and the process exits.Always echo back the seq you read: a reply carrying an old seq is
ignored by design, which stops a stale answer from clearing a challenge
nobody looked at.
Expect long silences. The run asks only when something needs a
human: it opens each publisher's first page and waits for the challenge
to clear on its own, which it usually does (the browser profile
persists). Read --progress-json to tell a working run from a stuck one:
one JSON object per line (publisher_start, item, publisher_done,
routes_start / routes_progress / routes_done for the library-route
lookups before the Connector pass, run_done); report progress from it.
--browser-workers N drives each publisher on N tabs of one
Chromium profile, so one Cloudflare / SSO solve covers them all. Each
handler caps it at its own concurrency — 1 for every direct publisher
handler, 4 for EBSCOhost, always 1 for the Zotero Connector — and says
so when it does. Do not raise a handler's concurrency: those 1s are
measured limits, and exceeding one costs the publisher for the whole
run plus the shared profile's clearance.--auto-publishers (the audit's
retry.browser.keys); one publisher alone with
--sources browser --publisher <name> --filter-keys-file .claude/audit/audit.retry.browser.<name>.keys.--no-prompt answers every challenge with "skip" — never instead of
the control file when the user is there. For a run nobody will watch,
use the unattended step instead: its setup solves the challenges
first, and its run defers (rather than skips) what still needs a
person.allow
is skipped (CONSENT_NEEDED), a denied one goes to manual
(CONSENT_DENIED). Record the answers first (Consent above); after
the run, the audit's retry.consent_needed.keys is the set to re-run
once the user has answered.[library] openurl_base entries, pass --library <name> for the
institution whose VPN or login is up now (the run banner lists the
names). Every library is still consulted, but only that one's links are
opened; items whose only route is at the other library are deferred,
not logged — re-run with the other --library on its network. Switch
this way, never by editing config.toml. A warning about cache entries
that "predate per-library keys" means run once with
--adopt-legacy-resolver-cache <name>, naming the library that was
first in the list when that cache was built; ask the user if you do
not know.[library] direct_access in their config.toml (the user does
that, not you) and re-run.unattendedThe browser pass as a long unattended run, in two jobs.
pdf_strategy_show reports the step's phase — setup until a setup
has been recorded (.claude/pdf/unattended.json), then run — and the
tool for it.
Setup — with the user (start_pdf_unattended_setup). Record
consent first (Consent above): the setup never relays a consent
question, and a site without a recorded allow is noted
consent_needed and skipped by the run. Tell the user a Chromium window
will open and walk them through it. For each publisher in the queue the
job opens its page and asks whether they can reach the PDF after solving
the challenge / signing in; for each Zotero Connector host it opens the
library route and asks them to clear it and confirm (s skips the host —
its items are deferred). Relay each job_status prompt verbatim and pass
their answer with job_answer, exactly as for the attended pass. It
downloads nothing and writes nothing to Zotero. Its log ends with
UNATTENDED: phase=setup sites=… solved=… hosts_confirmed=…; read the
per-site lines back to the user.
Run — nobody needed (start_pdf_unattended_run). Start it right
after the setup (no lifetimes were measured; a session that expires
costs that publisher's remaining items, deferred). Zotero Desktop must
stay running for the Connector items. The run never asks anything: it
re-checks each publisher's session before it and every 15 minutes
within it (--recheck-minutes, [pdf] unattended_recheck_minutes), and
an expired clearance, a sign-in page, an unconfirmed host, Zotero Desktop
not running or three unexplained failures in a row defer the item as
DEFERRED_NEEDS_USER (the reason is in the run log's detail). The
network-outage breaker still stops a run on a dead connection. Pacing
is twice as slow as an attended pass. Follow it with job_status; it
never reaches awaiting_user.
Summary. The job's log ends with the summary — attached, deferred by
reason, consent skips, failures split into transport errors and access
failures on the run's network vs. another — and the line UNATTENDED: phase=run items=… attached=… deferred=… failed_items=… network_errors=….
Read it to the user, then run the audit: the deferred items are
retry.deferred.keys, and they open first in the next manual cycle.
Access failures recorded on another network are not this run's evidence
about access: re-run them on that network before calling anything ILL.
manualOne call per cycle — pdf_manual_next (enrich_pdfs.py --manual next):
batch_size,
[pdf] manual_batch_size) in the user's own browser — the library
route, else doi.org. If a route needs a proxy sign-in, only that tab
opens: tell the user to sign in and download it; the rest open on the
next call.[pdf] downloads_dir, default ~/Downloads)
into output/pdf_staging/batch-N/; unfinished downloads wait.pdf:manual, version-tagged, [pdf] min_version applies).Tell the user to download what they can from the open tabs and say
"done"; then run the next cycle. Relay the summary line (opened,
attached, unmatched, remaining). After the last batch call
pdf_manual_collect. Items in retry.manual, retry.below_policy,
retry.consent_denied and retry.deferred (what an unattended run set
aside) open first.
Never assign a file yourself. An unmatched or ambiguous file is
listed with its candidates — ask the user which item it is, then
pdf_manual_assign with the key they name (or pdf_manual_ignore for
a stray file). Not your best guess, not the likeliest candidate. State is
in .claude/pdf/manual_state.json, so a later session resumes where this
one stopped.
Never go from "the cascade failed" to "tag it unavailable". Most of what the API cascade fails on is not unreachable — it is reachable by a route not yet tried. On a real 244-item run, 76 of 119 apparent failures were Sage and Academy of Management articles that one browser pass recovered; the pipeline had reported all 119 as "no fulltext available".
After every step, run the audit — audit_library (terminal
equivalent: uv run ${CLAUDE_PLUGIN_ROOT}/scripts/pipelines/audit_zotero_library.py --group <id>) — and read its retrieval report:
PDF retrieval: 125/244 attached · 110 still missing
publisher n cause next step
Sage 48 BROWSER_REQUIRED --sources browser --publisher sage
Academy of Management 28 BROWSER_REQUIRED --sources browser --publisher aom
IEEE 16 BROWSER_REQUIRED Not an exclusion — run enrich_pdfs.py --sources browser
Wiley 8 ACCESS_BLOCKED Flag for ILL — paywall, full text exists
102 of the 110 are recoverable — they have not been through every route yet.
Report this to the user and say how many items each next step would recover — "76 of these 110 are behind Cloudflare at two publishers and one browser pass gets them" is a decision; "110 items failed" is not. If a later step of the strategy already covers them, say so and carry on.
A BROWSER_REQUIRED row with no --publisher (IEEE above) means no
per-publisher handler covers the DOI — not that nothing can be done:
the link resolver's platforms (EBSCOhost, JSTOR, ProQuest) and the
Connector key on the item, and the plain browser pass reaches both. After
an API-only run expect no UNAVAILABLE rows at all.
Then act by cause:
| Cause | Meaning | What to do |
|---|---|---|
BROWSER_REQUIRED | A route the plain-HTTP cascade cannot take is still untried — a Cloudflare-gated publisher whose handler has not run, or no handler but the browser pass has not run, leaving the link resolver and the Connector ahead of the item | The browser step (retry.browser.keys, or retry.browser.<publisher>.keys for one), or manual. Not an exclusion. |
ACCESS_BLOCKED | Paywalled; the full text exists. With a Wiley prefix and no token, configure WILEY_TDM_TOKEN via /setup and re-run api | manual (the user's own access may differ), else the ILL list (retry.ill.keys). Not an exclusion. |
NETWORK_ERROR | Transport failure | Re-run the step (retry.network.keys). Not an exclusion. |
CORRUPT_DOWNLOAD | A source served bytes that are not a usable PDF — usually truncated | A different source: the same one returns the same bytes. The publisher route, browser, or manual. Not an exclusion. |
NO_PDF_OFFERED | The Connector opened the library's route and its translator finished without a PDF — usually an HTML-only galley; nobody refused access | manual (retry.manual.keys opens first): save the HTML full text or find the PDF link. Not ILL. Not an exclusion. |
VERSION_BELOW_POLICY | A copy below [pdf] min_version was found and set aside in <cache>/below_policy/, not attached | Get the published version another way (retry.below_policy.keys: paid, browser, manual), or ask whether to lower PDF_MIN_VERSION. Not an exclusion. |
CONSENT_NEEDED | Automated download from the item's site (a browser handler, or the page the Connector would save from) was skipped: no consent recorded, and the run could not ask (--no-prompt, --control-file, unattended). Nothing was attempted | Ask the user about that site (Consent below), record it with pdf_consent_set, re-run the browser step over retry.consent_needed.keys — or manual. Not ILL. Not an exclusion. |
CONSENT_DENIED | The user recorded deny for the site, so the browser pass did not open it | manual (retry.consent_denied.keys opens first). If the user changes the answer to allow, re-run the browser step over that key file. Not an exclusion. |
DEFERRED_NEEDS_USER | An unattended run reached something only a person can do — an expired Cloudflare clearance, a sign-in / SSO / EZproxy login page, a Connector host not confirmed in the setup phase, Zotero Desktop not running, or repeated unexplained failures — and set the item aside instead of waiting. The run log's detail names the reason; nothing was attempted | manual (retry.deferred.keys opens first), or with the user present the browser step over that key file, or --unattended setup again before another run. Not ILL. Not an exclusion. |
UPLOAD_FAILED | Fetched, but the Zotero attach failed | Re-run api: it attaches from the local cache, no new download (retry.reattach.keys). Cheapest of all. Not an exclusion. |
OUT_OF_SCOPE | Book chapter, thesis, preprint | FE2 / FE3 — excluded on item type, not on retrieval; chasing a PDF wastes the user's time |
UNAVAILABLE | Every route tried, nothing found | FE6 — the only cause that justifies a full-text-unavailable exclusion, and only after the preprint offer below |
Before accepting UNAVAILABLE, there is one more route — and it
changes what the item is. enrich_pdfs.py --allow-preprints looks for
a copy on arXiv / SSRN / RePEc. It is off by default because what it
finds is the manuscript before peer review: hypotheses, samples and
findings all move between a working paper and the published article, and
nothing downstream can tell the two apart. Offer it explicitly, say that
is what it does, and let the user decide. Every attachment it produces is
tagged pdf:preprint-version (and pdf:version:submitted);
fulltext_code.py names those items before coding them, and the audit
lists them under preprint_version.
The hard rule: an item may not be tagged <prefix>/fulltext:unavailable until
its cause in the retrieval report is UNAVAILABLE. If you have not run
the audit, you do not know the cause, and you may not tag. The audit
writes the retry sets as key files (retry.browser[.<publisher>],
retry.ill, retry.network, retry.reattach, retry.manual,
retry.below_policy, retry.consent_needed, retry.consent_denied,
retry.deferred, true_negative, out_of_scope) under
.claude/audit/ — feed them straight to --filter-keys-file; never
assemble key lists by hand or with jq.
The pipeline enforces the same rule from its side: pdf_fetch_log will
not classify an item UNAVAILABLE while the browser pass is still ahead
of it. An empty http_status on such a row means not one source ever
answered "not found" — it is evidence of nothing. One live run produced
227 of them; three that had been written into true_negative opened on
the first click through EBSCOhost.
Never silently drop items. A paper with no PDF after every step is a data-quality signal to report, not a failure to hide.
The default enrich_pdfs.py run is ranked by version quality first,
cost second; within a quality tier free sources precede paid ones:
Stage 1 — free version of record ScienceDirect (Elsevier) → Springer
→ Wiley TDM → Crossref TDM → PMC
Stage 2 — paid version of record OpenAlex Content API ($0.01/PDF)
Stage 3 — open access, often the arXiv → OpenAlex OA → Unpaywall
author's manuscript → Semantic Scholar → CORE → OpenAIRE
→ BASE → [preprint, min_version=preprint]
The authoritative order is fetchers.pdf_sources's docstring (and
enrich_pdfs.py --help); read it there rather than restating it from
memory. The paid tier outranks the free stage-3 sources because it serves
the publisher's own, correctly paginated file, while those often hold an
author manuscript whose page numbers do not match; CORE attachments carry
pdf:repository-copy for the same reason.
Three stage-1 sources fail in ways that look like "article unavailable" and are not. Check these before concluding anything:
link.springer.com/content/pdf/<doi>.pdf answers any HTTP client with
an identical ~3 KB Client Challenge page — an Imperva JavaScript
interstitial — regardless of DOI, entitlement or campus network, and a
full browser header set does not change it. Springer DOIs reliably fall
through stage 1 and are recovered by the browser pass (or by hand). A
VPN does not help; the planner does not count them API-likely.application/pdf of plausible size while
X-ELS-Status reads WARNING - Response limited to first page because requestor not entitled to resource. The fetcher refuses to attach it —
but the signal is logged at info level, so a run can produce nothing
from Elsevier while looking healthy. If Elsevier yields no PDFs, suspect
the key's full-text entitlement rather than the articles.--sources wiley is only for a
Wiley-only run.The [pdf] policy is asked in /setup and printed, with each value's
source, at the top of every enrich_pdfs.py run:
min_version — published (version of record only: open-access copies
count only when the publisher hosts them; repository copies are refused
even when they are the typeset PDF), accepted (default), preprint
(also preprints — see the hazard above).reconstructed — attach generated, text-only PDFs rebuilt from
Elsevier XML when only a preview is served (off by default; the older
[elsevier] render_xml_to_pdf still works).paid — off, prefer (default; before the free open-access
sources) or last_resort (only when nothing free has a copy).A project overrides it with PDF_MIN_VERSION / PDF_RECONSTRUCTED /
PDF_PAID in its screening_config.py; one run with --min-version,
--paid or --allow-preprints. A copy below min_version is refused,
set aside in <cache>/below_policy/, and the cascade asks the next
source. Every attached PDF carries pdf:version:published,
pdf:version:accepted or pdf:version:submitted.
%PDF magic bytes and parsed
before it is cached or attached; a "PDF" that is HTML with HTTP 200 is a
Cloudflare or login page, not an article.--log-csv) so the failure can be reproduced.--replace) is library repair, in
zotero-operations.lookups: "none" plan as
an estimate.start_enrich_pdfs_paid without saying what it costs.pdf_consent_set) the user did not give,
or summarised a site's terms instead of giving the link.<prefix>/fulltext:unavailable without an audit
saying UNAVAILABLE..claude/pdf/strategy.toml or screening_config.py by hand
instead of through the tools.~/.config/academic-research/config.toml. Never: it holds API
keys; the scripts read it themselves.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mronkko/claude-academic-research --plugin academic-research14 skills in this plugin
/academic-styleUse when drafting or editing academic prose — topic sentences, paragraph structure, APA-style citations, voice, tense, hedging, term definitions — in a .qmd / .Rmd / .md / .tex file of an academic-research project. Trigger phrases "write this section", "edit this paragraph", "tighten the prose", "APA style". Do NOT use to revise a finished draft — use `critic-loop`. Do NOT use for citation or number accuracy — use `grounded-citations` / `empirical-integrity` / `fact-check`./cluster-screeningUse when screening or coding papers on a GPU cluster or batch scheduler instead of an LLM API — emitting a request manifest, submitting a SLURM job, collecting responses, applying them to Zotero. Trigger phrases "screen on the cluster", "run this on SLURM", "sbatch", "GPU node", "emit a manifest", "apply the responses", "batch screening". Do NOT use for ordinary API-based screening — use `systematic-review`./critic-loopOther plugins' skills for the same job