openai-gwas-catalog-skill

Submit simplified GWAS Catalog REST API v2 requests to retrieve studies, associations, SNPs, EFO traits, genes, publications, loci, and metadata. Used when a concise GWAS Catalog summary is needed.

Last repository push
GitHub Stars
8,491
Forks
1,134
Issues / PRs
0

Screenshots

A demonstration from skillπ Lab

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "openai-gwas-catalog-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-982781e3786453aff7e76c544b6b1d94b1ac1e6330cf5d1c4155df9cc5fdc23b. Verify the upstream source and version against https://github.com/openai/plugins before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Submit simplified GWAS Catalog REST API v2 requests to retrieve studies, associations, SNPs, EFO traits, genes, publications, loci, and metadata. Used when a concise GWAS Catalog summary is needed.

0 Downloads

Introduction source: third_party · openai · 0.0.1 Reference

SkillPi interpretation

Tasks
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
Inputs and outputs
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}`
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

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

Highlights

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

Highlights

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

Highlights

  • 工具来源明确,API base_url 固定且正确
  • 支持异常处理机制,返回结构化错误信息
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • www.ebi.ac.uk

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.