Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

opentargets-databaseOpenTargets 数据库

Agent Skill

用于辅助数据库表结构、查询语句、迁移脚本和数据维护任务。它适合让 Agent 分析 schema、编写 SQL、排查查询问题、整理索引或生成迁移建议。使用时需要明确数据库类型、连接环境和目标表,区分只读分析与写入变更;涉及删除、更新、迁移和批量导入时,应优先 dry-run、备份或事务保护,避免误操作。

总安装

528

周安装

22

GitHub Stars

公开资料未说明

下载量

176
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:opentargets-database(OpenTargets 数据库)
来源仓库:https://github.com/jimmc414/kosmos
仓库路径:skills/opentargets-database
安装命令:
npx skills add jimmc414/kosmos --skill "opentargets-database"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add jimmc414/kosmos --skill "opentargets-database"

简介

用于辅助数据库表结构、查询语句、迁移脚本和数据维护任务,适合让 Agent 分析 schema、编写 SQL、排查查询问题、整理索引或生成迁移建议。

  • 适用于 OpenTargets 药物靶点数据库相关的数据管理场景,需明确数据库类型与连接环境。
  • 通过 npx skills add jimmc414/kosmos --skill "opentargets-database" 安装,需结合原始 README 核验具体用法。
  • 涉及删除、更新、迁移和批量导入时,应优先 dry-run、备份或事务保护,避免误操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Open Targets Database

Overview

The Open Targets Platform is a comprehensive resource for systematic identification and prioritization of potential therapeutic drug targets. It integrates publicly available datasets including human genetics, omics, literature, and chemical data to build and score target-disease associations.

Key capabilities:

  • Query target (gene) annotations including tractability, safety, expression
  • Search for disease-target associations with evidence scores
  • Retrieve evidence from multiple data types (genetics, pathways, literature, etc.)
  • Find known drugs for diseases and their mechanisms
  • Access drug information including clinical trial phases and adverse events
  • Evaluate target druggability and therapeutic potential

Data access: The platform provides a GraphQL API, web interface, data downloads, and Google BigQuery access. This skill focuses on the GraphQL API for programmatic access.

When to Use This Skill

This skill should be used when:

  • Target discovery: Finding potential therapeutic targets for a disease
  • Target assessment: Evaluating tractability, safety, and druggability of genes
  • Evidence gathering: Retrieving supporting evidence for target-disease associations
  • Drug repurposing: Identifying existing drugs that could be repurposed for new indications
  • Competitive intelligence: Understanding clinical precedence and drug development landscape
  • Target prioritization: Ranking targets based on genetic evidence and other data types
  • Mechanism research: Investigating biological pathways and gene functions
  • Biomarker discovery: Finding genes differentially expressed in disease
  • Safety assessment: Identifying potential toxicity concerns for drug targets

Core Workflow

1. Search for Entities

Start by finding the identifiers for targets, diseases, or drugs of interest.

For targets (genes):

from scripts.query_opentargets import search_entities

# Search by gene symbol or name
results = search_entities("BRCA1", entity_types=["target"])
# Returns: [{"id": "ENSG00000012048", "name": "BRCA1", ...}]

For diseases:

# Search by disease name
results = search_entities("alzheimer", entity_types=["disease"])
# Returns: [{"id": "EFO_0000249", "name": "Alzheimer disease", ...}]

For drugs:

# Search by drug name
results = search_entities("aspirin", entity_types=["drug"])
# Returns: [{"id": "CHEMBL25", "name": "ASPIRIN", ...}]

Identifiers used:

  • Targets: Ensembl gene IDs (e.g., ENSG00000157764)
  • Diseases: EFO (Experimental Factor Ontology) IDs (e.g., EFO_0000249)
  • Drugs: ChEMBL IDs (e.g., CHEMBL25)

2. Query Target Information

Retrieve comprehensive target annotations to assess druggability and biology.

from scripts.query_opentargets import get_target_info

target_info = get_target_info("ENSG00000157764", include_diseases=True)

# Access key fields:
# - approvedSymbol: HGNC gene symbol
# - approvedName: Full gene name
# - tractability: Druggability assessments across modalities
# - safetyLiabilities: Known safety concerns
# - geneticConstraint: Constraint scores from gnomAD
# - associatedDiseases: Top disease associations with scores

Key annotations to review:

  • Tractability: Small molecule, antibody, PROTAC druggability predictions
  • Safety: Known toxicity concerns from multiple databases
  • Genetic constraint: pLI and LOEUF scores indicating essentiality
  • Disease associations: Diseases linked to the target with evidence scores

Refer to references/target_annotations.md for detailed information about all target features.

3. Query Disease Information

Get disease details and associated targets/drugs.

from scripts.query_opentargets import get_disease_info

disease_info = get_disease_info("EFO_0000249", include_targets=True)

# Access fields:
# - name: Disease name
# - description: Disease description
# - therapeuticAreas: High-level disease categories
# - associatedTargets: Top targets with association scores

4. Retrieve Target-Disease Evidence

Get detailed evidence supporting a target-disease association.

from scripts.query_opentargets import get_target_disease_evidence

# Get all evidence
evidence = get_target_disease_evidence(
    ensembl_id="ENSG00000157764",
    efo_id="EFO_0000249"
)

# Filter by evidence type
genetic_evidence = get_target_disease_evidence(
    ensembl_id="ENSG00000157764",
    efo_id="EFO_0000249",
    data_types=["genetic_association"]
)

# Each evidence record contains:
# - datasourceId: Specific data source (e.g., "gwas_catalog", "chembl")
# - datatypeId: Evidence category (e.g., "genetic_association", "known_drug")
# - score: Evidence strength (0-1)
# - studyId: Original study identifier
# - literature: Associated publications

Major evidence types:

  1. genetic_association: GWAS, rare variants, ClinVar, gene burden
  2. somatic_mutation: Cancer Gene Census, IntOGen, cancer biomarkers
  3. known_drug: Clinical precedence from approved/clinical drugs
  4. affected_pathway: CRISPR screens, pathway analyses, gene signatures
  5. rna_expression: Differential expression from Expression Atlas
  6. animal_model: Mouse phenotypes from IMPC
  7. literature: Text-mining from Europe PMC

Refer to references/evidence_types.md for detailed descriptions of all evidence types and interpretation guidelines.

5. Find Known Drugs

Identify drugs used for a disease and their targets.

from scripts.query_opentargets import get_known_drugs_for_disease

drugs = get_known_drugs_for_disease("EFO_0000249")

# drugs contains:
# - uniqueDrugs: Total number of unique drugs
# - uniqueTargets: Total number of unique targets
# - rows: List of drug-target-indication records with:
#   - drug: {name, drugType, maximumClinicalTrialPhase}
#   - targets: Genes targeted by the drug
#   - phase: Clinical trial phase for this indication
#   - status: Trial status (active, completed, etc.)
#   - mechanismOfAction: How drug works

Clinical phases:

  • Phase 4: Approved drug
  • Phase 3: Late-stage clinical trials
  • Phase 2: Mid-stage trials
  • Phase 1: Early safety trials

6. Get Drug Information

Retrieve detailed drug information including mechanisms and indications.

from scripts.query_opentargets import get_drug_info

drug_info = get_drug_info("CHEMBL25")

# Access:
# - name, synonyms: Drug identifiers
# - drugType: Small molecule, antibody, etc.
# - maximumClinicalTrialPhase: Development stage
# - mechanismsOfAction: Target and action type
# - indications: Diseases with trial phases
# - withdrawnNotice: If withdrawn, reasons and countries

7. Get All Associations for a Target

Find all diseases associated with a target, optionally filtering by score.

from scripts.query_opentargets import get_target_associations

# Get associations with score >= 0.5
associations = get_target_associations(
    ensembl_id="ENSG00000157764",
    min_score=0.5
)

# Each association contains:
# - disease: {id, name}
# - score: Overall association score (0-1)
# - datatypeScores: Breakdown by evidence type

Association scores:

  • Range: 0-1 (higher = stronger evidence)
  • Aggregate evidence across all data types using harmonic sum
  • NOT confidence scores but relative ranking metrics
  • Under-studied diseases may have lower scores despite good evidence

GraphQL API Details

For custom queries beyond the provided helper functions, use the GraphQL API directly or modify scripts/query_opentargets.py.

Key information:

  • Endpoint: https://api.platform.opentargets.org/api/v4/graphql
  • Interactive browser: https://api.platform.opentargets.org/api/v4/graphql/browser
  • No authentication required
  • Request only needed fields to minimize response size
  • Use pagination for large result sets: page: {size: N, index: M}

Refer to references/api_reference.md for:

  • Complete endpoint documentation
  • Example queries for all entity types
  • Error handling patterns
  • Best practices for API usage

Best Practices

Target Prioritization Strategy

When prioritizing drug targets:

  1. Start with genetic evidence: Human genetics (GWAS, rare variants) provides strongest disease relevance
  2. Check tractability: Prefer targets with clinical or discovery precedence
  3. Assess safety: Review safety liabilities, expression patterns, and genetic constraint
  4. Evaluate clinical precedence: Known drugs indicate druggability and therapeutic window
  5. Consider multiple evidence types: Convergent evidence from different sources increases confidence
  6. Validate mechanistically: Pathway evidence and biological plausibility
  7. Review literature manually: For critical decisions, examine primary publications

Evidence Interpretation

Strong evidence indicators:

  • Multiple independent evidence sources
  • High genetic association scores (especially GWAS with L2G > 0.5)
  • Clinical precedence from approved drugs
  • ClinVar pathogenic variants with disease match
  • Mouse models with relevant phenotypes

Caution flags:

  • Single evidence source only
  • Text-mining as sole evidence (requires manual validation)
  • Conflicting evidence across sources
  • High essentiality + ubiquitous expression (poor therapeutic window)
  • Multiple safety liabilities

Score interpretation:

  • Scores rank relative strength, not absolute confidence
  • Under-studied diseases have lower scores despite potentially valid targets
  • Weight expert-curated sources higher than computational predictions
  • Check evidence breakdown, not just overall score

Common Workflows

Workflow 1: Target Discovery for a Disease

  1. Search for disease → get EFO ID
  2. Query disease info with include_targets=True
  3. Review top targets sorted by association score
  4. For promising targets, get detailed target info
  5. Examine evidence types supporting each association
  6. Assess tractability and safety for prioritized targets

Workflow 2: Target Validation

  1. Search for target → get Ensembl ID
  2. Get comprehensive target info
  3. Check tractability (especially clinical precedence)
  4. Review safety liabilities and genetic constraint
  5. Examine disease associations to understand biology
  6. Look for chemical probes or tool compounds
  7. Check known drugs targeting gene for mechanism insights

Workflow 3: Drug Repurposing

  1. Search for disease → get EFO ID
  2. Get known drugs for disease
  3. For each drug, get detailed drug info
  4. Examine mechanisms of action and targets
  5. Look for related disease indications
  6. Assess clinical trial phases and status
  7. Identify repurposing opportunities based on mechanism

Workflow 4: Competitive Intelligence

  1. Search for target of interest
  2. Get associated diseases with evidence
  3. For each disease, get known drugs
  4. Review clinical phases and development status
  5. Identify competitors and their mechanisms
  6. Assess clinical precedence and market landscape

Resources

Scripts

scripts/query_opentargets.py Helper functions for common API operations:

  • search_entities() - Search for targets, diseases, or drugs
  • get_target_info() - Retrieve target annotations
  • get_disease_info() - Retrieve disease information
  • get_target_disease_evidence() - Get supporting evidence
  • get_known_drugs_for_disease() - Find drugs for a disease
  • get_drug_info() - Retrieve drug details
  • get_target_associations() - Get all associations for a target
  • execute_query() - Execute custom GraphQL queries

References

references/api_reference.md Complete GraphQL API documentation including:

  • Endpoint details and authentication
  • Available query types (target, disease, drug, search)
  • Example queries for all common operations
  • Error handling and best practices
  • Data licensing and citation requirements

references/evidence_types.md Comprehensive guide to evidence types and data sources:

  • Detailed descriptions of all 7 major evidence types
  • Scoring methodologies for each source
  • Evidence interpretation guidelines
  • Strengths and limitations of each evidence type
  • Quality assessment recommendations

references/target_annotations.md Complete target annotation reference:

  • 12 major annotation categories explained
  • Tractability assessment details
  • Safety liability sources
  • Expression, essentiality, and constraint data
  • Interpretation guidelines for target prioritization
  • Red flags and green flags for target assessment

Data Updates and Versioning

The Open Targets Platform is updated quarterly with new data releases. The current release (as of October 2025) is available at the API endpoint.

Release information: Check https://platform-docs.opentargets.org/release-notes for the latest updates.

Citation: When using Open Targets data, cite: Ochoa, D. et al. (2025) Open Targets Platform: facilitating therapeutic hypotheses building in drug discovery. Nucleic Acids Research, 53(D1):D1467-D1477.

Limitations and Considerations

  1. API is for exploratory queries: For systematic analyses of many targets/diseases, use data downloads or BigQuery
  2. Scores are relative, not absolute: Association scores rank evidence strength but don't predict clinical success
  3. Under-studied diseases score lower: Novel or rare diseases may have strong evidence but lower aggregate scores
  4. Evidence quality varies: Weight expert-curated sources higher than computational predictions
  5. Requires biological interpretation: Scores and evidence must be interpreted in biological and clinical context
  6. No authentication required: All data is freely accessible, but cite appropriately

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.07%
按下载量换算51

windsurf

24.2%
按下载量换算43

OpenCode

16.58%
按下载量换算29

Codex

11.87%
按下载量换算21

Antigravity

7.73%
按下载量换算14

Gemini CLI

3.26%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills