openai-tpmi-phewas-skill
Screenshots
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "openai-tpmi-phewas-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b57737b4b37808648e93c95b2a821d2dd6e7ad0f0a727f01218706d5f5ea67f1. Verify the upstream source and version against https://github.com/openai/plugins before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Retrieve a compact TPMI PheWAS summary for a single variant, accepting rsID, GRCh37, or GRCh38 input and resolving to the required GRCh38 query. Intended for users who need concise TPMI association results for a single variant.
Introduction source: third_party · openai · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Fetch compact TPMI PheWAS summaries for single variants by accepting rsID, GRCh37, or GRCh38 input and resolving to the required GRCh38 query. Use when a user wants concise TPMI association results for one variant
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- 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}`
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: tpmi-phewas-skill
description: Fetch compact TPMI PheWAS summaries for single variants by accepting rsID, GRCh37, or GRCh38 input and resolving to the required GRCh38 query. Use when a user wants concise TPMI association results for one variantOperating 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.
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:
{"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, andwarnings. - Use
raw_output_pathwhensave_raw=true. - Failure returns
ok=falsewitherror.codeanderror.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.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供单个变体 TPMI PheWAS 摘要查询,满足生物信息学研究的明确需求
- 支持多种输入格式(rsID、GRCh37、GRCh38),并自动解析至标准 GRCh38 格式
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档中未明确列出 When to Use 章节,影响用户快速判断使用时机
Recommendation: 建议补充 When to Use 章节,明确列出典型使用场景和边界条件
-
触发词覆盖不全 Reported severity: Minor
未覆盖多输入、无效输入等边界情况的处理逻辑
Recommendation: 建议在 Operating rules 中补充对无效输入的处理说明
Highlights
- description 清晰说明了核心使用场景和目标用户
Areas to improve
-
缺少端到端完整示例 Reported severity: Minor
Execution 章节仅提供了命令片段,缺少完整的端到端使用示例
Recommendation: 建议补充一个完整的端到端示例,包括输入、执行命令和预期输出
Highlights
- 文档结构清晰,包含 Operating rules、Execution behavior、Input、Output 等必要章节
- Input 部分提供了多种常见输入模式的示例
Areas to improve
-
工具来源不明 Reported severity: Major
scripts/tpmi_phewas.py 脚本的来源和配置方式未明确说明
Recommendation: 建议明确说明该脚本是内置还是需额外配置,并提供获取方式
Highlights
- 文档中提及了输入验证逻辑和错误处理机制
- 对 save_raw 等操作有明确的行为说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.