Перейти к содержимому
TakoAPI
Назад к навыкам

pubmed-edirect

от killgfat

Search & Research
1.9kЧисло загрузок по данным clawskills.sh
4Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Search and retrieve literature from PubMed using NCBI's EDirect command-line tools. ⚠️ Advanced skill requiring.

Описание

Что делает этот навык

Enables searching and retrieving biomedical literature from PubMed and other NCBI databases using the EDirect command-line utilities. Requires manual installation of the EDirect toolset on the user's system. Supports cross-database linking, batch processing, and structured XML extraction via Unix pipelines.

EDirect gives direct programmatic access to all NCBI databases through composable Unix pipes, avoiding the limitations of the web interface for batch or automated queries.

Когда его использовать

  • Fetch abstracts for a list of PMIDs in bulk
  • Export PubMed search results to CSV with metadata
  • Analyze publication trends over a date range
  • Search gene or protein sequence databases from the terminal
  • Cross-link records between PubMed and NCBI Gene database

Пример сценария

ВВОД

User asks: find the 20 most recent abstracts on CRISPR gene editing and save them to a file

АГЕНТ
  1. 1

    Run esearch to query PubMed with the term CRISPR[TIAB] and set retmax to 20

  2. 2

    Pipe results through efetch with format set to abstract

  3. 3

    Use xtract or redirect output to parse and save abstracts to a text file

  4. 4

    Confirm the output file contains the expected number of records

ВЫВОД

A text file containing 20 recent PubMed abstracts on CRISPR gene editing

Требования

  • EDirect tools installed manually from NCBI (esearch, efetch, elink, xtract, einfo, efilter)
  • NCBI_API_KEY environment variable (optional, increases rate limit to 10 requests/sec)
  • NCBI_EMAIL environment variable (optional, identifies requester to NCBI)

Установка

clawhub install killgfat/pubmed-edirect

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки