medsci-agent: Skill for OpenCode

.opencode/skills/uniprot/SKILL.md

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

A way to access UniProt, a public database of protein sequences and information about what proteins do. It supports searching by gene or organism and retrieving identifiers, sequences, domains, variants, and links to related scientific databases.

In plain words
What is it for?
Looking up proteins such as human TP53, retrieving reviewed or automated annotations, searching by biological criteria, and using protein details in analysis scripts.
Why use it?
It saves developers from manually browsing protein records and provides a consistent programmatic route to biological reference data.

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/uniprot/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 uniprot

README.md
[![agentmods](https://agentmods.dev/badge/skills/omar-a-hassan/medsci-agent/uniprot/github.svg)](https://agentmods.dev/skills/omar-a-hassan/medsci-agent/uniprot)
Your own site
<a href="https://agentmods.dev/skills/omar-a-hassan/medsci-agent/uniprot"><img src="https://agentmods.dev/badge/skills/omar-a-hassan/medsci-agent/uniprot/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 uniprot

Your own site · 80×15
<a href="https://agentmods.dev/skills/omar-a-hassan/medsci-agent/uniprot"><img src="https://agentmods.dev/badge/skills/omar-a-hassan/medsci-agent/uniprot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 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.00018 $0.00462
Opus 5.5 $0.00007 $0.00185
Sonnet 5.5 $0.00004 $0.00092
Haiku 4.5 $0.00002 $0.00046

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

Security

Grade A, and why

uniprot 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.get("https://rest.uniprot.org/uniprotkb/P04637.json")
.opencode/skills/uniprot/SKILL.md · 51 lines

What it actually says

UniProt Protein Database

Overview

UniProt is the comprehensive resource for protein sequence and functional annotation. UniProtKB has two sections: Swiss-Prot (reviewed, curated) and TrEMBL (unreviewed, automated).

REST API Access

import requests

# Fetch a single entry
r = requests.get("https://rest.uniprot.org/uniprotkb/P04637.json")
entry = r.json()
print(entry["proteinDescription"]["recommendedName"]["fullName"]["value"])

Search Queries

params = {
    "query": "(gene:TP53) AND (organism_id:9606) AND (reviewed:true)",
    "format": "json",
    "size": 10,
    "fields": "accession,gene_names,protein_name,organism_name,length"
}
r = requests.get("https://rest.uniprot.org/uniprotkb/search", params=params)
results = r.json()["results"]

Key Fields

  • accession: Primary identifier (e.g., P04637 for human TP53).
  • gene_names: Associated gene symbols.
  • features: Domains, active sites, variants, PTMs.
  • cross-references: Links to PDB, Pfam, GO, ChEMBL, etc.
  • sequence: Full amino acid sequence.

Common Query Syntax

  • gene:BRCA1 -- by gene name.
  • organism_id:9606 -- human.
  • reviewed:true -- Swiss-Prot only.
  • ec:3.4.21.* -- by enzyme classification.
  • keyword:kinase -- by keyword annotation.

Key Details

  • Accession format: [OPQ][0-9][A-Z0-9]{3}[0-9] (e.g., P04637).
  • Batch retrieval: POST to /uniprotkb/accessions with list of IDs.
  • ID mapping: https://rest.uniprot.org/idmapping/run for cross-database mapping.
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 · 51 lines · 18 tokens per session scan A 94f76039d428

Subscribe to this mod's changes

uniprot is a skill published in the GitHub repository omar-A-hassan/medsci-agent (17 stars, last pushed 2mo ago), licensed MIT. It adds 18 tokens to every session and 462 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

uniprot compared with skills from other repositories

uniprot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uniprotomar-A-hassan/medsci-agentSkill172mo agoMITA18OpenCode
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