This is your go-to for building graph neural networks on molecules and proteins with PyTorch. It comes with 40+ datasets (BBBP, Tox21, QM9 for molecules; EnzymeCommission, PDBBind for proteins), 20+ model architectures (GIN, GAT, SchNet, GearNet), and task wrappers for property prediction, retrosynthesis, and knowledge graph reasoning. The installation is a bit finicky since you need to match PyTorch versions with torch-scatter and torch-cluster wheels, but once that's sorted you get a complete drug discovery stack. It's genuinely comprehensive but last updated July 2023, so you're working with PyTorch 2.0 max and Python 3.10. Best for custom model development where you need full control over the architecture rather than just running inference on pre-trained models.

skills.sh installs
2K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill torchdrug --agent claude-code

Installs into .claude/skills of the current project.

Files

TorchDrug

Use TorchDrug as a modular PyTorch graph-learning stack:

  1. load a datasets.* dataset,
  2. choose a models.* representation model,
  3. wrap it in a tasks.* objective,
  4. train and evaluate it with core.Engine.

The current official documentation and latest published release are both 0.2.1 (released July 2023; rechecked October 1, 2026). Treat newer Python or PyTorch combinations as unverified rather than silently assuming compatibility.

Start with the version guard

Before generating or debugging code, inspect the environment:

python --version
python -c "import torch; print(torch.__version__)"
python -c "import torchdrug; print(torchdrug.__version__)"

The supported matrix for TorchDrug 0.2.1 is:

  • Python 3.7 through 3.10
  • PyTorch 1.8 through 2.0
  • Linux, Windows, or macOS
  • Apple Silicon: PyTorch 1.13 or later, CPU only; no MPS support

If the project uses Python 3.11+ or PyTorch 2.1+, create a compatible environment or explicitly test a source build. Do not present such combinations as supported.

Installation

Prefer a dedicated Python 3.10 environment and pin the TorchDrug release:

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
DevOps & CI/CD, AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1alirezarezvani avatarproduct-skillsalirezarezvani/claude-skillsUse when coordinating product work across the 12 bundled product sub-skills (RICE, OKRs, UX research, design tokens, competitive teardown, analytics, experiment2Kskills.sh installs
2k-dense-ai avatarpathmlk-dense-ai/scientific-agent-skillsUse PathML for local, research-only computational pathology workflows: load and tile slides, build preprocessing and QC pipelines, manage h5path data, quantify 2Kskills.sh installs
3alirezarezvani avatarpm-skillsalirezarezvani/claude-skillsUse when coordinating project-delivery work across the 8 project-management sub-skills — sprint/velocity analytics, portfolio health, Jira/JQL, Confluence, Atla2Kskills.sh installs
4k-dense-ai avatarqiskitk-dense-ai/scientific-agent-skillsBuild, simulate, transpile, and execute quantum circuits with Qiskit and IBM Quantum Runtime. Use for Qiskit 2.x circuits and operators, V2 Sampler or Estimator2Kskills.sh installs
5browserbase avatarbrowser-to-apibrowserbase/skillsTurn a website's observable HTTP traffic into a best-effort OpenAPI 3.1 spec by analyzing a `browser-trace` capture. Use when the user wants to discover/extract2Kskills.sh installs
6onmax avatarts-libraryonmax/nuxt-skillsUse when authoring TypeScript libraries or npm packages - covers project setup, package.json exports, build tooling (tsdown/unbuild), API design patterns, type 2Kskills.sh installs