openai-opentargets-skill
预览截图
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "openai-opentargets-skill":https://skillpi.com/zh/skills/deepskill-16ec9f6a1516f58e0e7fd9d208b5e30aaf8a0aafb94a69a31cd023bf585aeef5。安装前核对上游来源和版本:https://github.com/openai/plugins。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于生成紧凑的 Open Targets Platform GraphQL 请求以获取靶点、疾病、药物、变异、研究和搜索相关数据,包括按数据库来源展示的关联疾病热图矩阵。适合需要简明 Open Targets 摘要或基于数据库来源查看证据上下文的场景。
介绍来源: third_party · openai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 提交紧凑的开放目标平台图QL请求,用于目标,疾病,药物,变体,研究和搜索数据,包括相关疾病数据源热映射矩阵. 用户需要简洁的 Open 目标摘要或每个数据源证据上下文时使用
- 适合谁
- 来源文档未说明。
- 输入和输出
- 从Stdin读取一个JSON对象. 需要的字段 : `query` 或 `query_path` 可选字段 : `variables` , (中文). `max_items` , (中文). `max_depth` , (中文). `timeout_sec` , (中文). `save_raw` , (中文). `raw_output_path` 常见开放目标模式: - `{"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}`
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
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/.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供 Open Targets Platform 的专业生物医学数据查询能力
- 支持靶点、疾病、药物等多维度数据及关联热图矩阵生成
- 面向科研用户解决特定领域信息聚合与分析需求
亮点
- 触发描述清晰明确,覆盖 Open Targets 核心使用场景
- 关键词精准(GraphQL、靶点、疾病、热图),边界清晰
待提升项
-
缺少 When to Use 显式章节 原报告严重程度:轻微
文档未设置独立的 When to Use 章节说明典型使用场景
改进建议:建议补充 When to Use 章节以增强用户引导
亮点
- 文档结构完整,包含操作规则、执行行为、输入输出说明
- 提供具体命令示例和参数说明,frontmatter 完整
待提升项
-
引用文件存在性依赖未说明 原报告严重程度:轻微
文档引用 scripts/opentargets_graphql.py 和 scripts/opentargets_disease_heatmap.py 但未说明这些文件是否必须存在
改进建议:建议在文档中明确说明 scripts 目录及文件为必需依赖
亮点
- 工具来源明确,参数定义清晰
- 错误处理覆盖主要异常类型(网络、JSON、GraphQL 错误等)
- 具备分页控制和超时机制保障执行稳定性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。