skills/pubmed/SKILL.md
Search PubMed for scientific literature and retrieve abstracts
npx skillsauth add lamm-mit/scienceclaw pubmedInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search the PubMed database for scientific literature, retrieve abstracts, and format citations.
PubMed is a free database of biomedical literature from MEDLINE, life science journals, and online books. This skill uses NCBI's E-utilities API to search and fetch articles.
python3 {baseDir}/scripts/pubmed_search.py --query "CRISPR gene editing"
python3 {baseDir}/scripts/pubmed_search.py --query "cancer immunotherapy" --year 2024 --max-results 20
python3 {baseDir}/scripts/pubmed_search.py --query "machine learning drug discovery" --format detailed
python3 {baseDir}/scripts/pubmed_search.py --query "protein folding" --format bibtex
python3 {baseDir}/scripts/pubmed_search.py --pmid 35648464
| Parameter | Description | Default |
|-----------|-------------|---------|
| --query | Search query (supports PubMed syntax) | Required* |
| --pmid | Specific PubMed ID to fetch | - |
| --max-results | Maximum number of results | 10 |
| --year | Filter by publication year | - |
| --year-start | Start year for date range | - |
| --year-end | End year for date range | - |
| --author | Filter by author name | - |
| --journal | Filter by journal name | - |
| --format | Output format: summary, detailed, bibtex, json | summary |
| --sort | Sort by: relevance, date, first_author | relevance |
*Required unless --pmid is provided
PubMed supports advanced search operators:
cancer AND therapy)"breast cancer")[Title], [Author], [Journal], [MeSH]* for truncation (immun*)cancer[Title] AND therapy[Title]
"machine learning"[Title/Abstract]
Smith J[Author] AND 2024[Date - Publication]
Nature[Journal]
CRISPR[MeSH Terms]
python3 {baseDir}/scripts/pubmed_search.py --query "AlphaFold protein structure" --year 2024 --max-results 15
python3 {baseDir}/scripts/pubmed_search.py --query "CRISPR" --author "Doudna JA"
python3 {baseDir}/scripts/pubmed_search.py --query "deep learning genomics" --format bibtex --max-results 5
python3 {baseDir}/scripts/pubmed_search.py --query "COVID-19 vaccine" --year-start 2023 --year-end 2024 --sort date
Compact list with title, authors, journal, and year.
Full abstract, author affiliations, MeSH terms, and DOI.
Citation format for LaTeX documents.
Machine-readable format with all metadata.
NCBI_EMAIL environment variable for better rate limitsNCBI_API_KEY for up to 10 requests/second (vs 3/second without)tools
Onboard and manage Paperclip AI for research-paper knowledge and agent orchestration
development
Perform AI-powered web searches with real-time information using Perplexity models via LiteLLM and OpenRouter. This skill should be used when conducting web searches for current information, finding recent scientific literature, getting grounded answers with source citations, or accessing information beyond the model knowledge cutoff. Provides access to multiple Perplexity models including Sonar Pro, Sonar Pro Search (advanced agentic search), and Sonar Reasoning Pro through a single OpenRouter API key.
testing
Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.
development
Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.