tpmi-phewas-skill
Installation
SKILL.md
Operating rules
- Use
scripts/tpmi_phewas.pyfor all TPMI PheWAS lookups. - Accept exactly one of
rsid,grch37,grch38, orvariant; resolve to the canonical GRCh38chr:pos-ref-altquery before calling TPMI. - 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.