Torchdrug
Graph-learning stack for TorchDrug 0.2.1 covering molecular, protein, and knowledge graph workflows, with version checks.
- CCM score
- 69 of 100
- skills.sh installs
- 2.2K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning
- Provides a version guard for Python 3.7 to 3.10, PyTorch 1.8 to 2.0, and CPU-only Apple Silicon, flagging unsupported combinations
- Includes reference files on datasets, property prediction, generation, retrosynthesis, knowledge graphs, and protein modeling
- Designed for code that imports
torchdrugor needs itsdatasets,models,tasks, orcore.Engine
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill torchdrug -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
TorchDrug
Use TorchDrug as a modular PyTorch graph-learning stack:
- load a
datasets.*dataset, - choose a
models.*representation model, - wrap it in a
tasks.*objective, - 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:
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Data Science & Analytics, Research & Academic
- First seen
- Jun 3, 2026
Questions
What does the torchdrug skill help an agent build?
The torchdrug skill helps an agent build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. It applies when code imports torchdrug or needs its datasets, models, tasks, or Engine.
How do I install the torchdrug skill?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill torchdrug -y in a project to install the torchdrug skill. After that, the agent can follow the torchdrug workflow for TorchDrug code.
What environment does the torchdrug skill need?
The torchdrug skill expects Python 3.7 through 3.10 and PyTorch 1.8 through 2.0, with compatible torch-scatter, torch-cluster, RDKit and fair-esm installed. Apple Silicon runs TorchDrug on CPU only, and network access is needed for uncached datasets and weights.
Where does the torchdrug skill sit in its category?
The torchdrug skill is listed under Data Science and Analytics on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. Its focus is molecular and graph learning with TorchDrug rather than general analytics.
More from k-dense-ai/scientific-agent-skills
All 132- Esm2.2K
- Fluidsim2.2K
- Pymatgen2.2K
- Zarr Python2.2K
- Imaging Data Commons2.2K
- Scvi Tools2.2K
- Pyhealth2.2K
- Neurokit22.2K
- Medchem2.2K
- Dhdna Profiler2.2K
- Molfeat2.2K
- Pysam2.2K
- Depmap2.1K
- Diffdock2.1K
- Cirq2.1K
- Cobrapy2.1K
- Pathml2.1K
- Treatment Plans2.1K
- Etetoolkit2.1K
- Pennylane2.1K
- Flowio2.1K
- Geniml2.1K
- Labarchive Integration2.1K
- Pytdc2.1K
Similar to Torchdrug
More Data Science & AnalyticsmolfeatSkillk-dense-ai/scientific-agent-skills2.2K installsMolecular featurization toolkit that converts SMILES into fingerprints, descriptors, pharmacophores, and pretrained embeddings for QSAR.
deepchemSkillk-dense-ai/scientific-agent-skills2.2K installsMolecular property prediction toolkit with DeepChem featurizers, MoleculeNet datasets and explicit pretrained-encoder transfer.
maven-bioPluginanthropics/knowledge-work-plugins36.8K starsEvidence-backed BioPharma research workflows over Maven Bio's drug, trial, company, and deal knowledge graph. Skills for competitive pipelines, indication lands
torch-geometricSkilldavila7/claude-code-templates289 installsGraph neural network toolkit for node and graph classification, link prediction, and molecular property prediction.
pytdcSkilldavila7/claude-code-templates275 installsAI-ready drug discovery datasets and benchmarks for therapeutic ML, with scaffold splits and molecular oracles.
langchain-developmentSkillmindrally/skills726 installsExpert LangChain and LangGraph guidance for Python covering LCEL chains, agents, memory, and RAG pipelines.