Skills for Real Engineers. Straight from my .agents directory.
science-fulltext-hunting
Agent skill fromyzlin286-wq/Deepscient
Use when you have a DOI/PMID/arXiv id and need the actual PDF or JATS full text, when a download returns HTML instead of a PDF, or when building the methods section and you need page-level quotes; covers the nine-stage fallback chain, how to verify a real PDF, and what provenance to record.
How to install science-fulltext-hunting
npx skills add yzlin286-wq/Deepscient# or add only this skill to Claude Code: copy the folder
dsh-science/skills/science/science-fulltext-hunting/
# into
~/.claude/skills/science-fulltext-hunting/ (all projects)
.claude/skills/science-fulltext-hunting/ (one project)
1# 全文获取:九级回退与验真23## 铁律:200 不等于拿到了全文45实测中大量站点回 **200 + `text/html`**:Cookie 门、登录页、"请启用 cookie"跳转页。6**每一级都必须验**:`content-type` 含 `pdf` **且** 文件头是 `%PDF-`;JATS 则验根元素 `<article`。78判失败的特征:9- 内容是 HTML 且含 `cookies_not_supported` / `sign in` / `access denied` / `captcha`10- 重定向后的 `finalUrl` 落在 `/login`、`/sorry/`、`?error=`11- 长度 < 20KB 的"PDF"(多为占位页)1213## 九级顺序(不跳级,除非上层明确 no-oa)14151. `OpenAlex best_oa_location.pdf_url` —— **经常是空的**,别停在这一级162. `OpenAlex locations[].pdf_url` —— 遍历全部 location,取第一个非空173. `Unpaywall /v2/{doi}?email=` —— 需真实邮箱(占位会被 422 拒)184. `Europe PMC fullTextUrlList` —— 挑 `documentStyle=pdf` 且 `availability` 含 open195. `Europe PMC /{PMCID}/fullTextXML` —— **优先 JATS**:有章节标签,做证据链比 PDF 好切206. `PMC efetch db=pmc&id={pmcid}&retmode=xml` —— 无需 key217. 直链模板(这四个实测无门):22 - arXiv `https://arxiv.org/pdf/{id}`(支持 Range)23 - PLOS `journals.plos.org/plosone/article/file?id={doi}&type=printable`24 - Frontiers `frontiersin.org/articles/{doi}/pdf`25 - bioRxiv `biorxiv.org/content/{doi}v1.full.pdf`(medRxiv 同路径会 403)268. 出版商 Cookie 两步:先 GET 落地页收 Cookie,再带 `Referer` + Cookie 请求 PDF27 - Springer `link.springer.com/content/pdf/{doi}.pdf`28 - Nature `nature.com/articles/{suffix}.pdf`299. CF 站点(Wiley `pdfdirect/`、SAGE `doi/pdf/`、T&F `doi/pdf/`、MDPI)—— 需 TLS 指纹伪装;本机默认判 `blocked`3031Sci-Hub(`.st`/`.ru`)返回的是 **ALTCHA PoW 挑战页**,默认关闭;开了也要接受它可能变算法。3233## 拿到之后34351. **抽结构**:PDF 用 pymupdf 逐页取文本并记 `page_from/page_to`;JATS 按 `<sec sec-type>` 切。362. **留 page 偏移**:证据链要能回答"这句话在第几页第几段",所以抽文本时同时存字符偏移到页码的映射。37…
Excerpt shown under the repository's MIT license.
More skills in Deepscient
- ▸science-agent-scheduling
- ▸science-campaign-design
- ▸science-consensus-report
- ▸science-discipline-methods
- ▸science-experiment-runbook
- ▸science-figure-for-journal
- ▸science-frontier-to-paper
- ▸science-journal-intel
- ▸science-journal-selection
- ▸science-literature-search
- ▸science-manuscript-formatting
- ▸science-org-roles
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
