Introduction¶
When organizing literature or writing automation scripts, directly fetching paper PDFs from sites like Nature, Springer, or PMC using curl or Python’s urllib often results in getting stuck in HTTP 303 redirect loops, or being blocked by Cloudflare’s “Client Challenge,” “Checking your browser” pages, reCAPTCHA, and proof-of-work (POW) challenges. Command-line clients struggle to execute the JavaScript verification on these pages, and the result is typically not getting the file at all—not even a simple 403 error.
Below, I introduce the SkillHub community skill “Paper PDF Download” (coordinate: @user_96094b40/paper-pdf-download). Its core approach is: use Playwright to drive the locally installed Microsoft Edge (channel=msedge, headless), pass Cloudflare and other JS-based verification in a real browser environment, then locate and download the PDF. It’s designed to be invoked on demand by agents with Skill capabilities, such as Cursor or Claude Code.
What Is This¶
“Paper PDF Download” is a community-sourced (community) development skill, currently at version 1.0.0, published by user_96094b40 under the dev-programming category. The SkillHub page indicates requires_api_key=false—no additional API Key is required.
- Official API endpoint: https://api.skillhub.cn/user_96094b40/paper-pdf-download
- SkillHub showcase page: https://www.skillhub.cn/skills/user_96094b40/paper-pdf-download
It solves the problem of: under legitimate access, retrieving the full-text PDF of a paper from publisher sites protected by Cloudflare / reCAPTCHA / POW, rather than brute-forcing anti-bot chains with a pure HTTP client.
Core Features¶
Based on the publicly available description on SkillHub, the verified capabilities include:
- Target sites: Common academic publishing channels such as Nature, npj series, PMC, Springer, etc.
- Anti-bot types handled: Cloudflare JS verification, reCAPTCHA, POW, and the common 303 infinite redirect loop seen with
curl. - Technical path: Playwright + locally installed Edge (
channel=msedge, headlessheadless), completing challenges in the browser before grabbing the direct PDF link or triggering a download. - Trigger scenarios: When a user needs a specific paper’s PDF; when a page shows a waiting state like “Preparing to download”; or when the command line reports a 303 loop—the agent handles it according to the Skill’s workflow.
SkillHub statistics (based on pre-fetched data): rating 100000, 1278 downloads. Specific commands and scripts are subject to the documentation within the installed Skill package.
Installation & Activation¶
The SkillHub page states: before installing, refer to the SkillHub Installation Guide, and install the coordinate @user_96094b40/paper-pdf-download.
1. Install the SkillHub CLI (if not yet installed)¶
command -v skillhub && skillhub --version
If not installed, use the official script (full install includes default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install This Skill to the Current Agent’s Skills Directory¶
During installation, use --dir to point to the skills directory that the current environment’s agent can recognize; the default ./skills/ may not be loaded.
skillhub install user_96094b40/paper-pdf-download --dir <skills directory>
Common agent directories (excerpted from the SkillHub installation docs—pick the one matching your tool):
| Agent | Skills directory example |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
After installation, you must restart or reload the Skill according to each agent’s documentation for it to take effect.
3. Runtime Environment Prerequisites¶
The public description explicitly requires Microsoft Edge to be installed locally, launched by Playwright via the msedge channel. If the environment lacks Edge or Playwright dependencies are missing, they must be set up first per the Skill package’s instructions; otherwise, Cloudflare-type verification cannot be passed.
Typical Usage¶
This Skill is designed for agent conversational use: once the Skill is installed in the appropriate directory and activated, simply describe your needs in natural language, and the agent will invoke Playwright + Edge per the package’s SKILL.md.
A reproducible interaction outline is as follows (details subject to the installed Skill’s documentation):
- Provide the paper’s landing page URL or the URL resolved from a DOI (e.g., a Nature or PMC article page).
- Specify that you need the full-text PDF, and describe the anti-bot symptoms encountered (303 loop, challenge page text, etc.).
- The agent loads the page in headless Edge, waits for verification and redirects to complete, then retrieves the PDF and saves it to the specified path.
The public SkillHub page does not provide a standalone one-click CLI example; do not fabricate script names or configuration options without reading the Skill package.
Use Cases & Notes¶
Suitable for:
- Researchers and engineers fetching single or batch PDFs within an agent, where the target sites have Cloudflare / reCAPTCHA / POW protection.
- Situations where a browser can open the paper page normally, but automated HTTP clients fail.
Limitations & Cautions:
- Compliance & Authorization: Use only for literature you have the right to access; institutional subscriptions, open access, and publisher terms are your responsibility.
- Environment dependencies: Requires local Edge + Playwright; environments without Edge should first verify whether the Skill provides an alternative (the public description defaults to Edge).
- Site variability: Different publishers have different redirect chains; downloads may take longer, and occasional cases may still require manual reproduction in a visible browser.
- No API Key:
requires_api_key=falsedoes not mean there are no network or rate limits. - Version: The currently registered version is 1.0.0; upgrades can be performed via
skillhubunder the corresponding--dir.
Conclusion¶
“Paper PDF Download” transforms academic PDF downloading from “HTTP client brute-forcing” to “browser kernel passes verification, then retrieves the file.” The contrast with curl/urllib failing on 303 and POW challenges is precisely the core motivation stated in the Skill’s description. If you’re working with Nature, Springer, or PMC links in environments like Cursor, you can install @user_96094b40/paper-pdf-download as described above and delegate anti-bot page handling to the agent per the Skill’s workflow.