Agent skill

query-opentarget

Query OpenTargets for drug targets, disease associations, and therapeutic evidence. Use when user asks about drug targets, disease mechanisms, target validation, or drug-disease associations. Triggers on "opentarget", "drug target", "target validation", "disease association", "therapeutic target", "drug for disease".

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill query-opentarget --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/bioclaw/query-opentarget/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 144
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OpenTargets Platform Query Query the OpenTargets Platform GraphQL API for drug-target-disease associations. ## When to Use - User asks about drug targets for a disease - User wants disease-gene associations - User asks about drugs targeting a specific gene - User wants evidence for target validation ## How to Execute ```python import requests import json OPENTARGETS_URL = "https://api.platform.opentargets.org/api/v4/graphql" def query_opentargets(graphql_query, variables=None): payload = {"query": graphql_query, "variables": variables or {}} r = requests.post(OPENTARGETS_URL, json=payload, headers={"Content-Type": "application/json"}) r.raise_for_status() return r.json() # 1. Search for a target (gene) def search_target(gene_name): query = ''' query searchTarget($name: String!) { search(queryString: $name, entityNames: ["target"], page: {index: 0, size: 5}) { hits { id name description entity } } }''' return query_opentargets(query, {"name": gene_name}) # 2. Get diseases associated with a target def target_diseases(ensembl_id, size=10): query = ''' query targetDiseases($ensemblId: String!, $size: Int!) { target(ensemblId: $ensemblId) { id approvedSymbol approvedName associatedDis

What's inside
Steps it walks through
  1. When to Use
  2. How to Execute
  3. Common Disease IDs (EFO)
  4. Follow-up Suggestions
More from awesome-bio-agent-skills
All skills →
About this skill
What does the query-opentarget skill do?

Query OpenTargets for drug targets, disease associations, and therapeutic evidence. Use when user asks about drug targets, disease mechanisms, target validation, or drug-disease associations. Triggers on "opentarget", "drug target", "target validation", "disease association", "therapeutic target", "drug for disease".

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill query-opentarget --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 144 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going