AGENT SKILL

diffdock

Route DiffDock docking, web UI, training/data preparation, and benchmark evaluation tasks to focused repo-specific guidance.

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

01 前言 Front Matter

name
diffdock
license
MIT
metadata
{ "disco-role": "operating" }
description
Route DiffDock docking, web UI, training/data preparation, and benchmark evaluation tasks to focused repo-specific guidance.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

DiffDock

Use this repo skill when a user is working with DiffDock: diffusion-based small-molecule docking to protein structures, DiffDock-L inference, the Gradio UI, training/data preparation, or benchmark evaluation.

Start Here

  1. Read install-and-runtime.md for setup routes, dependency families, backend expectations, and safe preflight checks.
  2. Use scripts/check_runtime_environment.py to inspect a candidate runtime without launching docking, training, or benchmarks.
  3. Route to the focused sub-skill below, then use its bundled references and helper scripts before running expensive commands.
  4. Read troubleshooting.md when failures involve imports, CUDA/Torch/PyG, RDKit/ProDy/ESM/OpenFold, model checkpoints, network downloads, data paths, or GNINA.
  5. Check repo-provenance.md before deciding whether this skill is current for a checkout.

Routes

  • Docking prediction: Use docking-inference for single-complex or batch CSV inference, input validation, command construction, model/config overrides, output files, and confidence-ranked poses.
  • Web interface: Use web-ui for the Gradio app, single-complex UI inputs, launch/deploy issues, and downloaded output zip inspection.
  • Training and data: Use training-data for score/confidence model training plans, dataset layouts, split files, ESM embeddings, cache checks, and checkpoint compatibility.
  • Benchmarks and metrics: Use evaluation-benchmarks for PDBBind, BindingMOAD/DockGen, PoseBusters evaluation, RMSD/confidence metrics, GNINA post-processing, and vendored spyrmsd checks.

Repository Model

DiffDock is a script-style research repository rather than a package with console entry points. Future agents should use the bundled command builders to assemble commands, then run those commands only in a user-provided DiffDock runtime checkout or project context that contains the expected DiffDock modules, data, checkpoints, and dependencies.

The generated skill is self-contained for planning, validation, troubleshooting, and command construction. It does not bundle model weights, processed benchmark datasets, GNINA, ESM models, or the full DiffDock source tree.

Safe Defaults

  • Prefer PDB protein inputs over sequence folding for lightweight inference smoke tests.
  • Use command builders and validators first; they do not import the heavy DiffDock runtime stack.
  • Treat full inference, Gradio launch, ESM extraction, training, benchmark evaluation, GNINA, and model downloads as potentially long-running or network/backend dependent.
  • Keep user data paths explicit; do not assume the original example or dataset paths exist.
  • Preserve model_parameters.yml beside checkpoints when moving trained score or confidence models.

Required References

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