qsong-github/drugclaw/open-targets
Claude Code and agent skill by qsong-github/drugclaw
- community
Checking that the SKILL.md file is still in the repository.
Query the Open Targets Platform for drug-target-disease associations. Use whenever the user asks about drug targets, gene-disease associations, drug indications, clinical trial phases, or wants to look up any entity (Ensembl gene ID, ChEMBL drug ID, or free-text gene/drug name) in Open Targets. Also trigger when the user mentions Open Targets, ENSG IDs, CHEMBL IDs, or asks about target prioritization for diseases.
Install
npx vskill@latest install qsong-github/drugclaw/open-targetsSKILL.md
Open Targets Platform Query Skill
Query the Open Targets GraphQL API for drug, target, and disease association data. No API key required.
Entity Auto-Detection
| Input Pattern | Detected As | Example | |
|---|---|---|---|
ENSG00000... | Target (Ensembl gene ID) | ENSG00000146648 (EGFR) | |
CHEMBL... | Drug (ChEMBL ID) | CHEMBL941 (Imatinib) | |
| anything else | Free-text search | BRCA1, aspirin |
API
| Function | Input | Returns | |
|---|---|---|---|
query(entity) | single entity string | dict with type, name, associations | |
query_batch(entities) | list of entity strings | list[dict] | |
summarize(result) | query result dict | compact one-line text | |
get_target_info(ensembl_id) | Ensembl ID string | raw GraphQL response | |
get_drug_info(chembl_id) | ChEMBL ID string | raw GraphQL response | |
search_entities(term) | free-text string | raw GraphQL response |
Return Format
Target result:
Drug result:
Search result:
Usage
See if __name__ == "__main__" block in 12_Open_Targets_Platform.py for runnable examples covering: single target/drug/search query, batch query, and JSON output.
Source
- Endpoint:
https://api.platform.opentargets.org/api/v4/graphql - Docs: https://platform.opentargets.org/
- Paper: https://doi.org/10.1093/nar/gkac1046
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dti/open_targets/SKILL.md
Popularity
- Repository stars
- 116
- Repository forks
- 3
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/qsong-github/drugclaw/open-targets)