Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

torchdrug

Skill by davila7

TorchDrug is a PyTorch toolbox for drug discovery skills covering molecular property prediction, protein modeling, knowledge graph reasoning, molecular generation and retrosynthesis. It is aimed at machine learning users working on molecules, proteins and biomedical graphs.

  • Score 94
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install torchdrug

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/torchdrug ~/.claude/skills/torchdrug

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install torchdrug in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

TorchDrug is a PyTorch-based machine learning toolbox for drug discovery and molecular science. This skill guides an assistant through graph neural networks, pre-trained models and task definitions applied to molecules, proteins and biological knowledge graphs. It covers molecular property prediction including ADMET, protein modeling, knowledge graph reasoning, molecular generation and retrosynthesis planning.

The skill points to reference files for datasets, model selection, training workflows and core concepts. It lists 40+ curated datasets and 20+ model architectures, including GIN, GAT, SchNet, GearNet and RotatE. It also shows integration with RDKit, AlphaFold, ESM and PyTorch Lightning. It is aimed at machine learning practitioners working on drug discovery and biomedical graph data.

Written from the project's SKILL.md and checked against it.

What it can do

  • Molecular property predictionPredicts chemical, physical and biological properties of molecules, including ADMET, from structure.
  • Protein modelingWorks with protein sequences and 3D structures for function, stability and interaction tasks.
  • Knowledge graph reasoningPredicts missing links in biomedical knowledge graphs such as Hetionet.
  • Molecular generationGenerates novel molecular structures, including GCPN and autoregressive approaches.
  • RetrosynthesisPredicts synthetic routes from target molecules, using the USPTO-50k reaction dataset.
  • GNN model catalogLists graph neural network architectures such as GIN, GAT, SchNet and GearNet.
  • Dataset accessLoads 40+ curated datasets across chemistry, biology and knowledge graphs.

What you need

  • Python
  • PyTorch
  • uv package installer (used in the install command)

Try asking

  • Train a GIN model to predict blood-brain barrier penetration with BBBP
  • Plan a retrosynthesis route for this molecule using USPTO-50k
  • Find Compound-treats-Disease candidates in Hetionet with RotatE

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cli-tool/components/skills/scientific/torchdrug/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB
  • references/core_concepts.md14 KB
  • references/datasets.md11 KB
  • references/knowledge_graphs.md8 KB
  • references/models_architectures.md13 KB
Show all 9 files
  • references/molecular_generation.md10 KB
  • references/molecular_property_prediction.md6 KB
  • references/protein_modeling.md8 KB
  • references/retrosynthesis.md11 KB

Alternatives to torchdrug

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

torchdrug: common questions

Which datasets does TorchDrug support?

The skill describes 40+ curated datasets spanning molecular properties, proteins, knowledge graphs and retrosynthesis. Examples named in the source include BBBP, HIV, Tox21, QM9, Hetionet and USPTO-50k.

Does TorchDrug work with RDKit?

The source says TorchDrug is often used with RDKit for cheminformatics. It shows how to convert molecules between TorchDrug and RDKit formats.

Can TorchDrug models be trained with PyTorch Lightning?

The source says TorchDrug is compatible with PyTorch Lightning and includes an example that wraps a TorchDrug task in a LightningModule.

How do I install torchdrug?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is torchdrug free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is torchdrug 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 torchdrug?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

torchdrug Install

Add to stack

Loading.