medsci-agent: Skill for OpenCode

.opencode/skills/opentargets/SKILL.md

opentargets is a skill for OpenCode from omar-A-hassan/medsci-agent. It costs 16 tokens per session (421 once invoked), scanned A, original, MIT.

A research tool for finding links between biological targets, such as genes or proteins, and diseases. Open Targets is a public platform that combines genetic, genomic, drug, and scientific-literature evidence.

In plain words
What is it for?
Use it to search for targets, list related diseases, and inspect evidence types and association scores.
Why use it?
It helps compare the evidence for a target–disease link in one place instead of gathering it manually from many sources.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is omar-A-hassan/medsci-agent's own configuration. It tells OpenCode how to work on medsci-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything medsci-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to omar-A-hassan/medsci-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/omar-A-hassan/medsci-agent/main/.opencode/skills/opentargets/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/omar-A-hassan/medsci-agent

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opentargets

README.md
[![agentmods](https://agentmods.dev/badge/skills/omar-a-hassan/medsci-agent/opentargets/github.svg)](https://agentmods.dev/skills/omar-a-hassan/medsci-agent/opentargets)
Your own site
<a href="https://agentmods.dev/skills/omar-a-hassan/medsci-agent/opentargets"><img src="https://agentmods.dev/badge/skills/omar-a-hassan/medsci-agent/opentargets/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opentargets

Your own site · 80×15
<a href="https://agentmods.dev/skills/omar-a-hassan/medsci-agent/opentargets"><img src="https://agentmods.dev/badge/skills/omar-a-hassan/medsci-agent/opentargets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00421
Opus 5.5 $0.00006 $0.00168
Sonnet 5.5 $0.00003 $0.00084
Haiku 4.5 $0.00002 $0.00042

Measured 2mo ago against content hash bf658a5488fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opentargets scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

r = requests.post(OT_URL, json={"query": query, "variables": {"id": "ENSG00000141510"}})
.opencode/skills/opentargets/SKILL.md · 47 lines

What it actually says

Open Targets Platform

Overview

Open Targets integrates genetics, genomics, transcriptomics, drugs, and literature to score target-disease associations. It uses evidence from GWAS, differential expression, pathways, drugs, and more.

GraphQL API

import requests
OT_URL = "https://api.platform.opentargets.org/api/v4/graphql"
query = """
query target($id: String!) {
  target(ensemblId: $id) {
    approvedSymbol
    approvedName
    associatedDiseases(page: {index: 0, size: 5}) {
      rows {
        disease { id name }
        score
        datatypeScores { componentId score }
      }
    }
  }
}
"""
r = requests.post(OT_URL, json={"query": query, "variables": {"id": "ENSG00000141510"}})
data = r.json()["data"]["target"]
search_q = 'query search($q: String!) { search(queryString: $q, entityNames: ["target"], page: {index: 0, size: 5}) { hits { id name entity } } }'
r = requests.post(OT_URL, json={"query": search_q, "variables": {"q": "BRAF"}})

Key Details

  • Association score: 0-1 combining all evidence datatypes.
  • Datatypes: genetic_association, somatic_mutation, known_drug, affected_pathway, literature, rna_expression, animal_model.
  • Target IDs: Ensembl gene IDs (ENSG...). Disease IDs: EFO or MONDO IDs.
  • No API key required; rate limit ~10 req/s.
  • Use associatedTargets on disease nodes for reverse lookups.
  • Genetics Portal provides variant-to-gene (V2G) and colocalisation data.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 47 lines · 16 tokens per session scan A bf658a5488fe

Subscribe to this mod's changes

opentargets is a skill published in the GitHub repository omar-A-hassan/medsci-agent (17 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 421 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

opentargets compared with skills from other repositories

opentargets next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opentargetsomar-A-hassan/medsci-agentSkill172mo agoMITA16OpenCode
build-expression-treejimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA24Claude Code
find-convex-hulljimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA31Claude Code
dfam-checkearthtojake/text-to-cadSkill26kyesterdayMITA117Claude Code, Codex
peer-reviewxintaofei/codegSkill4.2k6d agoApache-2.0A71Claude Code
scientific-critical-thinkingxintaofei/codegSkill4.2k6d agoApache-2.0A63Claude Code
tooluniverse-phylogeneticsmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A155Claude Code