medsci-agent: Skill for OpenCode

.opencode/skills/alphafold/SKILL.md

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

A guide to the AlphaFold Database, which provides predicted three-dimensional structures for proteins. It explains how to retrieve structures by UniProt identifier and use pLDDT scores, which indicate confidence for each part of a prediction.

In plain words
What is it for?
Use it to fetch AlphaFold predictions, download PDB or mmCIF structure files, retrieve predicted-aligned-error data, and interpret pLDDT confidence scores.
Why use it?
It gives code examples and interpretation guidance for working with predicted protein structures instead of requiring users to discover the database API and confidence-score meaning themselves.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/omar-a-hassan/medsci-agent/alphafold"><img src="https://agentmods.dev/badge/skills/omar-a-hassan/medsci-agent/alphafold.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 517 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.00517
Opus 5 $0.00009 $0.00259
Sonnet 5 $0.00004 $0.00103
Haiku 4.5 $0.00002 $0.00052

Measured 10d ago against content hash 95eb8364ee47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

alphafold 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 10d 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(f"https://alphafold.ebi.ac.uk/api/prediction/{uniprot_id}")
.opencode/skills/alphafold/SKILL.md · 51 lines

What it actually says

AlphaFold Database

Overview

AlphaFold DB (by DeepMind and EMBL-EBI) provides predicted 3D structures for over 200M proteins. Structures are predicted by AlphaFold2 and stored with per-residue confidence scores (pLDDT).

API Access

import requests

# Fetch prediction for a UniProt accession
uniprot_id = "P04637"
r = requests.get(f"https://alphafold.ebi.ac.uk/api/prediction/{uniprot_id}")
prediction = r.json()[0]

# Get model URLs
cif_url = prediction["cifUrl"]        # mmCIF format
pdb_url = prediction["pdbUrl"]        # PDB format
pae_url = prediction["paeImageUrl"]   # PAE plot image

Download Structure

# Direct download
pdb_url = f"https://alphafold.ebi.ac.uk/files/AF-{uniprot_id}-F1-model_v4.pdb"
cif_url = f"https://alphafold.ebi.ac.uk/files/AF-{uniprot_id}-F1-model_v4.cif"
pae_url = f"https://alphafold.ebi.ac.uk/files/AF-{uniprot_id}-F1-predicted_aligned_error_v4.json"

pLDDT Confidence Score

  • Stored in the B-factor column of PDB files.
  • >90: High confidence (blue). Reliable backbone and side-chain.
  • 70-90: Confident (cyan). Good backbone prediction.
  • 50-70: Low confidence (yellow). Caution with interpretation.
  • <50: Very low (orange). Likely disordered or uncertain.

Predicted Aligned Error (PAE)

  • Matrix of expected position error between all residue pairs.
  • Low PAE between domains indicates confident relative orientation.
  • High PAE between domains means they may be flexible or uncertain.

Key Details

  • One model per UniProt accession (longest isoform, up to 2700 residues).
  • Structures lack ligands, cofactors, and post-translational modifications.
  • Use pLDDT to filter reliable regions before docking or analysis.
  • For custom sequences not in the DB, run AlphaFold2 or use ESMFold.
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. 10d ago First seen · 51 lines · 18 tokens per session scan A 95eb8364ee47

Subscribe to this mod's changes

alphafold is a skill published in the GitHub repository omar-A-hassan/medsci-agent (18 stars, last pushed 3d ago), licensed MIT. It adds 18 tokens to every session and 517 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

build-expression-tree

For symbolic computation: ASTs, mathematical expressions, code that manipulates code structure, expression transformations.

jimmc414/claude-code-plugin-marketplace · 24 tokens

find-convex-hull

For computational geometry: convex hull, point enclosure, polygon operations. Uses monotone chain algorithm with stack-based turn detection.

jimmc414/claude-code-plugin-marketplace · 31 tokens

dfam-check

Measure mesh files against Design for Additive Manufacturing (DfAM) rules and report printability findings per process (FDM, SLS, SLA/DLP, metal PBF, MJF). Use when the user asks whether a part is printable, wants overhang/wall-thickness/support analysis of an .stl, .obj, .ply, or .3mf mesh, wants a build-orientation…

earthtojake/text-to-cad · 111 tokens

peer-review

Structured manuscript/grant review with checklist-based evaluation. Use when writing formal peer reviews with specific criteria methodology assessment, statistical validity, reporting standards compliance (CONSORT/STROBE), and constructive feedback. Best for actual review writing, manuscript revision. For evaluating…

xintaofei/codeg · 71 tokens

scientific-critical-thinking

Evaluate scientific claims and evidence quality. Use for assessing experimental design validity, identifying biases and confounders, applying evidence grading frameworks (GRADE, Cochrane Risk of Bias), or teaching critical analysis. Best for understanding evidence quality, identifying flaws. For formal peer review…

xintaofei/codeg · 63 tokens

tooluniverse-gene-enrichment

Gene-set enrichment analysis — GO (Biological Process, Molecular Function, Cellular Component), KEGG, Reactome pathway enrichment via clusterProfiler, gseapy, ORA, GSEA. Use for interpreting DEG lists, screen hit lists, or any gene-list-to-pathways query. Includes simplify-cutoff handling and union-vs-total…

mims-harvard/ToolUniverse · 82 tokens