AGENT SKILL

colabfold

Use ColabFold for protein structure prediction workflows: validate FASTA/CSV/A3M inputs, generate MSAs, plan batch predictions, inspect outputs, and troubleshoot optional AlphaFold, MMseqs2, JAX, GPU, and OpenMM dependencies.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
colabfold
license
MIT
metadata
{ "disco-role": "operating" }
description
Use ColabFold for protein structure prediction workflows: validate FASTA/CSV/A3M inputs, generate MSAs, plan batch predictions, inspect outputs, and troubleshoot optional AlphaFold, MMseqs2, JAX, GPU, and OpenMM dependencies.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

ColabFold

Use this skill when a task involves ColabFold local or notebook-derived workflows: preparing sequence inputs, generating MSAs, planning or running colabfold_batch, exporting AlphaFold3 JSON, inspecting prediction outputs, or diagnosing ColabFold dependency and backend failures.

Start Here

  1. Check whether the task is about the current source checkout or general ColabFold usage. If freshness matters, read references/repo-provenance.md.
  2. Choose the narrowest install route from references/installation-and-backends.md.
  3. Use the sub-skill that owns the user-facing workflow; do not send future agents to original repository notebooks, tests, scripts, or docs.
  4. Run a bundled dry-run or read-only diagnostic before expensive network, database, GPU, prediction, or relaxation work.

Install Routes

  • Search/input inspection only: install base ColabFold, which provides input helpers plus colabfold_search and colabfold_split_msas.
  • Structure prediction: install prediction extras such as colabfold[alphafold] and a JAX build compatible with the target CPU/GPU.
  • Amber relaxation: install OpenMM/PDBFixer support such as colabfold[openmm] and verify the CPU/GPU OpenMM platform before using --use-gpu.
  • Local database search: install MMseqs2 separately and prepare the ColabFold databases; database setup is large and should be explicitly approved.

Minimal import check:

python - <<'PY'
import importlib.metadata as md
print(md.version("colabfold"))
PY

Optional environment diagnostic:

python scripts/check_colabfold_environment.py --check-entry-points --json

Route by Task

  • Inputs and formats: use sub-skills/inputs-and-formats/SKILL.md for FASTA, CSV, A3M, AF3 molecule syntax, parser behavior, PDB/mmCIF input extraction, and validation with validate_colabfold_input.py.
  • MSA search: use sub-skills/msa-search/SKILL.md for public MSA server use, colabfold_search, local MMseqs2 databases, GPU/gpuserver search, split/merge helpers, AF3 JSON from MSAs, and local MSA server planning.
  • Batch prediction: use sub-skills/batch-prediction/SKILL.md for colabfold_batch, MSA-only then prediction staging, templates, model flags, parameter downloads, GPU/JAX planning, and AF3 JSON-only export.
  • Relaxation and outputs: use sub-skills/relaxation-and-outputs/SKILL.md for colabfold_relax, OpenMM/PDBFixer choices, output directory inspection, score/PAE/pLDDT interpretation, plots, citations, and extra pTM/interface metrics.

Shared References and Scripts

Safety and Resource Rules

  • Do not run public MSA server queries, large local database setup, model parameter downloads, GPU predictions, or relaxation unless the user has approved the resource use.
  • Treat original notebooks and tests as evidence only. Runtime instructions in this skill rely on bundled references and scripts.
  • Prefer dry-run command planning and read-only validators before mutating output directories or launching long computations.
  • If a requested workflow requires credentials, private sequences, large databases, or unavailable hardware, explain the missing prerequisite and provide a safe fallback or skip decision.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351