query-alphafold
Query AlphaFold protein structure predictions. Use when user asks about protein structure, 3D structure, protein folding, or structure prediction. Triggers on "alphafold", "protein structure", "3D structure", "folding", "pLDDT", "structure prediction".
npx skills add BioTender-max/awesome-bio-agent-skills --skill query-alphafold --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# AlphaFold Structure Database Query Query the AlphaFold EBI API for predicted protein structures. ## When to Use - User asks about a protein's predicted 3D structure - User wants to download PDB/CIF structure files - User asks about structure confidence (pLDDT scores) - User wants to visualize protein structure ## How to Execute ```python import requests import json BASE_URL = "https://alphafold.ebi.ac.uk/api" # 1. Get prediction info def get_alphafold_prediction(uniprot_id): url = f"{BASE_URL}/prediction/{uniprot_id}" r = requests.get(url) r.raise_for_status() return r.json() # 2. Download structure file def download_structure(uniprot_id, output_dir="/workspace/group", fmt="pdb", version="v4"): filename = f"AF-{uniprot_id}-F1-model_{version}.{fmt}" url = f"https://alphafold.ebi.ac.uk/files/{filename}" r = requests.get(url) r.raise_for_status() filepath = f"{output_dir}/{filename}" with open(filepath, 'wb') as f: f.write(r.content) return filepath # 3. Get per-residue confidence (pLDDT) def get_plddt(uniprot_id): url = f"{BASE_URL}/prediction/{uniprot_id}" r = requests.get(url) data = r.json() if isinstance(data, list) and data: cif_url = data[0].get("cifUrl", "") plddt_url = data
- When to Use
- How to Execute
- Endpoints
- Download Formats
- Follow-up Suggestions
What does the query-alphafold skill do?
Query AlphaFold protein structure predictions. Use when user asks about protein structure, 3D structure, protein folding, or structure prediction. Triggers on "alphafold", "protein structure", "3D structure", "folding", "pLDDT", "structure prediction".
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill query-alphafold --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.
