opentargets-database
Skill by davila7
Queries the Open Targets Platform for target-disease associations, tractability, safety, genetic evidence and known drugs. Built for researchers doing therapeutic target identification and drug discovery.
Install opentargets-database
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/opentargets-database ~/.claude/skills/opentargets-databaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/opentargets-database ~/.gemini/antigravity-cli/skills/opentargets-databaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install opentargets-database in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The opentargets-database skill lets an AI assistant query the Open Targets Platform. The platform integrates human genetics, omics, literature and chemical data to identify and rank potential therapeutic drug targets. The skill covers target annotations such as tractability, safety and expression, disease associations with evidence scores, and known drugs with their clinical trial phases.
The skill uses the Open Targets GraphQL API, which requires no authentication. A Python helper script wraps common operations, including entity search, target and disease lookups, evidence retrieval, known drug queries and drug details. Custom GraphQL queries are also supported. It is aimed at researchers working on target discovery, target assessment, drug repurposing and competitive intelligence.
Written from the project's SKILL.md and checked against it.
What it can do
- search_entities()Searches for targets, diseases or drugs to get their identifiers.
- get_target_info()Retrieves target annotations including tractability, safety and genetic constraint.
- get_disease_info()Retrieves disease details, therapeutic areas and associated targets.
- get_target_disease_evidence()Gets evidence supporting a target-disease association, optionally filtered by data type.
- get_known_drugs_for_disease()Finds drugs used for a disease, with targets, phases and mechanisms.
- get_drug_info()Retrieves drug details, mechanisms, indications and withdrawal notices.
- get_target_associations()Lists all diseases associated with a target, with an optional minimum score.
- execute_query()Runs custom GraphQL queries against the Open Targets API.
What you need
- Python to run the helper script scripts/query_opentargets.py
Try asking
- Find top therapeutic targets for Alzheimer disease using EFO_0000249
- Show tractability and safety data for gene ENSG00000157764
- List known drugs for EFO_0000249 with their clinical trial phases
Good to know
- Focuses on the GraphQL API; other platform data access options are not covered.
- Association scores rank relative strength and are not confidence scores.
- Text-mining evidence alone requires manual validation according to the skill guidance.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/opentargets-database/SKILL.md, cli-tool/components/skills/scientific/opentargets-database/scripts/query_opentargets.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/api_reference.md6 KB -
references/evidence_types.md9 KB -
references/target_annotations.md10 KB -
scripts/query_opentargets.py10 KB
Alternatives to opentargets-database
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
opentargets-database: common questions
Does the Open Targets skill need an API key?
No. The source states that the Open Targets GraphQL API requires no authentication.
What kinds of evidence does it return for a target-disease pair?
The source lists genetic association, somatic mutation, known drug, affected pathway, RNA expression, animal model and literature evidence.
What is the Open Targets endpoint used by this skill?
The skill uses https://api.platform.opentargets.org/api/v4/graphql, and the source also gives an interactive browser at the /graphql/browser path.
How do I install opentargets-database?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is opentargets-database free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is opentargets-database safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to opentargets-database?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
