Skip to content

vimalinx/bio-agent / .claude/skills/esearch

esearch

Unverified

Use when searching NCBI Entrez databases (pubmed, gene, protein, nuccore, snp, geoprofiles) with query strings and field qualifiers to retrieve record UIDs for downstream processing.

esearch

Quick Start

  • Command: esearch -db <database> -query "<query string>"
  • Local executable: /home/vimalinx/miniforge3/envs/bio/bin/esearch
  • Full reference: See references/help.md

When To Use This Tool

  • Start an Entrez Direct pipeline by searching for record IDs.
  • Search PubMed, Gene, Protein, Nuccore, SRA, and related NCBI databases with field-qualified queries.
  • Hand off matching IDs to efetch, esummary, elink, or xtract.
  • Use this whenever you need database-specific search syntax, not a free-form web search.

Common Patterns

# 1) PubMed literature search
esearch -db pubmed -query 'ebola virus[Title/Abstract] AND 2024[pdat]'
# 2) Gene search with field qualifiers
esearch -db gene -query 'TP53[gene] AND human[orgn]'
# 3) Search and immediately fetch document summaries
esearch -db assembly -query 'GCF_000001405.40[accn]' | efetch -format docsum

Recommended Workflow

  1. Pick the Entrez database first, because query fields and sort modes are database-specific.
  2. Write the query with field tags whenever possible instead of relying on broad keywords.
  3. Run esearch, then immediately pipe IDs into efetch, esummary, or elink.
  4. Use xtract only after you know what XML structure the downstream command emits.

Guardrails

  • -db and -query are both required.
  • Wildcards and unqualified terms can explode result counts; narrow with fields like [AUTH], [GENE], or [orgn].
  • Sort options are database-specific, so do not assume the same -sort values work everywhere.
  • esearch gives you IDs, not the final report; plan the next pipeline step before running it at scale.
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 117kUpdated Claude CodeCodexUnverifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 117kUpdated Claude CodeCodexUnverifiedInstall