Agent skill · AI & Agents

torchdrug

PyTorch-native graph neural networks for molecules and proteins. Use when building custom GNN architectures for drug discovery, protein modeling, or knowledge graph reasoning. Best for custom model development, protein property prediction, retrosynthesis. For pre-trained models and diverse featurizers use deepchem; for benchmark datasets use pytdc.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeMIT
Install
npx skills add LeonChaoX/qinyan-academic-skills --skill torchdrug --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/06-化学信息与药物发现/torchdrug/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 759
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# TorchDrug ## Overview TorchDrug is a comprehensive PyTorch-based machine learning toolbox for drug discovery and molecular science. Apply graph neural networks, pre-trained models, and task definitions to molecules, proteins, and biological knowledge graphs, including molecular property prediction, protein modeling, knowledge graph reasoning, molecular generation, retrosynthesis planning, with 40+ curated datasets and 20+ model architectures. ## When to Use This Skill This skill should be used when working with: **Data Types:** - SMILES strings or molecular structures - Protein sequences or 3D structures (PDB files) - Chemical reactions and retrosynthesis - Biomedical knowledge graphs - Drug discovery datasets **Tasks:** - Predicting molecular properties (solubility, toxicity, activity) - Protein function or structure prediction - Drug-target binding prediction - Generating new molecular structures - Planning chemical synthesis routes - Link prediction in biomedical knowledge bases - Training graph neural networks on scientific data **Libraries and Integration:** - TorchDrug is the primary library - Often used with RDKit for cheminformatics - Compatible with PyTorch and PyTorch L

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Getting Started
  4. Installation
  5. Quick Example
  6. Core Capabilities
  7. 1. Molecular Property Prediction
  8. 2. Protein Modeling
  9. 3. Knowledge Graph Reasoning
  10. 4. Molecular Generation
  11. 5. Retrosynthesis
  12. 6. Graph Neural Network Models
  13. 7. Datasets
  14. Common Workflows
Ships with 8 files
  • references/core_concepts.md
  • references/datasets.md
  • references/knowledge_graphs.md
  • references/models_architectures.md
  • references/molecular_generation.md
  • references/molecular_property_prediction.md
  • references/protein_modeling.md
  • references/retrosynthesis.md
Commands it runs
uv pip install torchdrug
Or with optional dependencies
uv pip install torchdrug[full]
More from qinyan-academic-skills
All skills →
About this skill
What does the torchdrug skill do?

PyTorch-native graph neural networks for molecules and proteins. Use when building custom GNN architectures for drug discovery, protein modeling, or knowledge graph reasoning. Best for custom model development, protein property prediction, retrosynthesis. For pre-trained models and diverse featurizers use deepchem; for benchmark datasets use pytdc.

How do I install it?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill torchdrug --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going