Agent skill

Alphafold API

by wentorai in wentorai/research-plugins

Query AlphaFold protein structure predictions by UniProt accession

MITAuto-check passedResearch & Science

Install Alphafold API

skills CLI
$ npx skills add wentorai/research-plugins --skill alphafold-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins alphafold-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/biomedical/alphafold-api .claude/skills/alphafold-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
alphafold-api
GitHub stars
298
Used in
1 other repo
Token cost
~2k tokens
SKILL.md length
411 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Query AlphaFold protein structure predictions by UniProt accession

  • Works in 4 steps: Get Prediction by UniProt Accession → Per-Residue Confidence Scores (pLDDT) → UniProt Summary (3D-Beacons Format) → …
  • Tasks that involve Protein structure and design
  • SKILL.md covers Overview, Authentication, Core Endpoints and Key Response Fields, plus 4 more sections
  • Calls curl; reaches alphafold.ebi.ac.uk and ftp.ebi.ac.uk

What it does

Alphafold API is an agent skill from wentorai/research-plugins. Query AlphaFold protein structure predictions by UniProt accession

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Protein structure and design. It works with AlphaFold and UniProt. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Protein structure and design

Example prompts

  • “/alphafold-api”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Get Prediction by UniProt Accession
  2. Per-Residue Confidence Scores (pLDDT)
  3. UniProt Summary (3D-Beacons Format)
  4. Download Structure Files

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • alphafold.ebi.ac.uk
    • ftp.ebi.ac.uk

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Alphafold API loads about 2k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 411 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 411 words, ~2,012 tokens.

Download SKILL.mdSave it as .claude/skills/alphafold-api/SKILL.md (or your agent's skills folder).
name
alphafold-api
description
Query AlphaFold protein structure predictions by UniProt accession

AlphaFold Protein Structure Database API

Overview

The AlphaFold DB, maintained by EMBL-EBI and DeepMind, provides open access to over 200 million protein structure predictions. The REST API enables programmatic lookup of predicted structures, confidence metrics (pLDDT, PAE), and downloadable structure files (PDB, mmCIF, BinaryCIF) keyed on UniProt accessions. Free, no authentication required.

Authentication

None. All endpoints are publicly accessible without API keys or tokens.

Core Endpoints

Base URL: https://alphafold.ebi.ac.uk/api

1. Get Prediction by UniProt Accession

Retrieves all AlphaFold models for a given UniProt accession or model ID.

bash
curl "https://alphafold.ebi.ac.uk/api/prediction/P04637"

Response (first entry, abbreviated):

json
[
  {
    "entryId": "AF-P04637-F1",
    "uniprotAccession": "P04637",
    "uniprotId": "P53_HUMAN",
    "uniprotDescription": "Cellular tumor antigen p53",
    "gene": "TP53",
    "organismScientificName": "Homo sapiens",
    "taxId": 9606,
    "globalMetricValue": 75.06,
    "fractionPlddtVeryHigh": 0.527,
    "fractionPlddtConfident": 0.071,
    "fractionPlddtLow": 0.104,
    "fractionPlddtVeryLow": 0.298,
    "latestVersion": 6,
    "modelCreatedDate": "2025-08-01T00:00:00Z",
    "sequenceStart": 1,
    "sequenceEnd": 393,
    "pdbUrl": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-model_v6.pdb",
    "cifUrl": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-model_v6.cif",
    "bcifUrl": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-model_v6.bcif",
    "paeImageUrl": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-predicted_aligned_error_v6.png",
    "paeDocUrl": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-predicted_aligned_error_v6.json",
    "plddtDocUrl": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-confidence_v6.json",
    "amAnnotationsUrl": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-aa-substitutions.csv"
  }
]
2. Per-Residue Confidence Scores (pLDDT)

Download the per-residue pLDDT confidence JSON linked in plddtDocUrl:

bash
curl "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-confidence_v6.json"

Response (truncated):

json
{
  "residueNumber": [1, 2, 3, 4, 5],
  "confidenceScore": [40.66, 44.53, 49.97, 48.59, 44.88],
  "confidenceCategory": ["D", "D", "D", "D", "D"]
}

Categories: A (Very High, >90), B (Confident, 70-90), C (Low, 50-70), D (Very Low, <50).

3. UniProt Summary (3D-Beacons Format)

Returns model metadata following the 3D-Beacons data standard:

bash
curl "https://alphafold.ebi.ac.uk/api/uniprot/summary/P04637.json"

Response (abbreviated):

json
{
  "uniprot_entry": {
    "ac": "P04637",
    "id": "P53_HUMAN",
    "sequence_length": 393
  },
  "structures": [
    {
      "summary": {
        "model_identifier": "AF-P04637-F1",
        "model_url": "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-model_v6.cif",
        "provider": "AlphaFold DB",
        "confidence_type": "pLDDT",
        "confidence_avg_local_score": 75.06,
        "coverage": 1.0
      }
    }
  ]
}
4. Download Structure Files

Structure files are available at the URLs returned in prediction responses:

bash
# PDB format
curl -O "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-model_v6.pdb"

# mmCIF format
curl -O "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-model_v6.cif"

# Predicted Aligned Error (PAE) matrix
curl -O "https://alphafold.ebi.ac.uk/files/AF-P04637-F1-predicted_aligned_error_v6.json"

Key Response Fields

FieldTypeDescription
entryIdstringAlphaFold model ID (e.g., AF-P04637-F1)
uniprotAccessionstringUniProt accession code
genestringGene symbol
globalMetricValuefloatAverage pLDDT score (0-100)
fractionPlddtVeryHighfloatFraction of residues with pLDDT > 90
fractionPlddtConfidentfloatFraction with pLDDT 70-90
fractionPlddtLowfloatFraction with pLDDT 50-70
fractionPlddtVeryLowfloatFraction with pLDDT < 50
pdbUrlstringDirect download URL for PDB file
cifUrlstringDirect download URL for mmCIF file
paeDocUrlstringURL for predicted aligned error JSON
plddtDocUrlstringURL for per-residue confidence JSON
latestVersionintModel version number
Show full SKILL.md (169 more words)Show less

Rate Limits

The AlphaFold DB API has no published per-request rate limits. EMBL-EBI's general fair use policy applies: usage that degrades service for others may result in blocking. For bulk downloads (entire proteomes), use the FTP archive at https://ftp.ebi.ac.uk/pub/databases/alphafold/ rather than repeated API calls.

Python Example

python
import requests


def get_alphafold_prediction(uniprot_id: str) -> dict:
    """Fetch AlphaFold structure prediction for a UniProt accession."""
    url = f"https://alphafold.ebi.ac.uk/api/prediction/{uniprot_id}"
    resp = requests.get(url)
    resp.raise_for_status()
    entries = resp.json()
    # Return the canonical (first) entry
    return entries[0] if entries else None


def get_confidence_scores(prediction: dict) -> dict:
    """Download per-residue pLDDT confidence scores."""
    resp = requests.get(prediction["plddtDocUrl"])
    resp.raise_for_status()
    return resp.json()


def download_structure(prediction: dict, fmt: str = "pdb",
                       output_dir: str = ".") -> str:
    """Download structure file in pdb, cif, or bcif format."""
    url_key = {"pdb": "pdbUrl", "cif": "cifUrl", "bcif": "bcifUrl"}[fmt]
    url = prediction[url_key]
    filename = url.split("/")[-1]
    path = f"{output_dir}/{filename}"

    resp = requests.get(url)
    resp.raise_for_status()
    with open(path, "wb") as f:
        f.write(resp.content)
    return path


# Example: fetch p53 structure and assess quality
pred = get_alphafold_prediction("P04637")
print(f"Gene: {pred['gene']} ({pred['uniprotDescription']})")
print(f"Organism: {pred['organismScientificName']}")
print(f"Average pLDDT: {pred['globalMetricValue']}")
print(f"Very high confidence: {pred['fractionPlddtVeryHigh']:.1%}")

# Download per-residue scores
scores = get_confidence_scores(pred)
high_conf = [i+1 for i, c in enumerate(scores["confidenceCategory"])
             if c in ("A", "B")]
print(f"High-confidence residues: {len(high_conf)}/{len(scores['residueNumber'])}")

# Download PDB file
path = download_structure(pred, fmt="pdb")
print(f"Structure saved to: {path}")

Academic Use Cases

  • Drug target assessment: Check pLDDT scores in binding pockets before docking
  • Homology model comparison: Compare AlphaFold predictions with experimental PDB structures
  • Disorder prediction: Low pLDDT regions (<50) correlate with intrinsically disordered regions
  • Variant interpretation: Use AlphaMissense annotations (via amAnnotationsUrl) to assess pathogenicity
  • Structural coverage: Quickly check if a protein of interest has a predicted structure
  • Batch proteome analysis: Retrieve predictions for all proteins in a reference proteome

References

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/domains/biomedical/alphafold-api of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Alphafold API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Alphafold API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Alphafold API this skillwentorai/research-plugins2981 repos~2kAutomated safety check: PassMIT
Alphafold Database Fetch And Analyzegoogle-deepmind/science-skills3.2k2 repos~1.2kAutomated safety check: PassApache-2.0
Bio DB ToolsDrugClaw/DrugClaw125—~1.4kAutomated safety check: PassApache-2.0
Ggetdavila7/claude-code-templates32k11 repos~6.3kAutomated safety check: PassMIT
Alphafold Databasedavila7/claude-code-templates32k10 repos~4kAutomated safety check: PassMIT
Foldseek Structural Searchgoogle-deepmind/science-skills3.2k1 repos~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Alphafold Database Fetch And Analyze

    google-deepmind/science-skills

    Retrieve and analyze AlphaFold predicted structures for a protein.

    3.2k GitHub starsUsed in 2 repos~1.2k tokens
    Research & ScienceAuto-check passed
  • Bio DB Tools

    DrugClaw/DrugClaw

    Query public biology databases and APIs including UniProt, RCSB PDB, AlphaFold DB, ClinVar, dbSNP, gnomAD, Ensembl, GEO, InterPro, KEGG, OpenTargets, Reactome, and STRING.

    125 GitHub stars~1.4k tokensUpdated 6 mo ago
    Research & ScienceAuto-check passed
  • Gget

    davila7/claude-code-templates

    CLI/Python toolkit for rapid bioinformatics queries. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 11 repos~6.3k tokens
    Research & ScienceAuto-check passed
  • Alphafold Database

    davila7/claude-code-templates

    Access AlphaFold's 200M+ AI-predicted protein structures. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 10 repos~4k tokens
    Research & ScienceAuto-check passed
  • Foldseek Structural Search

    google-deepmind/science-skills

    Performs 3D structural searches of proteins against various databases (PDB, AlphaFold, CATH, MGnify, etc.) using the Foldseek API.

    3.2k GitHub starsUsed in 1 repo~1.3k tokens
    Research & ScienceAuto-check passed
  • Retrieves protein structure data from RCSB PDB, PDBe, and AlphaFold with protein disambiguation, quality assessment, and comprehensive structural profiles.

    1.1k GitHub starsUsed in 2 repos~2.8k tokens
    Research & ScienceAuto-check passed

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Questions about Alphafold API

What does Alphafold API do?

Query AlphaFold protein structure predictions by UniProt accession. Alphafold API is an agent skill from wentorai/research-plugins.

When should I use Alphafold API?

Alphafold API fits situations like: tasks that involve Protein structure and design.

How do I install Alphafold API in Claude Code?

Run `npx skills add wentorai/research-plugins --skill alphafold-api -a claude-code`. Or copy the skill folder (skills/domains/biomedical/alphafold-api in wentorai/research-plugins) into .claude/skills/alphafold-api in your project. Claude Code loads it when a task matches its description.

How do I install Alphafold API in Codex?

Run `npx skills add wentorai/research-plugins --skill alphafold-api -a codex`. Or copy the skill folder (skills/domains/biomedical/alphafold-api in wentorai/research-plugins) into .agents/skills/alphafold-api in your project. Codex loads it when a task matches its description.

Can I use Alphafold API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill alphafold-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/alphafold-api, .gemini/skills/alphafold-api, .github/skills/alphafold-api and .opencode/skills/alphafold-api in your project.

What does Alphafold API need to run?

Going by SKILL.md and its folder, Alphafold API needs the command-line tools its instructions call (curl). Our summary lists: Python 3.

Does Alphafold API access the network?

SKILL.md names 2 domains. In commands or code: alphafold.ebi.ac.uk and ftp.ebi.ac.uk; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Alphafold API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Alphafold API use?

Alphafold API is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Alphafold API use?

About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Alphafold API?

Skills that share tags, products or a category with Alphafold API: Alphafold Database Fetch And Analyze (google-deepmind/science-skills, 3.2k stars), Bio DB Tools (DrugClaw/DrugClaw, 125 stars), Gget (davila7/claude-code-templates, 32k stars) and Alphafold Database (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Alphafold API?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.