bioc-fulltext-fetch

bioc-fulltext-fetch is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 164 tokens per session (3,295 once invoked), scanned A, original, MIT.

A downloader for structured full text from PubMed and PubMed Central. PubMed is a biomedical literature index, while PubMed Central hosts openly available research papers; the tool splits papers into sections, paragraphs, tables, and chunks suited to RAG, a search method that retrieves source text for an AI model.

In plain words
What is it for?
Use it to fetch papers by PMID or PMCID, extract sections such as Methods, and prepare open-access articles for a vector search index.
Why use it?
It removes the work of downloading and manually splitting research papers before analysis or AI search. It keeps section context and table surroundings while preparing text for later retrieval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to fetch papers by PMID or PMCID, extract sections such as Methods, and prepare open-access articles for a vector search index.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/bioc-fulltext-fetch
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 EthanYoQ/Skill-hub --skill bioc-fulltext-fetch
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: Claude Code, Codex.

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 bioc-fulltext-fetch

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/bioc-fulltext-fetch/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/bioc-fulltext-fetch)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/bioc-fulltext-fetch"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/bioc-fulltext-fetch/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 bioc-fulltext-fetch

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/bioc-fulltext-fetch"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/bioc-fulltext-fetch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,295 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.00164 $0.03295
Opus 5.5 $0.00066 $0.01318
Sonnet 5.5 $0.00033 $0.00659
Haiku 4.5 $0.00016 $0.00330

Measured 2mo ago against content hash 8564f44b7690, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bioc-fulltext-fetch 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 2mo ago.

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.

archives/user-installed-skills/bioc-fulltext-fetch/7e9571b254406b2d/bioc-fulltext-fetch/SKILL.md · 217 lines

How it starts

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

BioC Fulltext Fetch

封装 NLM BioC API,把 PubMed / PMC 文献转成 RAG 友好的结构化全文 chunk。只做全文抽取与切片,不做检索、不做实体标注、不做向量化。

1. 何时使用

触发场景:

  • "把这批 PMID 的全文取下来准备入 ChromaDB / 我有 PMCID 列表要按章节切分做 RAG"
  • "提取 Methods 章节段落 / 找出表格周围的语义文本"
  • "Build vector index from PMC open access papers"
  • "PMC1234567 的全文段落 + 章节标签"
  • "把 100 篇血液 IFI PMID 入向量库"

不要使用本 skill:

  • 用户只要标题/摘要纯文本 → 用 pubmed-eutils efetch
  • 用户要做语义检索找文献 → 用 pubmed-search / europepmc-search
  • 用户要实体标注(基因/疾病/化合物)→ 用 pubtator-entity-search(可在本 skill 输出之上叠加,不替代)
  • 用户要做证据等级评分 → 用 medical-evidence-grading(其内部会调用本 skill 抽 Methods 段落)

2. 跨 skill 协作(显式)

上游 / 下游 skill 协作方式
pubmed-eutils.elink_pubmed_to_pmc() 上游,把 PMID 列表转换成 PMCID 列表,喂给本 skill
europepmc-search.get_full_text_links() 替代源,当 PMC OA 不可用时回退到 Europe PMC 的开放获取链接
pubtator-entity-search 后置叠加,在本 skill 产的 chunk 上做实体标注,不替代本 skill
medical-evidence-grading 下游,调 extract_paragraphs 取 Methods 段落做 sample size / study design 检测

典型 pipeline:

europepmc-search ──► PMID list ──► pubmed-eutils.elink ──► PMCID list
                                                              │
                                                              ▼
                                            bioc-fulltext-fetch (本 skill)
                                                              │
                                                              ├─► [可选] pubtator-entity-search 实体叠加
                                                              ├─► [可选] medical-evidence-grading 证据评分
                                                              └─► LangChain / LlamaIndex 入库

3. 两个 BioC 端点

端点 输入 覆盖 内容
BioC PubMed PMID 全 PubMed (~37M) 标题 + 摘要 + MeSH(结构化)
BioC PMC OA PMCID PMC 开放获取子集(~10M,约占 PMC 25%) 全文章节、段落、表格、图注
摘要级:  https://www.ncbi.nlm.nih.gov/research/bionlp/RESTful/pubmed.cgi/BioC_json/{PMID}/unicode
全文级:  https://www.ncbi.nlm.nih.gov/research/bionlp/RESTful/pmcoa.cgi/BioC_json/{PMCID}/unicode

Read the full file on GitHub · 217 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 217 lines · 164 tokens per session scan A 8564f44b7690

Subscribe to this mod's changes

bioc-fulltext-fetch is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 164 tokens to every session and 3,295 once invoked, about $0.0007 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-09-13.

Related

bioc-fulltext-fetch compared with skills from other repositories

bioc-fulltext-fetch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bioc-fulltext-fetchEthanYoQ/Skill-hubSkill122d agoMITA164Claude Code, Codex
autoresearchYSAA1/harness-workflowSkill31mo agoMITA113Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37k4d agoApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill34ktodayMITA43Claude Code, Codex