biobankjapan-phewas-skill

bởi openai

Truy xuất tóm tắt PheWAS BioBank Japan nhỏ gọn cho các biến thể đơn lẻ bằng cách chấp nhận đầu vào rsID, GRCh38 hoặc GRCh37 và phân giải thành truy vấn GRCh37 cần thiết. Sử dụng…

npx skills add https://github.com/openai/plugins --skill biobankjapan-phewas-skill

Operating rules

  • Use scripts/biobankjapan_phewas.py for all BioBank Japan PheWAS lookups.
  • Accept exactly one of rsid, grch37, grch38, or variant; resolve to the canonical GRCh37 chr:pos-ref-alt query before calling BioBank Japan.
  • The script accepts max_results; start with max_results=10 and only increase it if the first slice is insufficient.
  • Re-run the lookup in long conversations instead of relying on older tool output.
  • Treat displayed ... in tool previews as UI truncation, not literal request content.
  • If the user needs the full association payload, set save_raw=true and report raw_output_path instead of pasting large arrays into chat.

Execution behavior

  • Return concise markdown summaries from the script JSON by default.
  • Return the JSON verbatim only if the user explicitly asks for machine-readable output.
  • Surface the canonical queried variant, total association count, and whether the results were truncated.
  • Increase max_results gradually instead of asking for large association dumps in one call.

Input

  • Read one JSON object from stdin, or a single JSON string containing the variant.
  • Required input: exactly one of rsid, grch37, grch38, or variant
  • Optional fields: max_results, save_raw, raw_output_path, timeout_sec
  • Common patterns:
    • {"grch37":"10:114758349-C-T","max_results":10}
    • {"grch38":"10:112998590-C-T","max_results":10}
    • {"rsid":"rs7903146","max_results":10}
    • {"variant":"10:114758349:C:T","max_results":25,"save_raw":true}

Output

  • Success returns ok, source, input, query_variant, max_results_applied, association_count, association_count_total, truncated, associations, variant, variant_url, raw_output_path, and warnings.
  • Use raw_output_path when save_raw=true.
  • Failure returns ok=false with error.code and error.message.

Execution

echo '{"grch37":"10:114758349-C-T","max_results":10}' | python scripts/biobankjapan_phewas.py

References

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

Thêm skills từ openai

release
openai
Cắt một bản phát hành Symphony bằng cách tăng phiên bản đã cam kết, đưa nó vào, gắn thẻ commit đã hợp nhất, và xác minh quy trình phát hành Burrito. Sử dụng khi được yêu cầu…
signing-entitlements
openai
Kiểm tra các vấn đề về chứng thực, quyền hạn, hardened runtime và Gatekeeper cho ứng dụng macOS. Sử dụng khi được yêu cầu chẩn đoán lỗi ký mã, thiếu quyền hạn,…
building-ai-agent-on-cloudflare
openai
Xây dựng các tác tử AI trên Cloudflare bằng Agents SDK với quản lý trạng thái, WebSockets thời gian thực, tác vụ theo lịch trình, tích hợp công cụ và trò chuyện…
epigraphdb-skill
openai
Gửi các yêu cầu API EpiGraphDB nhỏ gọn cho ontology, tài liệu, MR, gen-thuốc và bằng chứng hỗ trợ đường dẫn. Sử dụng khi người dùng muốn tóm tắt EpiGraphDB ngắn gọn.
runtime-behavior-probe
openai
Lập kế hoạch và thực hiện các cuộc điều tra hành vi thời gian chạy với các tập lệnh thăm dò tạm thời, ma trận xác thực, kiểm soát trạng thái và báo cáo ưu tiên phát hiện. Chỉ sử dụng khi…
deep-security-scan
openai
Sử dụng khi người dùng yêu cầu quét bảo mật Codex sâu, toàn diện, nhiều lượt hoặc giảm sai lệch trên toàn kho lưu trữ hoặc phạm vi đường dẫn cụ thể. Chạy lặp lại các lượt độc lập…
define-security-policy
openai
Xác định, xem xét hoặc cập nhật hướng dẫn SECURITY.md cho một kho lưu trữ hoặc thành phần. Sử dụng khi người dùng muốn làm rõ những gì Codex Security nên xem xét, những gì nằm ngoài phạm vi…
validation
openai
Sử dụng khi Codex đã ở trong giai đoạn xác thực của một cuộc quét bảo mật hoặc người dùng yêu cầu rõ ràng để xác định liệu một hoặc nhiều phát hiện bảo mật ứng viên…