Torchdrug
davila7/claude-code-templates
Graph-based drug discovery toolkit. An agent skill from davila7/claude-code-templates.
PyTorch-native Graph Neural Network framework for molecules and proteins.
$ npx skills add aipoch/medical-research-skills --skill torchdrug-english -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills torchdrug-english --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Data Analysis/TorchDrug-English' .claude/skills/torchdrug-english && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "torchdrug-english" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/TorchDrug-English into .claude/skills/torchdrug-english/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "torchdrug-english", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/TorchDrug-EnglishType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aipoch/medical-research-skills --skill torchdrug-english -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills torchdrug-english --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'scientific-skills/Data Analysis/TorchDrug-English' .agents/skills/torchdrug-english && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "torchdrug-english" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/TorchDrug-English into .agents/skills/torchdrug-english/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "torchdrug-english", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill torchdrug-english -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills torchdrug-english --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'scientific-skills/Data Analysis/TorchDrug-English' .cursor/skills/torchdrug-english && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "torchdrug-english" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/TorchDrug-English into .cursor/skills/torchdrug-english/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "torchdrug-english", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aipoch/medical-research-skills.git --path 'scientific-skills/Data Analysis/TorchDrug-English'--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aipoch/medical-research-skills --skill torchdrug-english -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills torchdrug-english --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'scientific-skills/Data Analysis/TorchDrug-English' .gemini/skills/torchdrug-english && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "torchdrug-english" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/TorchDrug-English into .gemini/skills/torchdrug-english/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "torchdrug-english", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aipoch/medical-research-skills torchdrug-englishInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aipoch/medical-research-skills --skill torchdrug-english -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'scientific-skills/Data Analysis/TorchDrug-English' .github/skills/torchdrug-english && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "torchdrug-english" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/TorchDrug-English into .github/skills/torchdrug-english/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "torchdrug-english", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill torchdrug-english -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aipoch/medical-research-skills torchdrug-english --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'scientific-skills/Data Analysis/TorchDrug-English' .opencode/skills/torchdrug-english && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "torchdrug-english" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Data%20Analysis/TorchDrug-English into .opencode/skills/torchdrug-english/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "torchdrug-english", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
torchdrug-englishPyTorch-native Graph Neural Network framework for molecules and proteins.
Torchdrug English is an agent skill from aipoch/medical-research-skills. PyTorch-native Graph Neural Network framework for molecules and proteins. Suitable for building custom GNN architectures for drug discovery, protein modeling, or knowledge graph reasoning. Best for custom model development, protein property prediction, and retrosynthesis. If you need pretrained models and diverse feature extractors, use deepchem; if you need benchmark datasets, use pytdc.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `TorchDrug-English_audit_result_v1.json`, `references/core_concepts.md` and `references/datasets.md`).
It sits in Research & Science, covering Deep learning, Drug discovery and cheminformatics and Knowledge graphs. It works with PyTorch. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Torchdrug English loads about 2.6k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 102 tokens; SKILL.md has 988 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 988 words, ~2,591 tokens.
.claude/skills/torchdrug-english/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.the documented workflow in this package is the most direct path to complete the request.TorchDrug (English) package behavior rather than a generic answer.references/ for task-specific guidance.Python: 3.10+. Repository baseline for current packaged skills.Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.Skill directory: 20260316/scientific-skills/Data Analytics/TorchDrug-English
No packaged executable script was detected.
Use the documented workflow in SKILL.md together with the references/assets in this folder.Example run plan:
See ## Overview above for related details.
SKILL.md.references/ contains supporting rules, prompts, or checklists.TorchDrug is a PyTorch-based comprehensive machine learning toolbox designed for drug discovery and molecular science. It applies graph neural networks, pretrained models, and task definitions to molecules, proteins, and biological knowledge graphs, covering molecular property prediction, protein modeling, knowledge graph reasoning, molecular generation, retrosynthesis planning, and more, including 40+ curated datasets and 20+ model architectures.
Use this skill when dealing with the following:
Data Types:
Tasks:
Libraries and Integration:
pip install torchdrugpip install torchdrug[full]from torchdrug import datasets, models, tasks
from torch.utils.data import DataLoader
import torch
# Load molecular dataset
dataset = datasets.BBBP("~/molecule-datasets/")
train_set, valid_set, test_set = dataset.split()
# Define GNN model
model = models.GIN(
input_dim=dataset.node_feature_dim,
hidden_dims=[256, 256, 256],
edge_input_dim=dataset.edge_feature_dim,
batch_norm=True,
readout="mean"
)
# Create property prediction task
task = tasks.PropertyPrediction(
model,
task=dataset.tasks,
criterion="bce",
metric=["auroc", "auprc"]
)
# Train with PyTorch
optimizer = torch.optim.Adam(task.parameters(), lr=1e-3)
train_loader = DataLoader(train_set, batch_size=32, shuffle=True)
for epoch in range(100):
for batch in train_loader:
loss = task(batch)
optimizer.zero_grad()
loss.backward()
optimizer.step()Predict chemical, physical, and biological properties from molecular structures.
Use Cases:
Core Components:
PropertyPrediction and MultipleBinaryClassification tasksReference: See molecular_property_prediction.md
Process protein sequences, structures, and properties.
Use Cases:
Core Components:
Reference: See protein_modeling.md
Predict missing links and relations in biomedical knowledge graphs.
Use Cases:
Core Components:
KnowledgeGraphCompletion taskReference: See knowledge_graphs.md
Generate novel molecular structures with desired properties.
Use Cases:
Core Components:
GraphAutoregressiveFlowReference: See molecular_generation.md
Predict synthesis routes from target molecules to starting materials.
Use Cases:
Core Components:
CenterIdentification (reaction center prediction)SynthonCompletion (reactant prediction)Reference: See retrosynthesis.md
Comprehensive catalog of GNN architectures for different data types and tasks.
Available Models:
Reference: See models_architectures.md
40+ curated datasets covering chemistry, biology, and knowledge graphs.
Categories:
Reference: See datasets.md
Scenario: Predict blood-brain barrier permeability for drug candidates. Steps:
Navigation: references/molecular_property_prediction.md → Dataset Selection → Model Selection → Training
Scenario: Predict enzyme function from sequence. Steps:
Navigation: references/protein_modeling.md → Model Selection (Sequence vs Structure) → Pretraining Strategies
Scenario: Find new disease treatments in Hetionet. Steps:
Navigation: references/knowledge_graphs.md → Hetionet Dataset → Model Selection → Biomedical Applications
© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files (references) in scientific-skills/Data Analysis/TorchDrug-English of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Torchdrug English next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Torchdrug English this skillaipoch/medical-research-skills | 1.9k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Torchdrugdavila7/claude-code-templates | 33k | 11 repos | ~3.5k | Automated safety check: Pass | MIT | |
| TorchdrugK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3k | Automated safety check: Notes | Apache-2.0 | |
| tangermeme Genomic Model Analysisjmschrei/tangermeme | 318 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Cellxgene Censusdavila7/claude-code-templates | 33k | 11 repos | ~3.8k | Automated safety check: Pass | MIT | |
| Pennylanedavila7/claude-code-templates | 33k | 7 repos | ~1.9k | Automated safety check: Pass | MIT |
davila7/claude-code-templates
Graph-based drug discovery toolkit. An agent skill from davila7/claude-code-templates.
K-Dense-AI/scientific-agent-skills
Builds and troubleshoots TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and…
jmschrei/tangermeme
Routes agents to the right tangermeme reference for analyzing trained genomic deep learning models, from attributions and motif experiments to variant effects and design.
davila7/claude-code-templates
Query CZ CELLxGENE Census (61M+ cells). An agent skill from davila7/claude-code-templates.
davila7/claude-code-templates
Cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry.
NVIDIA-BioNeMo/bionemo-agent-toolkit
Write code that calls the installed nvMolKit Python API for GPU-accelerated, batched RDKit-style operations - Morgan fingerprints, Tanimoto/cosine similarity, ETKDG conformer embedding, MMFF/UFF…
aipoch/medical-research-skills
Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…
aipoch/medical-research-skills
Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.
aipoch/medical-research-skills
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
aipoch/medical-research-skills
A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.
aipoch/medical-research-skills
Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…
aipoch/medical-research-skills
Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.
Works with
PyTorch-native Graph Neural Network framework for molecules and proteins. Torchdrug English is an agent skill from aipoch/medical-research-skills. PyTorch-native Graph Neural Network framework for molecules and proteins.
Torchdrug English fits situations like: tasks that involve Deep learning; tasks that involve Drug discovery and cheminformatics; tasks that involve Knowledge graphs.
Run `npx skills add aipoch/medical-research-skills --skill torchdrug-english -a claude-code`. Or copy the skill folder (scientific-skills/Data Analysis/TorchDrug-English in aipoch/medical-research-skills) into .claude/skills/torchdrug-english in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill torchdrug-english -a codex`. Or copy the skill folder (scientific-skills/Data Analysis/TorchDrug-English in aipoch/medical-research-skills) into .agents/skills/torchdrug-english in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill torchdrug-english -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/torchdrug-english, .gemini/skills/torchdrug-english, .github/skills/torchdrug-english and .opencode/skills/torchdrug-english in your project.
Going by SKILL.md and its folder, Torchdrug English needs Python for the scripts in its folder and the command-line tools its instructions call (pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Torchdrug English is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Torchdrug English: Torchdrug (davila7/claude-code-templates, 33k stars), Torchdrug (K-Dense-AI/scientific-agent-skills, 48k stars), tangermeme Genomic Model Analysis (jmschrei/tangermeme, 318 stars) and Cellxgene Census (davila7/claude-code-templates, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.
Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.