diffdock
Skill2 starsChanged 8 months agoMITView on GitHub
Skill for protein-ligand docking with DiffDock, a diffusion model that generates 3D binding poses from protein structure and ligand SMILES. Use this skill when a user wants to dock a small molecule to a protein, predict binding poses, run blind docking (no pocket specification required), or process batches of protein-ligand complexes. Also trigger when the user mentions DiffDock, molecular docking, binding pose prediction, or protein-ligand complex prediction.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- BrightGold70/skillstheir own version, first seen Sep 29, 2026
- K-Dense-AI/drug-discovery-agent-skillstheir own version, first seen Aug 16, 2026
- jaechang-hits/SciAgent-Skillstheir own version, first seen Jul 24, 2026
- HughYau/AcademicForgetheir own version, first seen Jul 2, 2026
- JimLiu/science-skillstheir own version, first seen Jul 1, 2026
- LeonChaoX/qinyan-academic-skillstheir own version, first seen Mar 13, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- HughYau/AcademicForge★ 2.6ksame name
- LeonChaoX/qinyan-academic-skills★ 932same name
- jaechang-hits/SciAgent-Skills★ 369same name
- JimLiu/science-skills★ 227same name
- qinyan-ai/qinyan-academic-skills★ 80same name
- K-Dense-AI/drug-discovery-agent-skills★ 35same name
- BrightGold70/skills★ 1same name
- yf8578/claude-skills-collection★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- alphafold3Skill
- alphafoldSkill
- boltzSkill
- chai1Skill
- esm2Skill
- esm3Skill
- esmcSkill
- evo2Skill
- prostt5Skill
- proteinmpnnSkill
- prott5Skill
- rfdiffusionSkill
- rnafmSkill
- scgptSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 146
Always inspect top poses visually — confidence is a heuristic, not ground truth
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DiffDock: Diffusion-Based Molecular Docking
Overview
DiffDock predicts 3D protein-ligand binding poses using a diffusion model. Given a protein structure and a ligand SMILES string, it generates multiple candidate poses ranked by a confidence score.
Key properties:
- Blind docking — no binding site specification required; searches entire protein surface
- Diffusion model — generates diverse poses via iterative denoising (score-based diffusion)
- SE(3)-equivariant — architecture respects 3D symmetry (rotations, translations)
- Confidence model — separate network ranks poses by predicted accuracy (not binding affinity)
- Current default: DiffDock-L (ICLR 2024) — improved generalization over original (ICLR 2023)
Important distinction: The confidence score predicts pose quality (RMSD to true binding pose), not binding affinity. High confidence ≠ strong binder.
Installation
DiffDock requires a conda environment — no pip-only install available:
git clone https://github.com/gcorso/DiffDock.git
cd DiffDock
conda env create --file environment.yml
conda activate diffdockOr with Docker (includes GPU support):
docker pull rbgcsail/diffdock
docker run -it --gpus all --entrypoint /bin/bash rbgcsail/diffdock
micromamba activate diffdockKey dependencies: PyTorch 1.13 + CUDA 11.7, torch-geometric 2.2, e3nn 0.5.1, RDKit, fair-esm (ESM-2 for protein embeddings), pytorch-lightning.
First run: precomputes SO(2)/SO(3) distribution caches (~2 min). Not repeated.
Core Usage
Single complex
cd DiffDock
python -m inference \
--config default_inference_args.yaml \
--protein_path protein.pdb \
--ligand_description "COc(cc1)ccc1C#N" \
--out_dir results/my_dockingFrom protein sequence (ESMFold folds it automatically)
python -m inference \
--config default_inference_args.yaml \
--protein_sequence "MVHLTPEEKSAVTALWGKVNVDEVGGEALGRLLVVYPWTQRFFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVANALAHKYH" \
--ligand_description "CC(=O)Nc1ccc(O)cc1" \
--out_dir results/my_dockingBatch processing (CSV input)
python -m inference \
--config default_inference_args.yaml \
--protein_ligand_csv complexes.csv \
--out_dir results/batchCSV format (complexes.csv):
complex_name,protein_path,ligand_description,protein_sequence
complex_A,proteins/target_A.pdb,CC(=O)Nc1ccc(O)cc1,
complex_B,proteins/target_B.pdb,data/ligand_B.sdf,
complex_C,,COc1ccc(C#N)cc1,MVHLTPEEKSAVTALWG...Ligand from SDF file
python -m inference \
--config default_inference_args.yaml \
--protein_path protein.pdb \
--ligand_description ligand.sdf \
--out_dir results/my_dockingKey Parameters
| Parameter | Default | Description |
--samples_per_complex | 10 | Poses to generate per complex |
--inference_steps | 20 | Denoising steps (fewer = faster, less refined) |
--batch_size | 10 | Parallel complexes (reduce if OOM) |
--no_final_step_noise | True | No noise in final step (better quality) |
--save_visualisation | False | Save reverse-diffusion trajectory PDB |
Speed vs quality:
| Mode | --inference_steps | --samples_per_complex | --batch_size |
| Fast screening | 5 | 5 | 20 |
| Default | 20 | 10 | 10 |
| High quality | 40 | 20 | 5 |
GPU: ~2–5 sec/pose. CPU: ~30–60 sec/pose.
Output Format
results/my_docking/
└── complex_0/
├── rank1_confidence0.43.sdf ← best pose, high confidence
├── rank2_confidence-0.12.sdf ← 2nd best, moderate
├── rank3_confidence-1.23.sdf ← 3rd, low confidence
└── ... ← up to samples_per_complex- Files are SDF format — open directly in PyMOL, ChimeraX, or RDKit
- Ranked by confidence score (rank1 = highest)
- Confidence score is in the filename:
rank{N}_confidence{score}.sdf
Confidence Score Interpretation
| Score | Confidence | Meaning |
> 0 | High | Model is confident the pose is accurate |
-1.5 to 0 | Moderate | Plausible but uncertain |
< -1.5 | Low | Unreliable; treat with caution |
Caveats:
- Score predicts RMSD accuracy, not binding affinity
- Thresholds shift downward for large ligands, apo proteins, or unusual binding sites
- Always inspect top poses visually — confidence is a heuristic, not ground truth
- For affinity estimation, follow up with MM-PBSA, GNINA, or FEP
Practical Notes
- No pocket required — DiffDock docks to the entire protein surface
- One ligand at a time — run separately for each ligand; does not support co-docking
- Rigid protein — assumes fixed backbone; for flexibility, relax the pose with MD
- Clean PDB — remove other ligands and waters from the binding site before docking
- OOM — reduce
--batch_sizeto 1 or 5 for large proteins (>1000 residues) - Validate setup — first run on a known PDB complex with its co-crystal ligand; check RMSD
Scripts
scripts/dock.py— wrapper that runs DiffDock and parses results; seescripts/dock.py --help
Resources
- GitHub: https://github.com/gcorso/DiffDock
- DiffDock (original): Corso et al., ICLR 2023 — https://arxiv.org/abs/2210.01776
- DiffDock-L: Corso et al., ICLR 2024 — https://arxiv.org/abs/2402.18396
References
references/cli-reference.md— full CLI parameter reference, output format details, confidence model, batch CSV format, DiffDock-L vs original
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

