ncbi-entrez-skill

作者: openai

提交紧凑的NCBI Entrez E-Utilities请求,用于PubMed、Gene、Protein、Nucleotide、PMC元数据和GEO元数据工作流。当用户需要简洁的…时使用。

npx skills add https://github.com/openai/plugins --skill ncbi-entrez-skill

Operating rules

  • Use scripts/ncbi_entrez.py for all Entrez calls in this package.
  • Use explicit endpoint values such as esearch, esummary, efetch, elink, or einfo.
  • Search-style Entrez calls are better with retmax=10 and max_items=10.
  • GEO is nested under this skill. Use db=gds or db=geoprofiles for GEO metadata and load references/geo.md only when the user is specifically asking about GEO.
  • BLAST workflows belong in ncbi-blast-skill. PMC Open Access workflows belong in ncbi-pmc-skill. Datasets v2 workflows belong in ncbi-datasets-skill.
  • Re-run requests in long conversations instead of relying on older tool output.
  • Treat displayed ... in tool previews as UI truncation, not literal request content.

Execution behavior

  • Return concise markdown summaries from the script output by default.
  • In final user-facing summaries, never display a bare PMID or DOI. Render every PMID as a Markdown link in the form [PMID <PMID>](https://pubmed.ncbi.nlm.nih.gov/<PMID>/) and every DOI as [<DOI>](https://doi.org/<DOI>), including in tables, bullets, parentheticals, and source lists.
  • Return raw JSON or XML only if the user explicitly asks for machine-readable output.
  • Prefer targeted endpoint calls instead of broad unfiltered dumps.
  • If the user needs the full raw response, set save_raw=true and report the saved file path.

Input

  • Read one JSON object from stdin.
  • Required field: endpoint
  • Optional fields: params, record_path, response_format, max_items, max_depth, timeout_sec, save_raw, raw_output_path
  • Common Entrez patterns:
    • {"endpoint":"esearch","params":{"db":"pubmed","term":"KRAS AND colorectal cancer","retmode":"json","retmax":10},"max_items":10}
    • {"endpoint":"esummary","params":{"db":"gene","id":"7157","retmode":"json"},"max_items":10}
    • {"endpoint":"efetch","params":{"db":"protein","id":"NP_000537.3","retmode":"xml"},"response_format":"xml","max_items":10}
    • {"endpoint":"elink","params":{"dbfrom":"gds","db":"pubmed","id":"200000001","retmode":"json"},"max_items":10}

Output

  • Success returns ok, source, endpoint metadata, and either compact records, a compact summary, or text_head.
  • Use raw_output_path when save_raw=true.
  • Failure returns ok=false with error.code and error.message.

Execution

echo '{"endpoint":"esearch","params":{"db":"gene","term":"TP53[gene] AND human[orgn]","retmode":"json","retmax":10},"max_items":10}' | python scripts/ncbi_entrez.py

References

  • Load references/geo.md only when the user specifically needs GEO query patterns.
  • Keep the import package limited to this file, references/geo.md, and scripts/ncbi_entrez.py.

来自 openai 的更多技能

user-context
openai
加载或管理数据分析插件的持久化源路由偏好、引导逻辑、设置进度及语义层注册表。
official
notion-research-documentation
openai
研究Notion内容,并将其综合成带有引用的结构化简报、报告或对比。通过定向查询搜索并获取Notion页面,然后按主题组织发现,附带内联来源引用和参考文献部分。根据范围和用户目标,从四种输出格式(快速简报、研究摘要、对比、综合报告)中选择。使用内置模板创建和更新Notion页面;直接链接来源,并在新信息到达时跟踪变更...
official
rcsb-pdb-skill
openai
提交紧凑的RCSB PDB请求以获取核心元数据、Search API查询和FASTA下载。当用户需要简洁的RCSB摘要时使用;保存原始JSON或…
official
pdf
openai
PDF的读取、创建与验证,支持可视化渲染与程序化生成。使用Poppler(pdftoppm)将PDF页面渲染为PNG,以便在交付前直观检查布局、间距与排版;通过reportlab程序化生成PDF,确保格式可靠;利用pdfplumber或pypdf提取文本与元数据。执行质量标准:无文本裁剪、元素重叠、表格损坏或渲染伪影;仅使用ASCII连字符,引用内容需可读。使用...
official
test-coverage-improver
openai
改进OpenAI Agents JS mon
official
playwright
openai
基于终端驱动的浏览器自动化,支持元素快照与交互式UI工作流。通过playwright-cli包装脚本运行(需npx),支持无头模式与有头模式进行可视化调试。核心工作流:打开页面、获取快照以稳定元素引用、使用引用进行交互、在导航或DOM变更后重新快照。包含表单填写、点击、输入、多标签页管理、截图/PDF捕获及用于流程调试的追踪记录。元素引用(如e3、e15)...
official
ukb-topmed-phewas-skill
openai
通过接受rsID、GRCh37或GRCh38输入并解析为所需的GRCh38查询,获取单个变体的紧凑型UKB-TOPMed PheWAS摘要。当需要…时使用。
official
code-review-context
openai
模型可见上下文
official