openai-opentargets-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-opentargets-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-16ec9f6a1516f58e0e7fd9d208b5e30aaf8a0aafb94a69a31cd023bf585aeef5. 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
Generates concise Open Targets Platform GraphQL requests to retrieve target, disease, drug, variant, study, and search data, including a database-sourced heatmap matrix of associated diseases. Suitable when a user needs a compact Open Targets summary or evidence context organized by database source.
Introduction source: third_party · openai · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Submit compact Open Targets Platform GraphQL requests for target, disease, drug, variant, study, and search data, including associated-disease datasource heatmap matrices. Use when a user wants concise Open Targets summaries or per-datasource evidence context
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Read one JSON object from stdin. Required field: `query` or `query_path` Optional fields: `variables`, `max_items`, `max_depth`, `timeout_sec`, `save_raw`, `raw_output_path` Common Open Targets patterns: - `{"query":"query { __typename }"}` - `{"query":"query searchAny($q: String!) { search(queryString: $q) { total hits { entity score object { ... on Target { id approvedSymbol } } } } }","variables":{"q":"MST1"},"max_items":3}`
- 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: opentargets-skill
description: Submit compact Open Targets Platform GraphQL requests for target, disease, drug, variant, study, and search data, including associated-disease datasource heatmap matrices. Use when a user wants concise Open Targets summaries or per-datasource evidence contextOperating rules
- Use
scripts/opentargets_graphql.pyfor all Open Targets GraphQL work. - Use
scripts/opentargets_disease_heatmap.pywhen the user wants the associated-disease bubble grid or a disease-by-datasource evidence matrix. - The script accepts
max_items; for nested GraphQL results, start withmax_items=3to5. - Keep GraphQL selection sets narrow and page connection-style fields conservatively.
- Use
query_pathfor long GraphQL documents instead of pasting large inline query strings. - Re-run requests in long conversations instead of relying on earlier tool output.
- Treat displayed
...in tool previews as UI truncation, not part of the real query.
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.
- Prefer targeted GraphQL queries that select only the fields needed for the user task.
- Use schema introspection only when necessary; do not dump large schema payloads into chat.
- For the associated-disease heatmap, treat
datasourceScoresas evidence-source breadth/context. Do not treat heatmap breadth alone as proof of causal target assignment, mechanism, or direction of effect.
Input
- Read one JSON object from stdin.
- Required field:
queryorquery_path - Optional fields:
variables,max_items,max_depth,timeout_sec,save_raw,raw_output_path - Common Open Targets patterns:
{"query":"query { __typename }"}{"query":"query searchAny($q: String!) { search(queryString: $q) { total hits { entity score object { ... on Target { id approvedSymbol } } } } }","variables":{"q":"MST1"},"max_items":3}
Output
- Success returns
ok,source,top_keys, a compactsummary, andraw_output_pathwhensave_raw=true. - Failure returns
ok=falsewitherror.codesuch asinvalid_json,invalid_input,network_error,invalid_response, orgraphql_error.
Execution
echo '{"query":"query { __typename }"}' | python scripts/opentargets_graphql.py
Associated-disease heatmap helper:
echo '{
"ensembl_id":"ENSG00000186868",
"page_size":50,
"max_pages":4,
"disease_name_filter":"alzh"
}' | python scripts/opentargets_disease_heatmap.py
The helper paginates associatedDiseases, collects datasourceScores, and returns:
matrix.columns: datasource IDs plus display labelsmatrix.rows: diseases withdatasource_scoressummary.rows_preview: top datasource signals per disease
Use the disease-name filter as a client-side substring filter similar to the UI. If you later need the overall association score column, inspect the GraphQL row type first before adding candidate fields such as score or associationScore.
References
- No additional runtime references are required; keep the import package limited to this file and the bundled scripts in
scripts/.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Open Targets Platform 的专业生物医学数据查询能力
- 支持靶点、疾病、药物等多维度数据及关联热图矩阵生成
- 面向科研用户解决特定领域信息聚合与分析需求
Highlights
- 触发描述清晰明确,覆盖 Open Targets 核心使用场景
- 关键词精准(GraphQL、靶点、疾病、热图),边界清晰
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档未设置独立的 When to Use 章节说明典型使用场景
Recommendation: 建议补充 When to Use 章节以增强用户引导
Highlights
- 文档结构完整,包含操作规则、执行行为、输入输出说明
- 提供具体命令示例和参数说明,frontmatter 完整
Areas to improve
-
引用文件存在性依赖未说明 Reported severity: Minor
文档引用 scripts/opentargets_graphql.py 和 scripts/opentargets_disease_heatmap.py 但未说明这些文件是否必须存在
Recommendation: 建议在文档中明确说明 scripts 目录及文件为必需依赖
Highlights
- 工具来源明确,参数定义清晰
- 错误处理覆盖主要异常类型(网络、JSON、GraphQL 错误等)
- 具备分页控制和超时机制保障执行稳定性
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.