alterlab-ieu/alterlab-academic-skills/alterlab-biorxiv
- community
Checking that the SKILL.md file is still in the repository.
Search the bioRxiv preprint server and retrieve paper metadata or download PDFs via its API. Use when finding life sciences preprints by keywords, authors, DOI, date ranges, or categories, or when conducting a biology literature review of not-yet-peer-reviewed work. Part of the AlterLab Academic Skills suite.
Install
npx vskill@latest install alterlab-ieu/alterlab-academic-skills/alterlab-biorxivSKILL.md
bioRxiv Database
Overview
Python tooling over the keyless bioRxiv API for searching and retrieving life-sciences preprints. Searches by keyword, author, date range, and category, returning structured JSON (titles, abstracts, DOIs, authors, versions), and downloads full-text PDFs.
For published, peer-reviewed literature use alterlab-pubmed; for computer-science / physics / math preprints use alterlab-arxiv. bioRxiv covers biology subjects only. The same API also serves medRxiv (swap biorxiv for medrxiv in the endpoint path, e.g. /details/medrxiv/2025-03-21/2025-03-28?category=cardiovascular%20medicine); the bundled script targets bioRxiv, so query medRxiv with curl/requests directly.
How it works (and its limits)
The bioRxiv /details endpoint returns preprints by date range, 30 records per page. It accepts a server-side subject-category filter (?category=cell_biology), but has no keyword or author filter. So this tool:
- Paginates the date range (following the cursor until all records are retrieved), passing
--categoryto the server so only that subject is fetched, then - Filters client-side by keyword (substring over title/abstract) and author (substring over the author list).
Implication: a wide date range means many API calls and a large download. Keep ranges as tight as the question allows, and use --category (cuts API calls) and --limit to bound the work.
When to Use This Skill
Use this skill when:
- Searching for recent life-sciences preprints in specific research areas
- Tracking preprints by particular authors
- Conducting systematic preprint literature reviews
- Analyzing preprint trends over time periods
- Retrieving metadata for citation management
- Downloading preprint PDFs for analysis
- Filtering papers by bioRxiv subject categories
Does NOT Trigger
| Scenario | Use Instead | |
|---|---|---|
| Peer-reviewed, MeSH-indexed biomedical journal articles | alterlab-pubmed | |
| CS / physics / math / quantitative-biology preprints on arXiv | alterlab-arxiv | |
| Citation counts or cross-publisher bibliometrics for preprints | alterlab-openalex | |
| Depositing your own preprint (server choice, license, versioning) | alterlab-preprint-deposition | |
| Multi-database systematic review with PRISMA screening | alterlab-literature-review |
Running the script
The script's only dependency is requests. Run it with uv so the dependency is provisioned on the fly:
The python scripts/biorxiv_search.py ... invocations below are shorthand; substitute uv run --with requests scripts/biorxiv_search.py ... (or activate an environment that has requests).
Core Search Capabilities
1. Keyword Search
Search for preprints containing specific keywords in titles, abstracts, or author lists.
Basic Usage:
With Category Filter:
Search Fields: Keyword matching is a case-insensitive substring match, and a paper matches if any keyword is found (OR semantics, not AND). By default keywords are searched in both title and abstract. Customize with --search-fields:
2. Author Search
Find all papers by a specific author within a date range.
Basic Usage:
Recent Publications:
3. Date Range Search
Retrieve all preprints posted within a specific date range.
Basic Usage:
With Category Filter:
Days Back Shortcut:
4. Paper Details by DOI
Retrieve detailed metadata for a specific preprint. bioRxiv DOIs come in two prefixes: 10.1101/… for older preprints and 10.64898/… for preprints posted since the move to openRxiv (December 2025), e.g. 10.64898/2026.08.28.747819. Both work with /details/ and the www.biorxiv.org/content/ URLs; the script normalizes DOIs, doi.org links, and content URLs regardless of prefix. Don't hard-code 10.1101 in regexes or validators.
Basic Usage:
Full DOI URLs Accepted (either prefix):
5. PDF Downloads
Download the full-text PDF of any preprint.
Basic Usage:
Batch Processing: For multiple PDFs, extract DOIs from a search result JSON and download each paper:
Valid Categories
Filter searches by bioRxiv subject categories:
animal-behavior-and-cognitionbiochemistrybioengineeringbioinformaticsbiophysicscancer-biologycell-biologyclinical-trialsdevelopmental-biologyecologyepidemiologyevolutionary-biologygeneticsgenomicsimmunologymicrobiologymolecular-biologyneurosciencepaleontologypathologypharmacology-and-toxicologyphysiologyplant-biologyscientific-communication-and-educationsynthetic-biologysystems-biologyzoology
Output Format
All searches return structured JSON with the following format:
Common Usage Patterns
Literature Review Workflow
- Broad keyword search:
- Extract and review results:
- Download selected papers:
Trend Analysis
Track research trends by analyzing publication frequencies over time:
Then analyze the temporal distribution in the results.
Author Tracking
Monitor specific researchers' preprints:
Python API Usage
For more complex workflows, import and use the BioRxivSearcher class directly:
Best Practices
- Keep date ranges tight: Because filtering is client-side, the tool paginates the entire range (30 records/page) before filtering. A single busy week is ~800 preprints (~27 API calls); a full year is tens of thousands. Narrow the range, or use
--days-backfor recency.
- Filter by category: Use
--categorywhenever the subject is known. It is sent to the server (?category=), so it cuts both the result set and the number of API calls (one busy week: ~1,270 preprints overall vs. ~80 in cell biology).
- Cap with `--limit`: For pure date-range searches,
--limitalso stops pagination early, so it genuinely reduces API calls. For keyword/author searches the whole range must be scanned first, so--limitonly trims the final list.
- Respect rate limits: The script sleeps 0.5s between requests. There is no documented hard rate limit, but for large collections add more delay and cache results to JSON.
- Version tracking: Preprints can have multiple versions. DOI lookups return the latest version;
download_pdfresolves the latest version automatically (passversion=to override). PDF/HTML URLs embed the version number. Thepublishedfield of/details/carries the journal DOI once the preprint is published (orNA) — use it rather than the per-DOI/pubs/lookup, which returns nothing for10.64898DOIs.
- PDF downloads can be throttled: PDFs come from
www.biorxiv.org, which sits behind Cloudflare and may answer scripted requests with HTTP 429. Space downloads out, fall back to thehtml_url, and for bulk full text use bioRxiv's requester-pays text-mining buckets3://biorxiv-src-monthly(MECA zip packages; see https://www.biorxiv.org/tdm).
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/databases/alterlab-biorxiv/SKILL.md
Popularity
- Repository stars
- 69
- Repository forks
- 14
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alterlab-ieu/alterlab-academic-skills/alterlab-biorxiv)