
Skill
biobankjapan-phewas-skill
fetch BioBank Japan PheWAS summaries for variants
Description
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
SKILL.md
Operating rules
- Use
scripts/biobankjapan_phewas.pyfor all BioBank Japan PheWAS lookups. - Accept exactly one of
rsid,grch37,grch38, orvariant; resolve to the canonical GRCh37chr:pos-ref-altquery before calling BioBank Japan. - The script accepts
max_results; start withmax_results=10and 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=trueand reportraw_output_pathinstead 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_resultsgradually 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, orvariant - 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, andwarnings. - Use
raw_output_pathwhensave_raw=true. - Failure returns
ok=falsewitherror.codeanderror.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.
More skills from the plugins repository
View all 600 skillsaccessibility-and-inclusive-visualization
make data visualizations accessible
Jun 30AccessibilityChartsData VisualizationDesignagent-browser
automate browser interactions for agents
Apr 6AgentsBrowser AutomationTestingagent-browser-verify
verify dev server output with automated browser
Apr 6Browser AutomationLocal DevelopmentTestingagents-sdk
build AI agents on Cloudflare Workers
Apr 6AgentsCloudflare WorkersSDKServerless +1ai-elements
build chat UIs with AI Elements
Apr 6FrontendReactshadcn/uiUI Components +1ai-gateway
configure Vercel AI Gateway
Apr 6AI InfrastructureCost OptimizationLLMPerformance +1
More from OpenAI
View publisherprior-auth-packet-builder
build healthcare prior authorization packets
openai-agents-python
Apr 16DocumentsHealthcareInsuranceRegulatory Complianceaspnet-core
build ASP.NET Core web applications
skills
Apr 12.NETASP.NET CoreBlazorC# +1chatgpt-apps
build ChatGPT Apps SDK applications
skills
Apr 12Apps SDKChatGPTMCPOpenAIcli-creator
build CLIs from API docs
skills
Apr 12API DevelopmentCLICodexcloudflare-deploy
deploy projects to Cloudflare
skills
Apr 12CloudflareCloudflare PagesCloudflare WorkersDeploymentdefine-goal
define and set measurable project goals
skills
May 23ProductivityProject ManagementStrategyTask Management