biobankjapan-phewas-skill

por openai

Obtén resúmenes PheWAS compactos de BioBank Japan para variantes individuales aceptando entrada rsID, GRCh38 o GRCh37 y resolviendo a la consulta GRCh37 requerida. Usa…

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.

Más skills de openai

release
openai
Realizar un lanzamiento de Symphony incrementando la versión confirmada, integrándola, etiquetando el commit fusionado y verificando el flujo de trabajo de lanzamiento de Burrito. Usar cuando se solicite…
signing-entitlements
openai
Inspeccionar problemas de firma, entitlements, runtime reforzado y Gatekeeper en aplicaciones de macOS. Usar cuando se solicite diagnosticar fallos de firma de código, entitlements faltantes,…
building-ai-agent-on-cloudflare
openai
Crea agentes de IA en Cloudflare usando el Agents SDK con gestión de estado, WebSockets en tiempo real, tareas programadas, integración de herramientas y chat…
epigraphdb-skill
openai
Envía solicitudes compactas a la API de EpiGraphDB para ontología, literatura, MR, genes-fármacos y evidencia de vías de soporte. Úsalo cuando un usuario desee resúmenes concisos de EpiGraphDB.
runtime-behavior-probe
openai
Planificar y ejecutar investigaciones de comportamiento en tiempo de ejecución con scripts de sonda temporales, matrices de validación, controles de estado e informes centrados en hallazgos. Usar solo cuando…
deep-security-scan
openai
Úsalo cuando el usuario solicite un escaneo de seguridad de Codex profundo, exhaustivo, de múltiples pasadas o que reduzca la varianza, en todo el repositorio o en una ruta específica. Ejecuta pasadas independientes repetidas…
define-security-policy
openai
Definir, revisar o actualizar la guía de SECURITY.md para un repositorio o componente. Úselo cuando el usuario quiera aclarar qué debe revisar Codex Security, qué está fuera de…
validation
openai
Usar cuando Codex ya está en la fase de validación de un escaneo de seguridad o el usuario solicita explícitamente determinar si uno o más posibles hallazgos de seguridad…