diffdock

diffdock is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 40 tokens per session (4,573 once invoked), scanned A, a copy of diffdock, Apache-2.0.

A molecular-docking tool that predicts how a small drug-like molecule may fit into a protein in three dimensions. Docking estimates a binding pose, not how strongly the molecule binds.

In plain words
What is it for?
Use it with protein structures or sequences and molecule inputs such as SMILES or SDF files to predict binding poses, run virtual screening, and obtain confidence scores.
Why use it?
It helps examine possible protein–molecule arrangements and screen many compounds computationally before laboratory testing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

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 with protein structures or sequences and molecule inputs such as SMILES or SDF files to predict binding poses, run virtual screening, and obtain confidence scores.

Compare 6 skills from other repositories ↓
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,025 stars · on GitHub · openscience.sh

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/synthetic-sciences/openscience
agentmods
npx agentmods add skills/synthetic-sciences/openscience/diffdock

Made for: Claude Code, Codex.

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/synthetic-sciences/openscience/diffdock/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/diffdock)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/diffdock"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/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/synthetic-sciences/openscience/diffdock"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/diffdock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% 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.00040 $0.04573
Opus 5.5 $0.00016 $0.01829
Sonnet 5.5 $0.00008 $0.00915
Haiku 4.5 $0.00004 $0.00457

Measured 1mo ago against content hash 7cb40222d5f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diffdock scanned grade A with 1 finding 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 1mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(cmd, capture_output=True, text=True)
Origin

This is a copy

86% identical to diffdock — 673 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.

backend/cli/skills/chemistry/diffdock/SKILL.md · 591 lines

How it starts

The opening of the file, as written. The whole thing — 591 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

Related Skills

  • molecular-docking: Full end-to-end pipeline including target prep, pocket detection, AutoDock Vina, scoring, and interaction analysis. Use when you need the complete workflow, not just DiffDock.
  • denovo-design: For generating new molecules (not docking). Use diffdock afterwards to dock generated molecules.

Use Modal for on-demand GPU access without local GPU setup.

Prerequisites

# Verify Modal credentials (auto-injected by openscience)
[ -n "$MODAL_TOKEN_ID" ] && echo "MODAL_TOKEN_ID set" || echo "NOT SET"
[ -n "$MODAL_TOKEN_SECRET" ] && echo "MODAL_TOKEN_SECRET set" || echo "NOT SET"

Read the full file on GitHub · 591 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. 1mo ago Changed · +6 lines 7cb40222d5f6
  2. 1mo ago First seen · 585 lines · 40 tokens per session scan A 56b2468cd6fb

Subscribe to this mod's changes

diffdock is a skill published in the GitHub repository synthetic-sciences/openscience (4,025 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 4,573 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 86% identical to diffdock, differing in 673 lines, and is treated as a copy.

Related

Other skills, from other repositories

meta-paper-write

Use this meta-skill instead of answering directly when the current user asks to draft or produce a new academic/research paper or LaTeX manuscript. It uses multi-skill orchestration for manuscript workflows that need source search, citation planning, experiment or figure/table placeholders, drafting, length checks…

opensquilla/opensquilla · 125 tokens

paper-revision-author

Revise independently drafted paper sections into one coherent LaTeX body before the abstract is written.

opensquilla/opensquilla · 24 tokens

paper-section-author

Write one publication-style research-paper section as a bounded, citation-grounded LaTeX fragment from a writing plan, outline, citation plan, and optional figure/table context.

opensquilla/opensquilla · 38 tokens

meta-arxiv-daily-digest-deck

Fetch the day's top arXiv submissions in a chosen category, write a structured per-paper digest, render the digest as a PPTX deck (one slide per paper), and persist the digest to long-term memory. Use for a daily 'arxiv morning briefing' — manual fire or cron-scheduled.

opensquilla/opensquilla · 71 tokens

paper-quality-gate

Deterministic pre-compile gate for meta-paper-write. Enforces length/citation verdicts and rejects unsupported empirical-result claims when no user evidence was supplied.

opensquilla/opensquilla · 37 tokens

paper-latex-sanitizer

Deterministically normalize safe LaTeX punctuation and replace unsupported forecast magnitudes with explicit placeholders before meta-paper-write publication gates run.

opensquilla/opensquilla · 33 tokens