alphafold2
Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al.
Skill by flyme2bluemoon
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/flyme2bluemoon-alphafold2
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
alphafold2- Description
- Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al. 2022, github.com/sokrypton/ColabFold; AlphaFold2 Jumper et al. 2021). Reach for this skill to fold a sequence or complex with the AF2/AF2-Multimer evoformer, to validate designed sequences by self-consistency pLDDT, ipTM, and RMSD, or to run a quick MSA-backed prediction using the public MMseqs2 server.
- License
- Apache-2.0
- Metadata
- category: biomodels · display-name: AlphaFold2
- Instructions
- 69 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# AlphaFold2 (ColabFold runner)
This skill wraps AlphaFold2 and AlphaFold2-Multimer through `colabfold_batch`,
which replaces DeepMind's local-database MSA pipeline with a call to the public
MMseqs2 server — so a prediction is one command and one FASTA, not a 2 TB
database mount. AF2 remains the reference monomer predictor and the multimer
model is still a strong protein–protein validator, but it does not handle
ligands or nucleic acids; for those, route to `boltz`, `chai1`, or `openfold3`.
The ColabFold code is MIT (github.com/sokrypton/ColabFold) and the AlphaFold2
code is Apache-2.0 (github.com/google-deepmind/alphafold); the AF2 model
parameters are CC-BY-4.0 with DeepMind's terms of use.
## Running it
```bash
colabfold_batch input.fasta out \
--num-recycle 3 \
--model-type alphafold2_multimer_v3
```
The input is a plain FASTA. For a complex, put every chain on one sequence
line separated by `:` — `colabfold_batch` builds a paired MSA per segment and
runs the multimer model when it sees the colon (so the explicit `--model-type
alphafold2_multimer_v3` above is belt-and-braces). For monomers omit
`--model-type` and the colon. `--templates` and `--amber` add PDB templates
and OpenMM relaxation respectively; both are off by default and both add
minutes per model.
ColabFold runs all five AF2 model weights by default and ranks them by pLDDT
(pTM/ipTM for multimer), so output per query lands in `out/` as five ranked
PDBs `<name>_unrelaxed_rank_00{1..5}_*.pdb` (b-factor column carries pLDDT)
and a matching `<name>_scores_rank_00{N}_*.json` with `plddt`, `ptm`, and — for
multimer — `iptm` and the `pae` matrix. Rank-1 is the model to read first;
ipTM > 0.5 is the usual soft pass for an interface.
## Unified-memory defaults loop forever under gVisor — the env patches them out
`colabfold/batch.py` hard-sets `TF_FORCE_UNIFIED_MEMORY=1` and
`XLA_PYTHON_CLIENT_MEM_FRACTION=4.0` on import. Under a gVisor sandbox unified
memory is unsupported, so JAX's `device_put` loops indefinitely allocating
host RAM during AF2 parameter load — the job appears hung, never errors.
Override both before the import (`TF_FORCE_UNIFIED_MEMORY=0`, fraction
`0.95`), or `sed`-patch the two assignments out of `batch.py` in the image
build, or the first fold never starts.
## The MSA server is the wall-clock bottleneck, and it is shared
`colabfold_batch` defaults to `--msa-mode mmseqs2_uniref_env`, which posts your
sequence to `api.colabfold.com`. That server is a public, rate-limited
resource: the wait dominates short folds and occasionally times out under load.
For campaigns, run the MSA stage once with `--msa-only`, keep the resulting
`.a3m` files, and feed the directory back as the input on subsequent runs — the
GPU stage then starts immediately and the server is not hit again.
## Errors worth recognizing
| You see | It means / do this |
|---|---|
| Job hangs silently during "Running model_1" with host RAM climbing | Unified-memory loop under gVisor — see the gotcha above; override or patch `batch.py`. |
| `RESOURCE_EXHAUSTED` / OOM during XLA compile | `XLA_PYTHON_CLIENT_MEM_FRACTION` too high for the GPU — drop below the `0.95` default to `0.9` or so. |
| MSA stage hangs at `Submitting job` | Public MMseqs2 server is rate-limiting — wait, or pre-compute with `--msa-only` and re-run from the cached `.a3m`. |
---
**Next:** for designed-sequence validation, superpose the rank-1 model onto
the design backbone with US-align and gate on pLDDT/ipTM thresholds; for
ligand-bearing complexes, hand the same chains to `boltz` or `chai1`.From flyme2bluemoon/skills, Apache-2.0.
More from flyme2bluemoon/skills
- 0.529score
esmfold2
flyme2bluemoon
Biohub ESMFold2 / ESMFold2-Fast all-atom co-folding (Candido et al.
SkillBFreshness: BClaude Code +9 - 0.526score
indication-dossier
flyme2bluemoon
Generate a therapeutic indication dossier.
SkillBFreshness: BClaude Code +9 - 0.525score
diffdock
flyme2bluemoon
Predict small-molecule binding poses with DiffDock-L (Corso et al.
SkillBFreshness: BClaude Code +9 - 0.524score
fair-esm2
flyme2bluemoon
Embed proteins with Meta AI's ESM-2 (`fair-esm` package).
SkillBFreshness: BClaude Code +9 - 0.524score
ligandmpnn
flyme2bluemoon
Inverse-fold a backbone with ligand, nucleic-acid, and metal context using LigandMPNN (Dauparas et al.
SkillBFreshness: BClaude Code +9 - 0.524score
chai1
flyme2bluemoon
Structure prediction for protein, nucleic-acid, and small-molecule complexes with the Chai-1 foundation model (Chai Discovery 2024…
SkillBFreshness: BClaude Code +9 - 0.524score
evo2
flyme2bluemoon
Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model.
SkillBFreshness: BClaude Code +9 - 0.524score
codebase-design
flyme2bluemoon
Design or refactor module interfaces to hide complexity and improve testability.
SkillBFreshness: BClaude Code +9 - 0.524score
boltz
flyme2bluemoon
Structure prediction for protein, nucleic-acid, and small-molecule complexes with Boltz-2 (Passaro & Wohlwend et al.
SkillBFreshness: BClaude Code +9 - 0.524score
borzoi
flyme2bluemoon
Predict genome-wide functional tracks (RNA-seq, CAGE, DNase, ChIP) from DNA sequence with Borzoi.
SkillBFreshness: BClaude Code +9 - 0.524score
openfold3
flyme2bluemoon
Structure prediction using OpenFold3, an open-weights PyTorch reproduction of AlphaFold3 from the AlQuraishi Lab.
SkillBFreshness: BClaude Code +9 - 0.524score
proteinmpnn
flyme2bluemoon
Inverse-fold a protein backbone (PDB structure) into amino-acid sequence with ProteinMPNN (Dauparas et al.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 20, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/flyme2bluemoon/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from flyme2bluemoon
- 0.529score
esmfold2
flyme2bluemoon
Biohub ESMFold2 / ESMFold2-Fast all-atom co-folding (Candido et al.
SkillBFreshness: BClaude Code +9 - 0.526score
indication-dossier
flyme2bluemoon
Generate a therapeutic indication dossier.
SkillBFreshness: BClaude Code +9 - 0.525score
diffdock
flyme2bluemoon
Predict small-molecule binding poses with DiffDock-L (Corso et al.
SkillBFreshness: BClaude Code +9 - 0.524score
fair-esm2
flyme2bluemoon
Embed proteins with Meta AI's ESM-2 (`fair-esm` package).
SkillBFreshness: BClaude Code +9 - 0.524score
evo2
flyme2bluemoon
Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model.
SkillBFreshness: BClaude Code +9 - 0.524score
chai1
flyme2bluemoon
Structure prediction for protein, nucleic-acid, and small-molecule complexes with the Chai-1 foundation model (Chai Discovery 2024…
SkillBFreshness: BClaude Code +9
Cite this page
alphafold2 skill. Agent Mart. https://agentmart.dev/skills/flyme2bluemoon-alphafold2 (last updated 2026-10-24)