tpmi-phewas-skill

โดย openai

ดึงข้อมูลสรุป TPMI PheWAS แบบกระชับสำหรับตัวแปรเดี่ยว โดยรับอินพุตเป็น rsID, GRCh37 หรือ GRCh38 และแปลงเป็นรูปแบบการค้นหา GRCh38 ที่ต้องการ ใช้เมื่อผู้ใช้...

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

Operating rules

  • Use scripts/tpmi_phewas.py for all TPMI PheWAS lookups.
  • Accept exactly one of rsid, grch37, grch38, or variant; resolve to the canonical GRCh38 chr:pos-ref-alt query before calling TPMI.
  • 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:
    • {"grch38":"6:160540105-T-C","max_results":10}
    • {"grch37":"6:162447146-T-C","max_results":10}
    • {"rsid":"rs9273363","max_results":10}
    • {"variant":"6:160540105:T:C","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 '{"grch38":"6:160540105-T-C","max_results":10}' | python scripts/tpmi_phewas.py

References

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

Skills เพิ่มเติมจาก openai

user-context
openai
โหลดหรือจัดการค่ากำหนดการกำหนดเส้นทางต้นทางแบบถาวร ตรรกะการเริ่มต้นใช้งาน ความคืบหน้าการตั้งค่า และทะเบียนเลเยอร์ความหมายของปลั๊กอิน Data Analytics
official
notion-research-documentation
openai
ค้นหาเนื้อหาใน Notion และสังเคราะห์เป็นบทสรุป รายงาน หรือการเปรียบเทียบที่มีโครงสร้าง พร้อมการอ้างอิง ค้นหาและดึงข้อมูลหน้า Notion โดยใช้คำค้นหาเฉพาะ จากนั้นจัดระเบียบผลลัพธ์ตามหัวข้อ พร้อมการอ้างอิงแหล่งที่มาในเนื้อหาและส่วนรายการอ้างอิง เลือกจากรูปแบบผลลัพธ์สี่แบบ (บทสรุปด่วน, สรุปงานวิจัย, การเปรียบเทียบ, รายงานครอบคลุม) ตามขอบเขตและเป้าหมายของผู้ใช้ สร้างและอัปเดตหน้า Notion โดยใช้เทมเพลตในตัว เชื่อมโยงแหล่งที่มาโดยตรง และติดตามการเปลี่ยนแปลงเมื่อมีข้อมูลใหม่เข้ามา...
official
rcsb-pdb-skill
openai
ส่งคำขอ RCSB PDB แบบกระชับสำหรับข้อมูลหลัก การค้นหาผ่าน API และการดาวน์โหลด FASTA ใช้เมื่อผู้ใช้ต้องการสรุปข้อมูล RCSB แบบสั้น บันทึก JSON ดิบหรือ…
official
pdf
openai
การอ่าน การสร้าง และการตรวจสอบไฟล์ PDF พร้อมการเรนเดอร์ภาพและการสร้างด้วยโปรแกรม เรนเดอร์หน้า PDF เป็น PNG เพื่อตรวจสอบเค้าโครง ระยะห่าง และการจัดเรียงตัวอักษรก่อนส่งมอบโดยใช้ Poppler (pdftoppm) สร้าง PDF ด้วยโปรแกรมโดยใช้ reportlab เพื่อการจัดรูปแบบที่เชื่อถือได้ แยกข้อความและข้อมูลเมตาด้วย pdfplumber หรือ pypdf บังคับใช้มาตรฐานคุณภาพ: ไม่มีข้อความที่ถูกตัด องค์ประกอบที่ทับซ้อนกัน ตารางที่เสียหาย หรือสิ่งแปลกปลอมในการเรนเดอร์ ใช้เฉพาะยัติภังค์ ASCII และการอ้างอิงที่อ่านได้ของมนุษย์ ใช้...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
การทำงานอัตโนมัติของเบราว์เซอร์ที่ขับเคลื่อนด้วยเทอร์มินัล พร้อมภาพรวมขององค์ประกอบและเวิร์กโฟลว์ UI แบบโต้ตอบ ทำงานผ่านสคริปต์ wrapper ของ playwright-cli (ต้องใช้ npx); รองรับโหมด headless และ headed สำหรับการดีบักด้วยภาพ เวิร์กโฟลว์หลัก: เปิดหน้า, ถ่ายภาพรวมเพื่ออ้างอิงองค์ประกอบที่เสถียร, โต้ตอบโดยใช้ refs, ถ่ายภาพรวมอีกครั้งหลังการนำทางหรือการเปลี่ยนแปลง DOM รวมถึงการกรอกฟอร์ม, การคลิก, การพิมพ์, การจัดการหลายแท็บ, การจับภาพหน้าจอ/PDF, และการบันทึก trace สำหรับการดีบักโฟลว์ Element refs (เช่น e3, e15)...
official
ukb-topmed-phewas-skill
openai
ดึงข้อมูลสรุป UKB-TOPMed PheWAS แบบกระชับสำหรับตัวแปรเดี่ยว โดยรับอินพุต rsID, GRCh37 หรือ GRCh38 และแปลงเป็นรูปแบบการค้นหา GRCh38 ที่จำเป็น ใช้เมื่อ...
official
code-review-context
openai
บริบทที่โมเดลมองเห็นได้
official