biopython-entrez
Skill by aipoch
Uses Bio.Entrez to search and download NCBI records, such as PubMed articles and GenBank sequences, through the E-utilities API. It is aimed at researchers and automated pipelines that need batch NCBI queries.
Install biopython-entrez
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aipoch/medical-research-skills /tmp/medical-research-skills && mkdir -p ~/.claude/skills && cp -r /tmp/medical-research-skills/scientific-skills/Evidence Insight/biopython-entrez ~/.claude/skills/biopython-entrezRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aipoch/medical-research-skills /tmp/medical-research-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/medical-research-skills/scientific-skills/Evidence Insight/biopython-entrez ~/.gemini/antigravity-cli/skills/biopython-entrezAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Biopython Entrez is an agent skill that uses Bio.Entrez to call NCBI E-utilities over the network. It covers searching databases such as PubMed, fetching summaries, downloading records such as GenBank entries, and following cross-links between NCBI databases. The source lists esearch, efetch, esummary and elink as the supported calls.
The example workflow reads a JSON config with an email, an optional API key, a database and a query. It then searches PubMed, retrieves summaries for the top results and writes them to a JSON file. The skill also describes batching IDs in chunks, pausing between requests and retrying on HTTP 429 or 5xx errors. It is aimed at researchers and automated pipelines that query NCBI and requires biopython 1.80 or later.
Written from the project's SKILL.md and checked against it.
What it can do
- esearchSearches an NCBI database and returns matching record IDs.
- esummaryReturns lightweight summaries for a list of IDs.
- efetchDownloads full records such as GenBank, FASTA or XML.
- elinkFinds cross-database links, for example PubMed to PMC.
- Batch downloadingDownloads records in chunks using ID lists or NCBI history.
- API key configurationSupports an NCBI API key to increase allowed request throughput.
- XML parsingParses XML responses into Python objects with Entrez.read.
- Config conventionsStores run settings in config/task_config.json and runs scripts by path.
What you need
- Biopython 1.80 or later
- An email address for Entrez configuration
- Optional NCBI API key
- Network access to NCBI
Try asking
- Search PubMed for CRISPR Cas9 papers from 2020 and save the titles to JSON
- Download GenBank records for these accession IDs in batches
- Find the PMC articles linked to these PubMed IDs
Good to know
- Relies on the NCBI E-utilities API and requires network access.
- NCBI enforces request limits, and an API key increases allowed throughput.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: scientific-skills/Evidence Insight/biopython-entrez/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to biopython-entrez
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
biopython-entrez: common questions
What NCBI databases can it query?
The source names PubMed and GenBank as examples and says it works with NCBI databases through Bio.Entrez. It also mentions PMC and Gene in its cross-link examples.
Does it need an API key?
No. The example config leaves the api_key field empty, and the source says an API key increases allowed throughput.
What output does the example produce?
It writes a JSON file with the query, a count and items that hold the ID, title, publication date, source and authors.
How do I install biopython-entrez?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is biopython-entrez free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is biopython-entrez safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to biopython-entrez?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
