pm-fulltext

pm-fulltext is a skill for Claude Code from YuanyuanMa03/academic-research-skills. It costs 45 tokens per session (1,038 once invoked), scanned A, original, MIT.

A PubMed tool that finds ways to access a paper's full text from its PubMed ID, or PMID.

In plain words
What is it for?
Use it when you have a PMID and want links to read or download the paper.
Why use it?
It avoids checking DOI, PubMed Central, publisher, and other access pages one by one.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the pm-fulltext plugin — 1 skill shipped together

Good fit Use it when you have a PMID and want links to read or download the paper.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuanyuanma03/academic-research-skills/pm-fulltext
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YuanyuanMa03/academic-research-skills --skill pm-fulltext
Clone the repo
git clone --depth 1 https://github.com/YuanyuanMa03/academic-research-skills

Made for: Claude Code.

Or install pm-fulltext, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pm-fulltext

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/pm-fulltext/github.svg)](https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/pm-fulltext)
Your own site
<a href="https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/pm-fulltext"><img src="https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/pm-fulltext/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pm-fulltext

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/pm-fulltext"><img src="https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/pm-fulltext.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,038 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01038
Opus 5.5 $0.00018 $0.00415
Sonnet 5.5 $0.00009 $0.00208
Haiku 4.5 $0.00005 $0.00104

Measured today against content hash 5f48758f1b1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pm-fulltext scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pm-fulltext/skills/pm-fulltext/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Resolve and present all full-text access options for a given PMID.

Arguments

$ARGUMENTS is a PMID (PubMed ID, an integer like 35641793).

Steps

1. Navigate to the paper page

Use mcp__chrome-devtools__navigate_page:

  • url: https://pubmed.ncbi.nlm.nih.gov/{PMID}/

2. Resolve full-text links (evaluate_script)

Replace PMID_HERE with the actual PMID from $ARGUMENTS:

async () => {
  const pmid = "PMID_HERE";

  // Wait for page to load
  for (let i = 0; i < 20; i++) {
    if (document.querySelector('h1.heading-title')) break;
    await new Promise(r => setTimeout(r, 500));
  }

  // 1. Get DOI from esummary
  const sumResp = await fetch(
    `https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=${pmid}&retmode=json`
  );
  const sumData = await sumResp.json();
  const record = sumData.result?.[pmid] || {};
  const doi = (record.articleids || []).find(a => a.idtype === 'doi')?.value || '';
  const title = record.title || '';

  // 2. Check PMC via elink
  const linkResp = await fetch(
    `https://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&db=pmc&id=${pmid}&retmode=json`
  );
  const linkData = await linkResp.json();
  const pmcLinks = linkData.linksets?.[0]?.linksetdbs?.find(l => l.linkname === 'pubmed_pmc')?.links || [];
  const pmcid = pmcLinks.length > 0 ? `PMC${pmcLinks[0]}` : '';

  // 3. Get publisher links from DOM
  const ftLinkEls = document.querySelectorAll('.full-text-links-list a');
  const publisherLinks = Array.from(ftLinkEls).map(a => ({
    text: a.textContent?.trim() || '',
    href: a.href || '',
    icon: a.querySelector('img')?.getAttribute('alt') || ''
  }));

  // 4. Check free full text availability from DOM
  const hasFreeFullText = !!document.querySelector('.free-full-text');

  // 5. Build access links
  const links = {};

  if (doi) {
    links.doi = `https://doi.org/${doi}`;
    links.scihub = `https://sci-hub.ru/${doi}`;
  }

  if (pmcid) {
    links.pmc = `https://www.ncbi.nlm.nih.gov/pmc/articles/${pmcid}/`;
    links.pmcPdf = `https://www.ncbi.nlm.nih.gov/pmc/articles/${pmcid}/pdf/`;
  }

  return {
    pmid,
    title,
    doi,
    pmcid,
    hasFreeFullText,
    publisherLinks,
    links
  };
}

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 124 lines · 45 tokens per session scan A 5f48758f1b1f

Subscribe to this mod's changes

pm-fulltext is a skill published in the GitHub repository YuanyuanMa03/academic-research-skills (75 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,038 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

Other skills, from other repositories

agent-platform-tuning

Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).

google/skills · 64 tokens

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-alert-configuration

Configures alerting policies in Terraform for Google Kubernetes Engine (GKE) clusters, workloads, and services using PromQL and Google Cloud Managed Service for Prometheus. Use when writing, analyzing, validating, or deploying Terraform alerting policies to monitor GKE service latency, traffic, error rates using…

google/skills · 120 tokens

secops-detection-engineering

Author, validate, test, and deploy YARA-L 2.0 detection rules and evaluate end-to-end detection coverage gaps in Google SecOps. Use when writing new detection rules, tuning existing rules, validating syntax, testing logic against historical telemetry, or evaluating detection coverage against threat intelligence blogs…

google/skills · 129 tokens

application-design-center-design-deploy

Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting…

google/skills · 94 tokens

cloud-run-basics

Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).

google/skills · 53 tokens