diffdock

diffdock is a skill for Claude Code from K-Dense-AI/drug-discovery-agent-skills. It costs 117 tokens per session (4,087 once invoked), scanned A, a copy of diffdock, MIT.

A molecular-docking tool that predicts how a small molecule may fit against a protein in three dimensions. It can use protein structures or sequences and reports confidence in each predicted pose, not binding strength.

In plain words
What is it for?
Use it to dock one or many compounds, predict several poses, screen a compound list, and inspect confidence scores for protein–small-molecule predictions.
Why use it?
It gives candidate binding shapes for docking and screening without treating a confidence score as a measurement of affinity. This helps separate pose prediction from estimating how strongly a molecule binds.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python datasets/esm_embedding_preparation.py \.

Good fit Use it to dock one or many compounds, predict several poses, screen a compound list, and inspect confidence scores for protein–small-molecule predictions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills
agentmods
npx agentmods add skills/k-dense-ai/drug-discovery-agent-skills/diffdock

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diffdock

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/diffdock/github.svg)](https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/diffdock)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/diffdock"><img src="https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/diffdock/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diffdock

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/diffdock"><img src="https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/diffdock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,087 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.04087
Opus 5 $0.00059 $0.02044
Sonnet 5 $0.00023 $0.00817
Haiku 4.5 $0.00012 $0.00409

Measured 11d ago against content hash 90b34eeb8d5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

diffdock scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/analyze_results.py, scripts/prepare_batch_csv.py, scripts/setup_check.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to diffdock — 73 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/diffdock/SKILL.md · 499 lines

How it starts

The opening of the file, as written. The whole thing — 499 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DiffDock: Molecular Docking with Diffusion Models

Overview

DiffDock is a diffusion-based deep learning tool for molecular docking that predicts 3D binding poses of small molecule ligands to protein targets. It represents the state-of-the-art in computational docking, crucial for structure-based drug discovery and chemical biology.

Core Capabilities:

  • Predict ligand binding poses with high accuracy using deep learning
  • Support protein structures (PDB files) or sequences (via ESMFold)
  • Process single complexes or batch virtual screening campaigns
  • Generate confidence scores to assess prediction reliability
  • Handle diverse ligand inputs (SMILES, SDF, MOL2)

Key Distinction: DiffDock predicts binding poses (3D structure) and confidence (prediction certainty), NOT binding affinity (ΔG, Kd). Always combine with scoring functions (GNINA, MM/GBSA) for affinity assessment.

When to Use This Skill

This skill should be used when:

  • "Dock this ligand to a protein" or "predict binding pose"
  • "Run molecular docking" or "perform protein-ligand docking"
  • "Virtual screening" or "screen compound library"
  • "Where does this molecule bind?" or "predict binding site"
  • Structure-based drug design or lead optimization tasks
  • Tasks involving PDB files + SMILES strings or ligand structures
  • Batch docking of multiple protein-ligand pairs

Installation and Environment Setup

Check Environment Status

Before proceeding with DiffDock tasks, verify the environment setup:

# Use the provided setup checker
python scripts/setup_check.py

This script validates Python version, PyTorch with CUDA, PyTorch Geometric, RDKit, ESM, and other dependencies.

Installation Options

Option 1: Conda (Recommended)

git clone https://github.com/gcorso/DiffDock.git
cd DiffDock
conda env create --file environment.yml
conda activate diffdock

Option 2: Docker

docker pull rbgcsail/diffdock
docker run -it --gpus all --entrypoint /bin/bash rbgcsail/diffdock
micromamba activate diffdock

Read the full file on GitHub · 499 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 499 lines · 117 tokens per session scan A 90b34eeb8d5e

Subscribe to this mod's changes

diffdock is a skill published in the GitHub repository K-Dense-AI/drug-discovery-agent-skills (28 stars, last pushed 3d ago), licensed MIT. It adds 117 tokens to every session and 4,087 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to diffdock, differing in 73 lines, and is treated as a copy.