diffdock
Skill by K-Dense-AI
Predicts protein-small-molecule binding poses with DiffDock and DiffDock-L from a PDB file or sequence plus a SMILES, SDF or MOL2 ligand. Built for researchers running molecular docking and virtual-screening pose generation, not binding-affinity prediction.
Install diffdock
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/diffdock ~/.claude/skills/diffdockRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/diffdock ~/.gemini/antigravity-cli/skills/diffdockAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
DiffDock is a skill for predicting how a small molecule binds to a protein. It guides the assistant through the upstream DiffDock v1.1.3 repository, which runs DiffDock and DiffDock-L. Inputs are a PDB receptor or a complete amino-acid sequence, plus a ligand given as SMILES or as an SDF, MOL2, PDB or PDBQT file. The model generates candidate ligand poses and ranks them by model confidence.
The skill covers single-pair runs, CSV-based batch docking, ensemble runs over receptor conformations, and inspection of output poses. Bundled helpers create and validate batch CSV files and summarize results. The source states that confidence is not a measured probability of correctness or a binding affinity, so it is aimed at pose generation and triage by researchers who validate poses independently.
Written from the project's SKILL.md and checked against it.
What it can do
- Single-pair dockingRuns DiffDock on one protein and one ligand from upstream inference arguments.
- Batch dockingRuns many protein-ligand pairs from a CSV file in one inference job.
- Batch CSV preparationCreates and validates batch CSV files with prepare_batch_csv.py before inference.
- Result analysisSummarizes output poses and exports them to CSV with analyze_results.py.
- Confidence interpretationExplains upstream confidence bands and the limits of those scores.
- Sampling configurationEdits a copied YAML config to change samples per complex without CLI overrides.
- Environment checkChecks imports and files for the DiffDock setup with setup_check.py.
What you need
- Upstream DiffDock v1.1.3 repository and environment, or its Docker image
- Python 3.9.18 with PyTorch 1.13.1, fair-esm 2.0.0, RDKit and PyG
- CUDA GPU for the sequence folding path
- Network access and disk space for model weights
Try asking
- Dock aspirin into my protein.pdb receptor and list the top ranked poses
- Build a batch CSV for these 50 ligands and validate it before running
- Summarize the docking results in results/batch_001 and export them to CSV
Good to know
- The source states confidence is not a probability of correctness or binding affinity.
- Pretrained docking, ESMFold, CUDA, Docker and GNINA execution were not run in the source review.
- Upstream ESM2 truncates each chain at 1022 residues.
- Sequence folding calls .cuda() unconditionally, so it needs a CUDA GPU.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/diffdock/SKILL.md, skills/diffdock/scripts/analyze_results.py, skills/diffdock/scripts/prepare_batch_csv.py, skills/diffdock/scripts/setup_check.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash Glob Grep
-
SKILL.md12 KB -
assets/batch_template.csv410 B -
assets/custom_inference_config.yaml1 KB -
references/confidence_and_limitations.md5 KB -
references/parameters_reference.md5 KB
Show all 9 files
-
references/workflows_examples.md5 KB -
scripts/analyze_results.py12 KB -
scripts/prepare_batch_csv.py11 KB -
scripts/setup_check.py9 KB
Alternatives to diffdock
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
diffdock: common questions
Does DiffDock predict binding affinity?
No. The source says the skill is for pose generation and virtual-screening pose triage, not binding-affinity prediction, and that confidence is not binding affinity.
Can I run DiffDock without a GPU?
PDB-based inference has a CPU path according to the source. Sequence folding calls .cuda() unconditionally, so it requires CUDA.
What does the rank output look like?
Output is written as rank SDF files whose names include a rounded confidence value, such as rank1_confidence0.87.sdf. The rank1.sdf file duplicates the top pose.
How do I install diffdock?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is diffdock free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is diffdock safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to diffdock?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
