Agent skill

Pmc Official Download

by aipoch in aipoch/medical-research-skills

Download PubMed/PMC literature using officially permitted PMC methods.

MITAuto-check passedResearch & Science

Install Pmc Official Download

skills CLI
$ npx skills add aipoch/medical-research-skills --skill pmc-official-download -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills pmc-official-download --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Evidence Insight/pmc-official-download' .claude/skills/pmc-official-download && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pmc-official-download
GitHub stars
1.9k
Token cost
~2.7k tokens
SKILL.md length
1,460 words
Files
6 (incl. scripts)
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Download PubMed/PMC literature using officially permitted PMC methods.

  • Works in 4 steps: Confirm What the User Actually Needs → Determine Whether Legal Download is… → Select the Official Method → …
  • Tasks that involve Academic paper search
  • SKILL.md covers Skill Objective, Trigger Scenarios, Permitted Official Channels and Workflow, plus 15 more sections
  • Runs Python scripts from its folder; calls python; reaches ftp.ncbi.nlm.nih.gov

What it does

Pmc Official Download is an agent skill from aipoch/medical-research-skills. Download PubMed/PMC literature using officially permitted PMC methods. Whenever the user wants to download PMC full text, batch-retrieve PMC Open Access Subset articles, save full text corresponding to PMID/PMCID locally, or needs to determine whether a PubMed article can be l...

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `POLISH_CHANGELOG.md`, `eval_report_pmc-official-download_result.json` and `scripts/download_pmc.py`).

It sits in Research & Science, covering Academic paper search. It works with PubMed. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • Tasks that involve Academic paper search

Example prompts

  • “/pmc-official-download”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Confirm What the User Actually Needs
  2. Determine Whether Legal Download is Possible
  3. Select the Official Method
  4. Leave an Audit Trail When Saving Locally

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • ftp.ncbi.nlm.nih.gov

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pmc Official Download loads about 2.7k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 1,460 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,460 words, ~2,719 tokens.

Download SKILL.mdSave it as .claude/skills/pmc-official-download/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
pmc-official-download
description
Download PubMed/PMC literature using officially permitted PMC methods. Whenever the user wants to download PMC full text, batch-retrieve PMC Open Access Subset articles, save full text corresponding to PMID/PMCID locally, or needs to determine whether a PubMed article can be l...
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

PMC Official Literature Download Skill

Skill Objective

Converge "download PubMed literature" requests into a single legal, traceable PMC workflow:

  • First determine whether the article can actually be obtained through official PMC channels
  • Only use officially permitted PMC services
  • After downloading, retain source, license, and timestamp information for future reproducibility

The core of this skill is not "get any full text as fast as possible" but rather "only obtain legally accessible PMC content through officially permitted methods."

Trigger Scenarios

Use this skill first when the user has requests like:

  • "Help me download this PubMed article"
  • "Save the PMC full text corresponding to this PMID/PMCID"
  • "Batch download PMC Open Access Subset"
  • "Only use official methods to download articles from PMC"
  • "Help me determine if this article can be legally downloaded from PMC"

If the user mentions Sci-Hub, mirror sites, bulk web scraping, bypassing restrictions, or similar approaches, refuse those paths directly and explain feasible alternatives using official PMC methods.

Permitted Official Channels

Only use the following official PMC channels:

  • PMC Cloud Service
  • PMC FTP Service
  • PMC OAI-PMH Service
  • PMC OA Web Service
  • E-utilities
  • BioC API

These are services explicitly permitted by PMC for automated retrieval or downloading. Do not use any other automated scraping methods.

Workflow

Step 1: Confirm What the User Actually Needs

First confirm three things:

  • Whether the input is a PMID, PMCID, DOI, or title keywords
  • Whether the user wants a single full-text article, batch download, or just metadata
  • Whether the target format is XML, JSON, plain text, or PDF

If the user only provides a PMID, first map it to a PMCID, because whether it can be legally downloaded from PMC depends on whether the article exists in the PMC accessible collection.

First determine whether the article belongs to a PMC accessible collection:

  • PMC Open Access Subset
  • PMC Author Manuscript Collection

If not in these collections, do not attempt to bypass restrictions or look for unofficial sites.

State directly:

  • This article cannot be obtained through official PMC full-text download channels
  • If the user needs it, I can help them use the abstract, citation information instead, or look for other legally public sources
Step 3: Select the Official Method

Choose the most appropriate official channel by scenario:

  • For single full-text articles, prefer machine-readable content via BioC API
  • When retrieving XML/JSON by PMID or PMCID, prefer BioC API
  • When batch-syncing a local mirror, prefer PMC OA Web Service or PMC Cloud Service
  • For more general retrieval, location, and record-keeping, use E-utilities
  • For batch metadata harvesting, use OAI-PMH
  • When article packages, XML, PDF, media files, or supplementary materials are needed, prefer PMC FTP Service or PMC Cloud Service

Notes:

  • Only download PDF when it is explicitly provided in the official article package
  • Do not scrape publisher web pages or third-party hosting pages to obtain PDF
  • If the current article package does not contain a PDF, inform the user honestly
Step 4: Leave an Audit Trail When Saving Locally

When downloading, save the following information whenever possible:

  • Original identifier
  • Source service name
  • Download timestamp
  • License/collection information
  • Local file path

Recommended output directory:

text
pmc-downloads/<identifier>/

If writing JSON metadata, use UTF-8 encoding and preserve original Chinese text — do not force-escape Chinese characters.

Recommended Single-Article Download Method

If the user wants full text for a single PMID / PMCID and accepts XML or JSON, prefer the helper script bundled with this skill:

text
python scripts/download_pmc_bioc.py

This script only uses the official PMC BioC API and is suitable for downloading the machine-readable version of a single publicly accessible full-text article.

If the user wants to batch-pull PMC public collections, follow these principles:

  • Prefer using Cloud Service, FTP Service, or OA Web Service from the official PMC dataset page
  • Do not hardcode old download paths
  • If the official page indicates download location or service migration, defer to the current PMC documentation

Output Format

When answering the user, include the following information whenever possible:

  • Whether this article can be downloaded through official PMC channels
  • Which official service was used
  • The downloaded file type
  • File save location
  • If download is not possible, provide a clear reason

Prohibited Actions

  • Using unofficial mirrors, piracy sites, or third-party full-text repositories is prohibited
  • Bulk web scraping of PMC page content is prohibited
  • Bypassing license restrictions is prohibited
  • Treating "can access the web page" as equivalent to "can automate batch downloads" is prohibited

Failure Handling

If an official channel does not return content, troubleshoot in the following order:

  1. Check if the identifier is incorrect
  2. Check if the article is not in the PMC accessible collection at all
  3. Check if the target format is not supported by that service
  4. Check if the current article has license restrictions

If still failing, honestly inform the user of the reason it cannot be downloaded and provide official alternative paths.

Practical Pitfalls

These are the most common gotchas with this skill — pay special attention when handling:

  • The citation_pdf_url on article pages is often just a PDF viewer page, not necessarily a directly saveable binary PDF
  • Before actually downloading, first use PMC OA Web Service to verify whether the PMCID is open, then get the official pdf link
  • Official ftp://ftp.ncbi.nlm.nih.gov/... links can usually be changed to https://ftp.ncbi.nlm.nih.gov/..., which is more stable in local environments
  • After downloading, always check if the file header starts with %PDF to avoid saving HTML as PDF by mistake
  • Even if a title looks like "recent 3-year OA literature," it may not actually be in PMC's Open Access collection — do not judge downloadability by title alone
  • For PMID, do not assume it can directly download full text — first map to PMCID, then determine downloadability
Show full SKILL.md (519 more words)Show less

Command Line Usage

Prefer the unified entry point — do not rely on modifying constants at the top of scripts, and do not make yourself remember two script names:

bash
python scripts/download_pmc.py --pmcid PMC13011518 --pmcid PMC11656652 --pmcid PMC11787101
python scripts/download_pmc.py --identifier PMC11787101

If the user has already provided a set of PMCIDs, PMIDs, or download directory, pass them directly to download_pmc.py rather than temporarily modifying code. Only fall back to the underlying scripts when you explicitly need to debug BioC or PDF details separately.

When to Use

  • Use this skill when the user explicitly needs to perform the core task of pmc-official-download and has provided the minimum executable input.
  • Use this skill when you need a structured deliverable rather than general advice.
  • Use this skill when the current task can be completed using this skill's bundled scripts, templates, or reference materials.

When Not to Use

  • Do not proceed when required input files, identifiers, parameters, or context are missing — ask the user to provide them first.
  • Do not assume capabilities beyond this skill's declared scope when the user requests external operations or inferences.
  • Do not proceed without user confirmation when overwriting existing results, executing high-cost batch operations, or expanding task scope.

Required Inputs

FieldRequiredFormat/SourceExampleIf Missing
User task descriptionYesTextResearch question, writing goal, analysis objectiveStop and ask user to provide
Primary input materialDepends on taskText, file path, ID, table, or literaturePMID, PDF, CSV, DOCX, keywords, etc.Specify which material type is missing
Output preferenceNoTextLanguage, format, target journal, templateUse skill default format

Output Contract

  • Primary output: Structured result or target file aligned with this skill's objective.
  • Optional output: Intermediate check notes, issue list, supplementary suggestions, or generated file paths.
  • Format requirement: Unless the user specifies otherwise, prefer stable, reviewable Markdown or JSON; if the skill's bundled script requires a fixed format, use that format.
  • If partially complete: Must explicitly mark as PARTIAL and state which steps are completed and which remain.

Failure Handling

  • Missing critical input: Explicitly state which fields, files, or identifiers are missing and pause.
  • Script, template, or resource execution failure: Report the failing step, likely cause, and recovery suggestions — do not silently degrade.
  • Partial completion only: Return the verified portion first, then list remaining blockers and suggested next steps.

User Checkpoints

  • Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.
  • Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.

Input Validation

This skill accepts requests that match the documented purpose of pmc-official-download and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

pmc-official-download only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Quick Validation

  • Check that key scripts, templates, or reference file paths this skill depends on exist.
  • Check that the final output contains the core fields, sections, or files specified for this task.
  • Check that results clearly mark assumptions, limitations, and incomplete items.

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts) in scientific-skills/Evidence Insight/pmc-official-download of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_pmc-official-download_result.json
  • scripts/download_pmc.py
  • scripts/download_pmc_bioc.py
  • scripts/download_selected_pmc_pdfs.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Pmc Official Download next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pmc Official Download compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pmc Official Download this skillaipoch/medical-research-skills1.9k—~2.7kAutomated safety check: PassMIT
Literature Reviewneflibata-feng/MyArxiv-Agent12620 repos~5.9kAutomated safety check: NotesMIT
Citation ManagementK-Dense-AI/claude-scientific-writer2.4k2 repos~3.9kAutomated safety check: NotesMIT
Citation Managementneflibata-feng/MyArxiv-Agent12619 repos~8.1kAutomated safety check: NotesMIT
Paper Searchopenags/paper-search-mcp2.8k—~1.2kAutomated safety check: NotesMIT
Nature Academic Searchwp-a/nature-academic-search304—~1.4kAutomated safety check: PassMIT

Similar skills

  • Literature Review

    neflibata-feng/MyArxiv-Agent

    Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.).

    126 GitHub starsUsed in 20 repos~5.9k tokens
    Research & ScienceAuto-check: notes
  • Citation Management

    K-Dense-AI/claude-scientific-writer

    Finds papers in OpenAlex, PubMed and Google Scholar, turns DOIs, PMIDs and arXiv IDs into clean BibTeX, and validates citations for a manuscript or thesis.

    2.4k GitHub starsUsed in 2 repos~3.9k tokens
    Research & ScienceAuto-check: notes
  • Citation Management

    neflibata-feng/MyArxiv-Agent

    Comprehensive citation management for academic research. An agent skill from neflibata-feng/MyArxiv-Agent.

    126 GitHub starsUsed in 19 repos~8.1k tokens
    Research & ScienceAuto-check: notes
  • Paper Search

    openags/paper-search-mcp

    Search, download, and read academic papers from 20+ sources (arXiv, PubMed, Semantic Scholar, CrossRef, etc).

    2.8k GitHub stars~1.2k tokensUpdated 9 days ago
    Research & ScienceAuto-check: notes
  • Nature Academic Search

    wp-a/nature-academic-search

    A skill your agent uses when users ask to 找文献、做文献检索、查论文、查临床试验、核验引用、去重文献、设计 PubMed/MeSH 检索式、追踪上下游引文、解析 DOI/PMID/PMCID/arXiv/OpenAlex/Semantic Scholar/NCT ID, 或导出 RIS、BibTeX、NBIB、ENW;also use for…

    304 GitHub stars~1.4k tokensUpdated 9 days ago
    Research & ScienceAuto-check passed
  • Journal Selector for Manuscripts

    huangwb8/ChineseResearchLaTeX

    Recommends journals for a manuscript by filtering a bundled impact-factor catalog, verifying scope and quality online, and writing a ranked Markdown report.

    2.9k GitHub stars~1.7k tokensUpdated 7 days ago
    Research & ScienceAuto-check passed

More from aipoch/medical-research-skills

All 578 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    1.9k GitHub stars~2.2k tokensUpdated 24 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    1.9k GitHub stars~1.4k tokensUpdated 24 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    1.9k GitHub stars~3.7k tokensUpdated 24 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    1.9k GitHub stars~1.8k tokensUpdated 24 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    1.9k GitHub stars~1.7k tokensUpdated 24 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    1.9k GitHub stars~1.3k tokensUpdated 24 days ago
    Auto-check passed

Works with

Questions about Pmc Official Download

What does Pmc Official Download do?

Download PubMed/PMC literature using officially permitted PMC methods. Pmc Official Download is an agent skill from aipoch/medical-research-skills. Download PubMed/PMC literature using officially permitted PMC methods.

When should I use Pmc Official Download?

Pmc Official Download fits situations like: tasks that involve Academic paper search.

How do I install Pmc Official Download in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill pmc-official-download -a claude-code`. Or copy the skill folder (scientific-skills/Evidence Insight/pmc-official-download in aipoch/medical-research-skills) into .claude/skills/pmc-official-download in your project. Claude Code loads it when a task matches its description.

How do I install Pmc Official Download in Codex?

Run `npx skills add aipoch/medical-research-skills --skill pmc-official-download -a codex`. Or copy the skill folder (scientific-skills/Evidence Insight/pmc-official-download in aipoch/medical-research-skills) into .agents/skills/pmc-official-download in your project. Codex loads it when a task matches its description.

Can I use Pmc Official Download in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill pmc-official-download -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pmc-official-download, .gemini/skills/pmc-official-download, .github/skills/pmc-official-download and .opencode/skills/pmc-official-download in your project.

What does Pmc Official Download need to run?

Going by SKILL.md and its folder, Pmc Official Download needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Pmc Official Download access the network?

SKILL.md names 1 domain. In commands or code: ftp.ncbi.nlm.nih.gov; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Pmc Official Download safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Pmc Official Download use?

Pmc Official Download is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pmc Official Download use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pmc Official Download?

Skills that share tags, products or a category with Pmc Official Download: Literature Review (neflibata-feng/MyArxiv-Agent, 126 stars), Citation Management (K-Dense-AI/claude-scientific-writer, 2.4k stars), Citation Management (neflibata-feng/MyArxiv-Agent, 126 stars) and Paper Search (openags/paper-search-mcp, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pmc Official Download?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.