Agent skill

Struct Predictor

by ClawBio in ClawBio/ClawBio

Protein structure prediction with Boltz-2 (default) or OpenFold3.

MITAuto-check passedResearch & Science

Install Struct Predictor

skills CLI
$ npx skills add ClawBio/ClawBio --skill struct-predictor -a claude-code

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

GitHub CLI
$ gh skill install ClawBio/ClawBio struct-predictor --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/ClawBio/ClawBio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/struct-predictor .claude/skills/struct-predictor && 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
struct-predictor
GitHub stars
1.2k
Token cost
~1.8k tokens
SKILL.md length
496 words
Files
11
Skills in repo
104
Repo updated
First seen
Licence
MIT

At a glance

Protein structure prediction with Boltz-2 (default) or OpenFold3.

  • Works in 4 steps: Structure Prediction: Run Boltz-2… → Confidence Extraction: Per-residue pLDDT… → Report Generation: Markdown with pLDDT… → …
  • Tasks that involve Protein structure and design
  • SKILL.md covers Core Capabilities, CLI Reference, Output Structure and YAML Complex Format, plus 5 more sections
  • Runs Python scripts from its folder; calls uv, python and pip; reaches download.pytorch.org and pypi.org

What it does

Struct Predictor is an agent skill from ClawBio/ClawBio. Protein structure prediction with Boltz-2 (default) or OpenFold3. Accepts YAML inputs (single protein or multi-chain complex), runs the chosen backend offline, extracts per-residue pLDDT and PAE confidence, and writes a markdown report with figures.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files (for example `demo_data/trpcage.yaml`, `struct_predictor.py` and `struct_predictor_core/__init__.py`).

It sits in Research & Science, covering Protein structure and design. It works with Python. The repository describes itself as: 🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free. The licence is MIT.

When your agent uses it

  • Tasks that involve Protein structure and design

Example prompts

  • “/struct-predictor”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Structure Prediction: Run Boltz-2 (default) or OpenFold3 (--backend openfold3, CUDA GPU required) locally on a YAML input
  2. Confidence Extraction: Per-residue pLDDT (from CIF B-factors) and PAE matrix (from confidence JSON)
  3. Report Generation: Markdown with pLDDT line plot, PAE heatmap, band breakdown, and reproducibility bundle
  4. Demo Mode: Trp-cage miniprotein (20 residues, PDB 1L2Y) — runs immediately, no input required

What it can do on your machine

Read from SKILL.md and the folder at commit dece754. 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

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv
    • python
    • pip

    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:

    • download.pytorch.org
    • pypi.org

    Also links to:

    • github.com

    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

Struct Predictor loads about 1.8k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 496 words of instructions outside code blocks.

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

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 ClawBio/ClawBio at commit dece754, republished under its MIT licence (© ClawBio). 496 words, ~1,849 tokens.

Download SKILL.mdSave it as .claude/skills/struct-predictor/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
struct-predictor
description
Protein structure prediction with Boltz-2 (default) or OpenFold3. Accepts YAML inputs (single protein or multi-chain complex), runs the chosen backend offline, extracts per-residue pLDDT and PAE confidence, and writes a markdown report with figures.
license
MIT
metadata.version
0.3.0

Struct Predictor

You are the Struct Predictor, a specialised agent for protein structure prediction using Boltz-2 (default) or OpenFold3.

Core Capabilities

  1. Structure Prediction: Run Boltz-2 (default) or OpenFold3 (--backend openfold3, CUDA GPU required) locally on a YAML input
  2. Confidence Extraction: Per-residue pLDDT (from CIF B-factors) and PAE matrix (from confidence JSON)
  3. Report Generation: Markdown with pLDDT line plot, PAE heatmap, band breakdown, and reproducibility bundle
  4. Demo Mode: Trp-cage miniprotein (20 residues, PDB 1L2Y) — runs immediately, no input required

CLI Reference

bash
# 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.

Plain Text Examples

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 Structure

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

YAML Complex Format

yaml
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 Options
msa valueBehaviour
msa: emptyNo MSA — fast, fully offline, suitable for short/designed sequences
msa: /path/to/file.a3mPre-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.

pLDDT Confidence Bands

BandpLDDT RangeInterpretation
Very high≥ 90Backbone accurate to ~0.5 Å
High70–90Generally reliable
Low50–70Disordered or uncertain
Very low< 50Likely intrinsically disordered

Demo Data

ItemValue
Fileskills/struct-predictor/demo_data/trpcage.yaml
SequenceNLYIQWLKDGGPSSGRPPPS
NameTrp-cage miniprotein
Length20 residues
PDB reference1L2Y
Show full SKILL.md (234 more words)Show less

Gotchas

  • The model will want to 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.
  • The model will want to call 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.
  • The model will want to say OpenFold3 works anywhere. Do not. It needs a CUDA GPU and a one-time setup_openfold weight download; without them stay on the Boltz-2 default.
  • The model will want to treat both engines as equally licensed. Do not. Boltz code and weights are MIT. OpenFold3 code is Apache-2.0, but no licence for its model weights is stated in its README or parameters docs; confirm with the OpenFold team before commercial use.

Dependencies

bash
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

Citations

  • Passaro S et al. (2025) Boltz-2: Towards Accurate and Efficient Binding Affinity Prediction. bioRxiv. doi:10.1101/2025.06.14.659707. PMID: 40667369; PMCID: PMC12262699.
  • Wohlwend J et al. (2024) Boltz-1: Democratizing Biomolecular Interaction Modeling. bioRxiv. doi:10.1101/2024.11.19.624167
  • OpenFold Consortium. OpenFold3. https://github.com/aqlaboratory/openfold-3
  • Abramson J et al. (2024) Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature. doi:10.1038/s41586-024-07487-w
  • Jumper J et al. (2021) AlphaFold2 pLDDT definition. Nature. doi:10.1038/s41586-021-03819-2

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

Files

SKILL.md and 10 other files in skills/struct-predictor of ClawBio/ClawBio.

  • SKILL.md
  • demo_data/trpcage.yaml
  • struct_predictor.py
  • struct_predictor_core/__init__.py
  • struct_predictor_core/confidence.py
  • struct_predictor_core/io.py
  • struct_predictor_core/predict.py
  • struct_predictor_core/report.py
  • struct_predictor_core/viewer.py
  • tests/__init__.py
  • tests/test_struct_predictor.py

Open the folder on GitHubat commit dece754

Compare with similar skills

Struct Predictor 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.

Struct Predictor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Struct Predictor this skillClawBio/ClawBio1.2k—~1.8kAutomated safety check: PassMIT
DiffDock Molecular DockingK-Dense-AI/scientific-agent-skills48k1 repos~3kAutomated safety check: NotesMIT
Ggetdavila7/claude-code-templates32k10 repos~6.3kAutomated safety check: PassMIT
Chai1JimLiu/science-skills2274 repos~1.2kAutomated safety check: PassApache-2.0
Alphafold3VectorSpaceLab/AREX-Skill330—~1.2kAutomated safety check: PassApache-2.0
Molecular DynamicsK-Dense-AI/scientific-agent-skills48k1 repos~4.7kAutomated safety check: PassMIT

Similar skills

  • DiffDock Molecular Docking

    K-Dense-AI/scientific-agent-skills

    Predicts how small molecules bind to a protein with DiffDock, covering batch docking, pose ranking by confidence and checks on the results; not for binding affinity.

    48k GitHub starsUsed in 1 repo~3k tokens
    Research & ScienceAuto-check: notes
  • Gget

    davila7/claude-code-templates

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

    32k GitHub starsUsed in 10 repos~6.3k tokens
    Research & ScienceAuto-check passed
  • Chai1

    JimLiu/science-skills

    Structure prediction for protein, nucleic-acid, and small-molecule complexes with the Chai-1 foundation model (Chai Discovery 2024, github.com/chaidiscovery/chai-lab).

    227 GitHub starsUsed in 4 repos~1.2k tokens
    Research & ScienceAuto-check passed
  • Alphafold3

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.

    330 GitHub stars~1.2k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Molecular Dynamics

    K-Dense-AI/scientific-agent-skills

    Runs and analyzes molecular dynamics simulations with OpenMM and MDAnalysis.

    48k GitHub starsUsed in 1 repo~4.7k tokens
    Research & ScienceAuto-check passed
  • Mosaic

    adaptyvbio/protein-design-skills

    Multi-objective, gradient-based protein binder design with Mosaic.

    164 GitHub starsUsed in 1 repo~1.7k tokens
    Research & ScienceAuto-check passed

More from ClawBio/ClawBio

All 104 skills in this repo
  • Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~4.7k tokens
    Auto-check passed
  • Xena Tcga Gene Query

    ClawBio/ClawBio

    Query TCGA tumor biology through the ucscxenatoolspy API. An agent skill from ClawBio/ClawBio.

    1.2k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Dnasp

    ClawBio/ClawBio

    Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.

    1.2k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Compute pairwise r² between a lead variant and every variant in a window using the 1000 Genomes Phase 3 GRCh38 reference panel, ancestry-stratified.

    1.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Ncbi Datasets

    ClawBio/ClawBio

    Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.

    1.2k GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed

Works with

Questions about Struct Predictor

What does Struct Predictor do?

Protein structure prediction with Boltz-2 (default) or OpenFold3. Struct Predictor is an agent skill from ClawBio/ClawBio. Protein structure prediction with Boltz-2 (default) or OpenFold3.

When should I use Struct Predictor?

Struct Predictor fits situations like: tasks that involve Protein structure and design.

How do I install Struct Predictor in Claude Code?

Run `npx skills add ClawBio/ClawBio --skill struct-predictor -a claude-code`. Or copy the skill folder (skills/struct-predictor in ClawBio/ClawBio) into .claude/skills/struct-predictor in your project. Claude Code loads it when a task matches its description.

How do I install Struct Predictor in Codex?

Run `npx skills add ClawBio/ClawBio --skill struct-predictor -a codex`. Or copy the skill folder (skills/struct-predictor in ClawBio/ClawBio) into .agents/skills/struct-predictor in your project. Codex loads it when a task matches its description.

Can I use Struct Predictor 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 ClawBio/ClawBio --skill struct-predictor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/struct-predictor, .gemini/skills/struct-predictor, .github/skills/struct-predictor and .opencode/skills/struct-predictor in your project.

What does Struct Predictor need to run?

Going by SKILL.md and its folder, Struct Predictor needs Python for the scripts in its folder and the command-line tools its instructions call (uv, python and pip). Our summary lists: Python 3.

Does Struct Predictor access the network?

SKILL.md names 3 domains. In commands or code: download.pytorch.org and pypi.org; the agent is likely to contact these when it follows the instructions. As links in the text: github.com. This is read from the text; nothing was executed.

Is Struct Predictor 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 Struct Predictor use?

Struct Predictor is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Struct Predictor use?

About 1.8k tokens (SKILL.md is roughly 7.4k 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 Struct Predictor?

Skills that share tags, products or a category with Struct Predictor: DiffDock Molecular Docking (K-Dense-AI/scientific-agent-skills, 48k stars), Gget (davila7/claude-code-templates, 32k stars), Chai1 (JimLiu/science-skills, 227 stars) and Alphafold3 (VectorSpaceLab/AREX-Skill, 330 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Struct Predictor?

ClawBio (a GitHub organization) maintains it in ClawBio/ClawBio, which has 1,154 GitHub stars. The repository holds 104 skills in this directory. The repository was last updated on October 8, 2026.

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