/clawbio:struct-predictorfrom clawbio
Predicts protein structures locally using Boltz-2 (default) or OpenFold3. Accepts YAML inputs for single proteins or multi-chain complexes, extracts per-residue pLDDT and PAE confidence, and generates a markdown report with figures.
Ships in clawbio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are the Struct Predictor, a specialised agent for protein structure prediction using Boltz-2 (default) or OpenFold3.
--backend openfold3, CUDA GPU required) locally on a YAML input# Single protein or multi-chain complex (YAML)
python skills/struct-predictor/struct_predictor.py \
--input complex.yaml --output /tmp/struct_out
# Same input with OpenFold3 instead of the Boltz-2 default
python skills/struct-predictor/struct_predictor.py \
--input complex.yaml --output /tmp/struct_out --backend openfold3
# Demo (Trp-cage miniprotein, PDB 1L2Y — no input needed)
python skills/struct-predictor/struct_predictor.py \
--demo --output /tmp/struct_demo
Both backends run offline (no MSA server, no templates). The input is the Boltz-style YAML for either backend; for OpenFold3 it is converted to an OpenFold3 query JSON with use_msas: false.
Predict the structure of a single protein from a YAML file:
python skills/struct-predictor/struct_predictor.py --input my_protein.yaml --output /tmp/struct_out
Run the built-in Trp-cage demo (no input file needed):
python skills/struct-predictor/struct_predictor.py --demo --output /tmp/struct_demo
Predict a two-chain complex:
python skills/struct-predictor/struct_predictor.py --input complex_ab.yaml --output /tmp/complex_out
output_dir/
predictions/[name]/ # Boltz native output (default backend)
[name]_model_0.cif # predicted structure (pLDDT in B-factors)
confidence_[name]_model_0.json # confidence scores (ptm, iptm, pae, plddt)
[name]/seed_[n]/ # OpenFold3 native output (--backend openfold3)
[name]_seed_[n]_sample_[k]_model.cif # predicted structure (pLDDT in B-factors); best sample by sample_ranking_score
[name]_seed_[n]_sample_[k]_confidences.json # per-atom plddt, pae, pde
[name]_seed_[n]_sample_[k]_confidences_aggregated.json # avg_plddt, ptm, iptm, sample_ranking_score
report.md # primary markdown report
viewer.html # self-contained 3Dmol.js 3D viewer (open in browser)
result.json # machine-readable summary
figures/
plddt.png # per-residue pLDDT confidence plot
pae.png # PAE inter-residue error heatmap
reproducibility/
commands.sh # exact struct_predictor.py command used
environment.txt # backend package version snapshot
version: 1
sequences:
- protein:
id: A
sequence: ACDEFGHIKLMNPQRSTVWY
msa: empty # runs offline; replace with a path to a .a3m file for MSA-guided prediction
- protein:
id: B
sequence: NPQRSTVWYLSDEDFKAVFG
msa: empty
msa value | Behaviour |
|---|---|
msa: empty | No MSA — fast, fully offline, suitable for short/designed sequences |
msa: /path/to/file.a3m | Pre-computed MSA — best accuracy for natural proteins |
| (omit field) | Boltz errors unless --use_msa_server is passed at predict time |
The msa field is ignored by the OpenFold3 backend, which always runs with use_msas: false.
| Band | pLDDT Range | Interpretation |
|---|---|---|
| Very high | ≥ 90 | Backbone accurate to ~0.5 Å |
| High | 70–90 | Generally reliable |
| Low | 50–70 | Disordered or uncertain |
| Very low | < 50 | Likely intrinsically disordered |
| Item | Value |
|---|---|
| File | skills/struct-predictor/demo_data/trpcage.yaml |
| Sequence | NLYIQWLKDGGPSSGRPPPS |
| Name | Trp-cage miniprotein |
| Length | 20 residues |
| PDB reference | 1L2Y |
pip install openfold3 and run it. Do not assume that works on a GPU host: pip can pull a CUDA 13 torch that fails with "NVIDIA driver on your system is too old (found version 12080)" on CUDA 12.8 drivers. Check nvidia-smi, then pin a matching build, e.g. pip install "torch==2.11.0+cu128" --index-url https://download.pytorch.org/whl/cu128 --extra-index-url https://pypi.org/simple.run_openfold predict directly. Do not. Its --use-msa-server default is not guaranteed offline, so the skill always passes --use-msa-server=false --use-templates=false. Dropping those flags can send sequences to the ColabFold server.setup_openfold weight download; without them stay on the Boltz-2 default.uv pip install boltz -U # CPU
uv pip install "boltz[cuda]" -U # GPU (recommended)
uv pip install openfold3 # optional, --backend openfold3; CUDA GPU required
setup_openfold # once: downloads OpenFold3 weights (~2 GB)
uv pip install numpy matplotlib pyyaml
demo_data/trpcage.yaml (opens in a new tab)struct_predictor.py (opens in a new tab)struct_predictor_core/__init__.py (opens in a new tab)struct_predictor_core/confidence.py (opens in a new tab)struct_predictor_core/io.py (opens in a new tab)struct_predictor_core/predict.py (opens in a new tab)struct_predictor_core/report.py (opens in a new tab)struct_predictor_core/viewer.py (opens in a new tab)tests/__init__.py (opens in a new tab)tests/test_struct_predictor.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
protein-structure-prediction, boltz-2, openfold3, plddt, pae, bioinformatics
npx claudepluginhub clawbio/clawbio --plugin clawbio112 skills in this plugin
/affinity-proteomicsUnified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Platform-aware QC, normalisation, differential abundance, volcano plots, heatmaps, and PCA./analyze-fastaAnalyze a single FASTA file (nucleotide or protein), compute sequence-level metrics (GC, ORFs, MW, pI, GRAVY, secondary-structure fractions) with Biopython, and write a Markdown report plus structured JSON for downstream chaining./ancestry-risk-profilerInfers genetic super-population ancestry from a 23andMe/AncestryDNA file and computes ancestry-stratified odds ratios with an exploratory Ancestry Elevation Score (AES) showing where ancestry-specific GWAS effect sizes diverge from European reference estimates. The bundled demo panel requires user-supplied ancestry because high-Fst AIM coverage is below the automatic-inference floor./archaic-introgressionDetect Neanderthal and Denisovan introgression segments from modern human genomes/arrayexpress-fetchQuery metadata and download data from ArrayExpress, EMBL-EBI's functional genomics collection, now hosted inside BioStudies. Fetch study metadata by E-MTAB accession, list and classify files (IDF/SDRF MAGE-TAB, raw, processed), print the SDRF experimental design, download data by category, write a harmonised metadata.tsv, and build an nf-core/rnaseq or nf-core/scrnaseq samplesheet.csv from the SDRF./article-data-fetcherGiven an article DOI or PubMed ID, discover and download the genomics data files deposited by the authors (VCF, FASTA, H5AD, CSV, JSON, BAM, etc.) from public repositories such as GEO, ENA, Zenodo, Figshare, Dryad, and OSF.Other plugins' skills for the same job