Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

torchdrug — Claude Code skill: what it does, how to install

Helps build and debug TorchDrug 0.2.1 pipelines for molecular graphs and proteins. Use it when training property prediction, molecule generation, or retrosynthesis models.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill torchdrug -a claude-code
Open on GitHub

What torchdrug does

The skill guides coding agents through the TorchDrug workflow stack: loading data via datasets.*, choosing representations like models.GIN, configuring objectives with tasks.*, and training through core.Engine. It covers molecular property prediction on ClinTox, autoregressive generation with GraphAF on ZINC250k, and retrosynthesis on USPTO50k.

Stack requirements are strict. TorchDrug 0.2.1 officially supports Python 3.7 to 3.10 and PyTorch 1.8 to 2.0. Apple Silicon is restricted to CPU-only execution because MPS lacks support, requiring source builds for torch-scatter and torch-cluster.

Environment setups need NumPy 1.x to prevent binary ABI clashes, alongside fair-esm and a single RDKit package. Attempting to mix rdkit and rdkit-pypi breaks the interpreter environment immediately.

What it helps with

  • Configure molecular property prediction workflows with GIN and Engine
  • Set up molecule generation models using GCPN or GraphAF
  • Prepare USPTO50k datasets for retrosynthesis reaction center identification
  • Resolve binary dependency matrix issues for PyTorch, torch-scatter, and RDKit

Example prompts for the agent

  • Build a TorchDrug property prediction pipeline for ClinTox using GIN
  • Configure GraphAF molecular generation on the ZINC250k dataset
  • Check my virtualenv compatibility for TorchDrug 0.2.1 and torch-scatter

How to install torchdrug

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill torchdrug -a claude-code

2Manually: put the files in place

~/.claude/skills/torchdrug/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/torchdrug/

From the same set120

The whole set →
scientific-visualization K-Dense-AI Generates and audits publication-ready scientific figures in Matplotlib, Seaborn, and Plotly, focusing on truthful data encoding and accessibility. Claude Code CX Codex Cursor +1 2,400installs scientific-writing K-Dense-AI This skill drafts and audits scientific manuscripts and reports while tying claims to verified evidence. Use it for sections, references, declarations, and submission checks. Claude Code CX Codex Cursor +1 2,400installs statistical-analysis K-Dense-AI Runs hypothesis tests with assumption checking, effect sizes, and APA-formatted reports. Covers t-tests, ANOVA, correlation, regression, non-parametric and Bayesian methods. Claude Code CX Codex Cursor +1 2,300installs scientific-brainstorming K-Dense-AI Structures early-stage research ideation through independent idea generation, transparent scoring, and adversarial review. Useful for ranking hypotheses without premature consensus. Claude Code CX Codex Cursor +1 2,300installs literature-review K-Dense-AI This skill searches and synthesizes research literature, checks citations, and prepares Markdown or PDF reviews. Use it for reproducible searches and screening. Claude Code CX Codex Cursor +1 2,300installs scientific-critical-thinking K-Dense-AI Evaluates scientific claims, research methodology, and evidence quality. Applies GRADE and Cochrane Risk of Bias frameworks. Claude Code CX Codex Cursor +1 2,300installs scientific-schematics K-Dense-AI Creates PNG drafts of scientific diagrams and runs a separate quality review. Use it for neural network architectures, flowcharts, system diagrams, and biological pathways. Claude Code CX Codex Cursor +1 2,200installs scikit-learn K-Dense-AI A skill for Python machine learning tasks: classification, regression, clustering, preprocessing, and building ML pipelines with scikit-learn 1.9.1. Claude Code CX Codex Cursor +1 2,200installs

Similar

azure-architecture-autopilot official github Design Azure infrastructure from a prompt or inspect existing resources, then work through diagrams, Bicep generation and deployment. Use it for a new build or changes to an existing setup. GitHub Copilot 1,500installs agent-owasp-compliance official github Checks an AI agent codebase against the 10 OWASP ASI risks. Use it before production deployment, for security review, or when preparing an audit report. GitHub Copilot 1,500installs rag-architect https://github.com/Jeffallan Designs production RAG systems: chunks documents, generates embeddings, configures vector stores, builds hybrid search pipelines, and evaluates retrieval quality. Claude Code CX Codex Cursor +1 4,700installs ads-microsoft AgriciDaniel Audits Microsoft Ads, Bing Ads, UET, and audience network campaigns: measurement, conversions, Google imports, keywords, creative, bidding, and budgets. Read-only; use ads-optimize to make changes. Claude Code CX Codex Cursor +1 3,800installs azure-speech-to-text calesthio Transcribes local audio files into text with word-level timestamps and speaker diarization using Azure AI Speech. Speeds up subtitle creation and audio processing in OpenMontage pipelines. Claude Code CX Codex Cursor +1 763installs langgraph-persistence langchain-ai A Claude Code skill for LangGraph persistence: wiring a checkpointer, keeping conversations apart by thread_id, and replaying older graph state. Claude Code CX Codex Cursor +1 18,000installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. Claude Code Claude.ai 414,180installs writing-for-agents Matt Pocock Guidance for writing skills and agent-facing documents. Use it when editing AGENTS.md, CLAUDE.md, or reference files reached from them. Claude Code 466,719installs

Questions about torchdrug

How to install torchdrug in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill torchdrug -a claude-code. The skill file installs to ~/.claude/skills/torchdrug/SKILL.md.

What does the torchdrug skill do?

It equips your AI assistant with validated patterns for TorchDrug 0.2.1, covering datasets, models, training engines, and dependency setups.

Does TorchDrug 0.2.1 support Apple Silicon GPU acceleration?

No, MPS is unsupported. On Apple Silicon machines, execution runs strictly on CPU, and libraries like torch-scatter must be built from source.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor