opentargets-database
What it does
This skill lets your agent query the Open Targets Platform through its GraphQL API. It is for drug discovery teams and researchers who need to pick or assess therapeutic targets.
When to use it
- ✓When you need a ranked list of genes linked to a disease.
- ✓When you want to check how druggable or safe a gene target looks.
- ✓When you need the known drugs for a disease or their clinical phases.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/opentargets-database/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Which genes have the strongest evidence for association with asthma in Open Targets, and which known drugs act on them?”
5 new skills a week. 1 minute to read.
How it works
The agent sends GraphQL queries to the Open Targets API for the disease or gene you name. It returns the association scores, evidence, and drug records.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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="ENSG00000
FAQ
What kind of evidence does it show?
The skill mentions evidence from human genetics, omics, literature, and chemical data.
Can it show drug trial phases?
Yes. The skill mentions clinical trial phases for known drugs.
How does it access the data?
The skill focuses on the GraphQL API, though downloads and BigQuery access also exist.
Details
Original description by the author
Query Open Targets Platform for target-disease associations, drug target discovery, tractability/safety data, genetics/omics evidence, known drugs, for therapeutic target identification.
Popularity
- GitHub stars
- 33k
- Ranking position
- #8988
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
owasp-security
33kTeaches your agent OWASP security guidance for web apps, APIs, mobile, containers and AI agents, so it can spot common weaknesses and suggest fixes.
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.