Bio Entrez Fetch
GPTomics/bioSkills
Retrieve records from NCBI databases using Biopython Bio.Entrez (EFetch, ESummary).
Use Bio.Entrez to access NCBI databases (e.g., PubMed/GenBank) for searching, fetching summaries, and downloading records when your workflow needs to call the NCBI E-utilities API over the network.
$ npx skills add aipoch/medical-research-skills --skill biopython-entrez -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills biopython-entrez --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Evidence Insight/biopython-entrez' .claude/skills/biopython-entrez && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "biopython-entrez" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/biopython-entrez into .claude/skills/biopython-entrez/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "biopython-entrez", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/biopython-entrezType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aipoch/medical-research-skills --skill biopython-entrez -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills biopython-entrez --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'scientific-skills/Evidence Insight/biopython-entrez' .agents/skills/biopython-entrez && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "biopython-entrez" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/biopython-entrez into .agents/skills/biopython-entrez/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "biopython-entrez", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill biopython-entrez -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills biopython-entrez --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'scientific-skills/Evidence Insight/biopython-entrez' .cursor/skills/biopython-entrez && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "biopython-entrez" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/biopython-entrez into .cursor/skills/biopython-entrez/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "biopython-entrez", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aipoch/medical-research-skills.git --path 'scientific-skills/Evidence Insight/biopython-entrez'--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aipoch/medical-research-skills --skill biopython-entrez -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills biopython-entrez --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'scientific-skills/Evidence Insight/biopython-entrez' .gemini/skills/biopython-entrez && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "biopython-entrez" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/biopython-entrez into .gemini/skills/biopython-entrez/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "biopython-entrez", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aipoch/medical-research-skills biopython-entrezInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aipoch/medical-research-skills --skill biopython-entrez -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'scientific-skills/Evidence Insight/biopython-entrez' .github/skills/biopython-entrez && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "biopython-entrez" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/biopython-entrez into .github/skills/biopython-entrez/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "biopython-entrez", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill biopython-entrez -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aipoch/medical-research-skills biopython-entrez --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'scientific-skills/Evidence Insight/biopython-entrez' .opencode/skills/biopython-entrez && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "biopython-entrez" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/biopython-entrez into .opencode/skills/biopython-entrez/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "biopython-entrez", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
biopython-entrezUse Bio.Entrez to access NCBI databases (e.g., PubMed/GenBank) for searching, fetching summaries, and downloading records when your workflow needs to call the NCBI E-utilities API over the network.
Biopython Entrez is an agent skill from aipoch/medical-research-skills. Use Bio.Entrez to access NCBI databases (e.g., PubMed/GenBank) for searching, fetching summaries, and downloading records when your workflow needs to call the NCBI E-utilities API over the network.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `biopython-entrez_audit_result_v1.json`, `config/task_config.json` and `references/databases.md`).
It sits in Research & Science, covering Bioinformatics and Academic paper search. It works with NCBI, Biopython and PubMed. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.
Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Biopython Entrez loads about 1.5k tokens when it runs, and up to ~4.5k if it reads all its reference files. Until then it costs about 54 tokens; SKILL.md has 416 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 416 words, ~1,513 tokens.
.claude/skills/biopython-entrez/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Bio.Entrez: esearch, efetch, esummary, elink.config/task_config.json.python scripts/<task_name>.py.-- parameters; prefer config files.ensure_ascii=False for JSON output.biopython>=1.80The following example is a complete, runnable script that:
1) Create config/task_config.json:
{
"email": "your-email@example.com",
"api_key": "",
"db": "pubmed",
"term": "CRISPR Cas9 2020[PDAT]",
"retmax": 5,
"out_json": "outputs/pubmed_summaries.json"
}2) Create scripts/pubmed_summaries.py:
import json
import os
import time
from typing import Any, Dict, List
from Bio import Entrez
def load_config(path: str) -> Dict[str, Any]:
with open(path, "r", encoding="utf-8") as f:
return json.load(f)
def ensure_parent_dir(path: str) -> None:
parent = os.path.dirname(path)
if parent:
os.makedirs(parent, exist_ok=True)
def main() -> None:
cfg = load_config("config/task_config.json")
Entrez.email = cfg["email"]
api_key = cfg.get("api_key") or ""
if api_key:
Entrez.api_key = api_key
db = cfg.get("db", "pubmed")
term = cfg["term"]
retmax = int(cfg.get("retmax", 20))
out_json = cfg.get("out_json", "outputs/pubmed_summaries.json")
# 1) ESearch: get IDs
with Entrez.esearch(db=db, term=term, retmax=retmax, usehistory="n") as handle:
search_result = Entrez.read(handle)
id_list: List[str] = search_result.get("IdList", [])
if not id_list:
ensure_parent_dir(out_json)
with open(out_json, "w", encoding="utf-8") as f:
json.dump({"query": term, "count": 0, "items": []}, f, ensure_ascii=False, indent=2)
return
# Be polite with NCBI: small delay (especially without API key)
time.sleep(0.34 if api_key else 0.5)
# 2) ESummary: get summaries for IDs
with Entrez.esummary(db=db, id=",".join(id_list), retmode="xml") as handle:
summary_result = Entrez.read(handle)
items = []
for docsum in summary_result:
items.append({
"id": str(docsum.get("Id", "")),
"title": str(docsum.get("Title", "")),
"pubdate": str(docsum.get("PubDate", "")),
"source": str(docsum.get("Source", "")),
"authors": [str(a.get("Name", "")) for a in docsum.get("AuthorList", [])],
})
payload = {
"query": term,
"count": len(items),
"items": items,
}
ensure_parent_dir(out_json)
with open(out_json, "w", encoding="utf-8") as f:
json.dump(payload, f, ensure_ascii=False, indent=2)
if __name__ == "__main__":
main()3) Run:
python scripts/pubmed_summaries.pyCore E-utilities mapping
ESearch: builds a query against an NCBI database and returns matching IDs (and optionally WebEnv/QueryKey for history-based batching).ESummary: returns lightweight document summaries for a list of IDs.EFetch: downloads full records (e.g., GenBank/FASTA/XML) for IDs; choose rettype/retmode based on the target database.ELink: discovers cross-database relationships (e.g., PubMed → PMC, Gene → Protein).Batching strategy
ESearch to obtain IDs, then call ESummary/EFetch in chunks (e.g., 100–500 IDs per request depending on payload size).usehistory="y" in ESearch and then fetch via WebEnv/QueryKey to avoid very long ID lists.Rate limiting and API key
Parsing
Entrez.read(handle) for structured parsing of XML responses into Python objects.handle.read() and write to disk with encoding="utf-8" where applicable.Configuration and I/O conventions
config/task_config.json as an intermediate artifact.python scripts/<task_name>.py.encoding="utf-8" for file I/O and use ensure_ascii=False for JSON outputs.Reference
references/databases.md for database notes and selection guidance.© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in scientific-skills/Evidence Insight/biopython-entrez of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Biopython Entrez next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Biopython Entrez this skillaipoch/medical-research-skills | 2k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Bio Entrez FetchGPTomics/bioSkills | 1.2k | 2 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Bio Entrez LinkGPTomics/bioSkills | 1.2k | 2 repos | ~3.8k | Automated safety check: Pass | MIT | |
| Ena Databasejaechang-hits/SciAgent-Skills | 370 | 1 repos | ~5.3k | Automated safety check: Pass | Custom licence | |
| Biopythondavila7/claude-code-templates | 32k | 13 repos | ~3.4k | Automated safety check: Pass | MIT | |
| BiopythonK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~4.3k | Automated safety check: Notes | MIT |
GPTomics/bioSkills
Retrieve records from NCBI databases using Biopython Bio.Entrez (EFetch, ESummary).
GPTomics/bioSkills
Find cross-database references between NCBI databases using Biopython Bio.Entrez (ELink).
jaechang-hits/SciAgent-Skills
ENA REST API for sequences, reads, assemblies, and annotations.
davila7/claude-code-templates
Primary Python toolkit for molecular biology. An agent skill from davila7/claude-code-templates.
K-Dense-AI/scientific-agent-skills
Provides Biopython workflows for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez).
lamm-mit/scienceclaw
Computational molecular biology library (sequence I/O, alignment, phylogenetics).
aipoch/medical-research-skills
Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…
aipoch/medical-research-skills
Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.
aipoch/medical-research-skills
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
aipoch/medical-research-skills
A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.
aipoch/medical-research-skills
Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…
aipoch/medical-research-skills
Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.
Categories
Use Bio.Entrez to access NCBI databases (e.g., PubMed/GenBank) for searching, fetching summaries, and downloading records when your workflow needs to call the NCBI E-utilities API over the network. Biopython Entrez is an agent skill from aipoch/medical-research-skills., PubMed/GenBank) for searching, fetching summaries, and downloading records when your workflow needs to call the NCBI E-utilities API over the network.
Biopython Entrez fits situations like: tasks that involve Bioinformatics; tasks that involve Academic paper search.
Run `npx skills add aipoch/medical-research-skills --skill biopython-entrez -a claude-code`. Or copy the skill folder (scientific-skills/Evidence Insight/biopython-entrez in aipoch/medical-research-skills) into .claude/skills/biopython-entrez in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill biopython-entrez -a codex`. Or copy the skill folder (scientific-skills/Evidence Insight/biopython-entrez in aipoch/medical-research-skills) into .agents/skills/biopython-entrez in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill biopython-entrez -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/biopython-entrez, .gemini/skills/biopython-entrez, .github/skills/biopython-entrez and .opencode/skills/biopython-entrez in your project.
Going by SKILL.md and its folder, Biopython Entrez needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Biopython Entrez is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Biopython Entrez: Bio Entrez Fetch (GPTomics/bioSkills, 1.2k stars), Bio Entrez Link (GPTomics/bioSkills, 1.2k stars), Ena Database (jaechang-hits/SciAgent-Skills, 370 stars) and Biopython (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,974 GitHub stars. The repository holds 567 skills in this directory. The repository was last updated on September 17, 2026.
Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.