retrieving-pdfs
БесплатноБез исполняемых скриптовНе проверенUse when PDFs must be found and attached to Zotero items — planning retrieval with the user, then running the API cascade, paid OpenAlex, the browser or…
от mronkko★ 34 звезды на GitHubОб этом скилле
retrieving-pdfs
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).
Pre-flight (ALWAYS run first)
- The plugin is configured: the
check_setuptool (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). - You know the Zotero library: a group ID or the personal library. Ask
if it is ambiguous; never guess the group ID. Every tool and command
below takes it (
group/user,--group/--user). - Resume before planning. Call
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.
Step 1 — Plan (read-only)
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 withjob_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.
Step 2 — Show the counts
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_publisherssays 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:
Установить retrieving-pdfs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл retrieving-pdfs?
Use when PDFs must be found and attached to Zotero items — planning retrieval with the user, then running the API cascade, paid OpenAlex, the browser or Connector pass, or manual downloads, and diagnosing items still without a PDF. Trigger phrases "attach PDFs", "get the PDFs", "missing PDFs", "download full texts", "fetch PDFs", "manual download". Do NOT use for abstracts, DOIs or other library housekeeping — use `zotero-operations`; for screening or coding — use `systematic-review`.
Как установить скилл retrieving-pdfs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл retrieving-pdfs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic