biobankjapan-phewas-skill

Установка

$npx skills add https://github.com/openai/plugins/tree/5fd93af4cd0c623e020d0cc7e9ce178b4ac1f70f/plugins/life-science-research/skills/biobankjapan-phewas-skill

Ставит скилл в текущий проект - CLI спросит, для каких агентов. С флагом -g - в домашнюю папку, для всех проектов.

Описание

Fetch compact BioBank Japan PheWAS summaries for single variants by accepting rsID, GRCh38, or GRCh37 input and resolving to the required GRCh37 query. Use when a user wants concise BBJ association results for one variant

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.

Ещё из openai/plugins

Все 536
  1. agents-sdkв один кликBuild AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP…
  2. android-emulator-qaв один кликUse when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.
  3. build-chatgpt-appв один кликBuild, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI…
  4. chatgpt-app-submissionв один кликInspect a ChatGPT Apps MCP server codebase and generate chatgpt-app-submission.json with app info suggestions, tool hint justifications, test cases, and negative test…
  5. cloudflareв один кликComprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security…
  6. earnings-previewв один кликUse when preparing full pre-earnings preview reports with executive summary, expectation bar, guidance credibility, KPI dashboard, scenarios, and call questions. Do…
  7. notion-knowledge-captureв один кликCapture conversations and decisions into structured Notion pages; use when turning chats/notes into wiki entries, how-tos, decisions, or FAQs with proper linking.
  8. notion-meeting-intelligenceв один кликPrepare meeting materials with Notion context and supplemental research; use when gathering context, drafting agendas/pre-reads, and tailoring materials to attendees.