academic-paper-download
Skill11 starsChanged 3 months agoMITView on GitHub
Fetch and atomically save structurally and identity-verified academic-paper PDFs from legal open-access sources using a DOI or exact title, with access/license provenance and an adjacent hash manifest. Use for automatic OA retrieval or for a publisher URL that must first be resolved to a DOI and may then require an explicitly selected Chrome or optional CloakBrowser user-authorized browser handoff; supports an injectable transport for embedding in research systems.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Findddx/codex-cn-paper-skillstheir own version, first seen Nov 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Findddx/codex-cn-paper-skills★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- airnow-hourly-obs-fetchSkill
- ai-tech-fulltext-fetchSkill
- ai-tech-rss-fetchSkill
- ai-tech-summarySkill
- apply-environmental-thinkingSkill
- bluesky-cascade-fetchSkill
- convert-image-to-jpgSkill
- dify-knowledge-base-searchSkill
- dify-knowledge-base-uploadSkill
- document-granular-decomposeSkill
- domain-onboardingSkill
- eceee-news-fulltext-fetchSkill
- email-imap-appendSkill
- email-imap-fetchSkill
- email-imap-full-fetchSkill
- email-smtp-sendSkill
- epa-eis-records-fetchSkill
- federal-register-doc-fetchSkill
- fetch-abstract-to-kbSkill
- fetch-meta-from-kbSkill
- fetch-meta-to-kbSkill
- figshare-data-downloadSkill
- gdelt-doc-searchSkill
- gdelt-events-fetchSkill
- gdelt-gkg-fetchSkill
- gdelt-mentions-fetchSkill
- gdelt-web-ngrams-searchSkill
- github-contribution-period-analysisSkill
- nasa-firms-fire-fetchSkill
- notebooklmSkill
- openaq-data-fetchSkill
- open-meteo-air-quality-fetchSkill
- open-meteo-flood-fetchSkill
- open-meteo-historical-fetchSkill
- regulationsgov-attachments-fetchSkill
- regulationsgov-comment-detail-fetchSkill
- regulationsgov-comments-fetchSkill
- remove-similar-imageSkill
- river-outfall-status-visualizerSkill
- sustainability-fulltext-fetchSkill
- sustainability-rss-fetchSkill
- sustainability-summarySkill
- synology-file-stationSkill
- tiangong-auto-researchSkill
- tiangong-auto-research-workbuddySkill
- tiangong-kb-course-fulltext-fetchSkill
- tiangong-kb-course-searchSkill
- tiangong-kb-edu-searchSkill
- tiangong-kb-esg-searchSkill
- tiangong-kb-ingestSkill
- tiangong-kb-patent-searchSkill
- tiangong-kb-report-searchSkill
- tiangong-kb-sci-searchSkill
- tiangong-kb-textbook-searchSkill
- tsinghua-graduate-thesisSkill
- usbr-project-records-fetchSkill
- usbr-rise-fetchSkill
- use-thuenv-presentation-styleSkill
- usgs-water-iv-fetchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Run the downloader and accept success only when the result contains a verified file, SHA-256, size, identity_status: matched, and adjacent …
- Distinctive: line 22
If automatic OA sources are exhausted, or a publisher page requires login, institution access, or interaction, explicitly choose a browser …
- Very specific: line 27
When the user explicitly selects CloakBrowser, also read references/cloakbrowser-handoff.md.
- Very specific: line 29
Keep it outside PaperTransport.
- Distinctive: line 31
Read references/integration.md when embedding the library or injecting a provenance-recording transport.
- Very specific: line 45
After installation, explicitly create the hash-locked CLI runtime and prove it with the network-free smoke test.
- Very specific: line 77
Use fetch schema to inspect the machine contract version.
- Very specific: line 85
Treat exit code 0 as complete, 1 as unresolved, 3 as invalid input, and 4 as retryable transport failure.
- Distinctive: line 89
Before commit, require the requested DOI in document identity metadata or a primary first-page DOI position.
- Distinctive: line 93
Do not treat arbitrary reference-list DOIs as the paper's primary DOI.
- Very specific: line 96
Never infer redistribution permission from successful access.
- Distinctive: line 98
Never select the newest file in Downloads or accept HTML, truncated PDFs, symbolic links, partial downloads, credentials, cookies, …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Academic Paper Download
Produce a structurally verified, identity-bound PDF and adjacent provenance manifest. Require an explicit final output directory and keep automatic resolution in this order: Unpaywall, Semantic Scholar OA, arXiv, then browser handoff.
Workflow
- For a DOI or exact title, select the caller's final output directory. Never guess a research directory. Add author/year when they help disambiguate a title.
- For a publisher URL, first resolve or confirm its DOI. Pass only that DOI to
fetch.py; the CLI does not accept publisher URLs as inputs. - Run the downloader and accept success only when the result contains a
verified file, SHA-256, size,
identity_status: matched, and adjacent manifest. - If automatic OA sources are exhausted, or a publisher page requires login, institution access, or interaction, explicitly choose a browser backend and read references/browser-handoff.md. Prefer the current Chrome session when it already has authorized institutional access. Never silently switch backends after login failure.
- When the user explicitly selects CloakBrowser, also read
references/cloakbrowser-handoff.md.
Keep it outside
PaperTransport; do not use its stealth or humanize features to solve CAPTCHA, Turnstile, paywalls, security warnings, or authentication. - Read references/integration.md when embedding the library or injecting a provenance-recording transport. Read references/env.md for runtime configuration.
CLI
Resolve the installed skill directory to an absolute path. Use the path exposed
by the skill loader or npx skills list --json; do not assume the current
working directory is the skill directory:
SKILL_DIR='/absolute/path/to/academic-paper-download'After installation, explicitly create the hash-locked CLI runtime and prove it
with the network-free smoke test. bootstrap is the only core command that
installs packages; normal commands never install or update dependencies:
python3 "$SKILL_DIR/scripts/runtime.py" bootstrap --locked --json
python3 "$SKILL_DIR/scripts/runtime.py" smoke --offline --jsonThe runtime lives outside the installed skill directory and works for copy,
symlink, and read-only installations. Install requirements-cloakbrowser.txt
only in a separate isolated environment when that optional backend is
explicitly selected. Its browser binary is a separate, preflight-verified
installation; the handoff script never downloads it.
Fetch by DOI:
python3 "$SKILL_DIR/scripts/runtime.py" fetch \
'10.48550/arXiv.1706.03762' \
--out ./papers --format json --prettyFetch by exact title:
python3 "$SKILL_DIR/scripts/runtime.py" fetch \
--title 'A precise paper title' \
--author 'First Author' --year 2024 \
--out ./papers --format json --prettyUse fetch schema to inspect the machine contract version. Only an artifact
whose current manifest records matched identity evidence may return
skipped: true. Read
references/env.md when embedding the library or diagnosing
Python/runtime compatibility.
Result Rules
- Treat exit code
0as complete,1as unresolved,3as invalid input, and4as retryable transport failure. - Require
pypdfparsing, at least one page, a final%%EOF, matching size, and SHA-256 before committing the PDF and manifest. - Before commit, require the requested DOI in document identity metadata or a primary first-page DOI position. If no primary DOI is available, require a strong title match and treat available author/year disagreement as a mismatch. A title found only in first-page text also needs matching author or year evidence.
- Do not treat arbitrary reference-list DOIs as the paper's primary DOI. A scanned/no-text PDF without defensible embedded metadata is unresolved and requires manual verification; it is not a successful artifact.
- Never infer redistribution permission from successful access. Preserve
access_basis,license_status, and source-declared license fields. - Never select the newest file in Downloads or accept HTML, truncated PDFs, symbolic links, partial downloads, credentials, cookies, passwords, or session tokens.
Provenance
scripts/paper_fetch/ selectively adapts MIT-licensed ideas and code from
Agents365-ai/paper-fetch at commit
c3baaa3d5df9a7eecb16fc2b4c8d10416f59bcb7. See
LICENSE.paper-fetch.txt for the retained license notice.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

