openai-gwas-catalog-skill

提交简化的 GWAS Catalog REST API v2 请求,用于获取研究、关联、SNP、EFO 性状、基因、出版物、基因座和元数据。当用户需要简洁的 GWAS Catalog 摘要时使用。

仓库最近推送
GitHub Stars
8,491
Forks
1,134
Issues / PRs
0

预览截图

来自skillπ 实验室的展示

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "openai-gwas-catalog-skill":https://skillpi.com/zh/skills/deepskill-982781e3786453aff7e76c544b6b1d94b1ac1e6330cf5d1c4155df9cc5fdc23b。安装前核对上游来源和版本:https://github.com/openai/plugins。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

提交简化的 GWAS Catalog REST API v2 请求,用于获取研究、关联、SNP、EFO 性状、基因、出版物、基因座和元数据。当用户需要简洁的 GWAS Catalog 摘要时使用。

0 下载

介绍来源: third_party · openai · 0.0.1 参考来源

SkillPi 解读

能完成的任务
提交紧凑的GWAS Catalog REST API v2 研究请求、协会请求、SNP请求、EFO特征请求、基因请求、出版物请求、loci请求和元数据请求。 用户需要简洁的 GWAS 目录摘要时使用
输入和输出
从Stdin读取一个JSON对象. 所需字段 : `base_url` , (中文). `path` 可选字段 : `method` , (中文). `params` , (中文). `headers` , (中文). `json_body` , (中文). `form_body` , (中文). `record_path` , (中文). `response_format` , (中文). `max_items` , (中文). `max_depth` , (中文). `timeout_sec` , (中文). `save_raw` , (中文). `raw_output_path` 通用的GWAS目录模式: - `{"base_url":"https://www.ebi.ac.uk/gwas/rest/api/v2","path":"metadata"}` - 怎么样? `{"base_url":"https://www.ebi.ac.uk/gwas/rest/api/v2","path":"studies","params":{"efo_trait":"asthma","size":10},"record_path":"_embedded.studies","max_items":10}` - 怎么样? `{"base_url":"https://www.ebi.ac.uk/gwas/rest/api/v2","path":"associations","params":{"mapped_gene":"BRCA1","size":10},"record_path":"_embedded.associations","max_items":10}`
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: gwas-catalog-skill
description: Submit compact GWAS Catalog REST API v2 requests for studies, associations, SNPs, EFO traits, genes, publications, loci, and metadata. Use when a user wants concise GWAS Catalog summaries

Operating rules

  • Use scripts/rest_request.py for all GWAS Catalog API calls.
  • Use base_url=https://www.ebi.ac.uk/gwas/rest/api/v2.
  • The script accepts max_items; for collection endpoints, start with API size=10 and max_items=10.
  • Single-resource endpoints such as studies/<accession> generally do not need max_items.
  • Use record_path to target _embedded.<resource> lists.
  • 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 JSON by default.
  • Return the script JSON verbatim only if the user explicitly asks for machine-readable output.
  • Prefer these paths: metadata, studies, studies/<accession>, associations, snps, efoTraits, genes, publications, and loci.
  • Use save_raw=true if the user needs the full HATEOAS payload or pagination links.

Input

  • Read one JSON object from stdin.
  • Required fields: base_url, path
  • Optional fields: method, params, headers, json_body, form_body, record_path, response_format, max_items, max_depth, timeout_sec, save_raw, raw_output_path
  • Common GWAS Catalog patterns:
    • {"base_url":"https://www.ebi.ac.uk/gwas/rest/api/v2","path":"metadata"}
    • {"base_url":"https://www.ebi.ac.uk/gwas/rest/api/v2","path":"studies","params":{"efo_trait":"asthma","size":10},"record_path":"_embedded.studies","max_items":10}
    • {"base_url":"https://www.ebi.ac.uk/gwas/rest/api/v2","path":"associations","params":{"mapped_gene":"BRCA1","size":10},"record_path":"_embedded.associations","max_items":10}

Output

  • Success returns ok, source, path, method, status_code, warnings, and either compact records or a compact summary.
  • Use raw_output_path when save_raw=true.
  • Failure returns ok=false with error.code and error.message.

Execution

echo '{"base_url":"https://www.ebi.ac.uk/gwas/rest/api/v2","path":"studies","params":{"efo_trait":"asthma","size":10},"record_path":"_embedded.studies","max_items":10}' | python scripts/rest_request.py

References

  • No additional runtime references are required; keep the import package limited to this file and scripts/rest_request.py.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 提供 GWAS Catalog REST API v2 的完整查询能力,覆盖研究、关联、SNP、EFO 性状等关键资源类型
  • 面向生物信息学与遗传学研究的专业刚需场景,显著提升科研数据获取效率
触发精准85/100

亮点

  • description 明确限定使用场景为“简洁的 GWAS Catalog 摘要”,边界清晰
  • 列举了全部支持的核心资源类型,覆盖多种变体
结构规范88/100

亮点

  • 文档结构完整,包含操作规则、执行行为、输入输出说明及端到端示例
  • frontmatter 规范,单文件长度适中,易于理解与执行
执行可靠82/100

亮点

  • 工具来源明确,API base_url 固定且正确
  • 支持异常处理机制,返回结构化错误信息
证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • www.ebi.ac.uk

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。