torch-geometric

Develop and train Graph Neural Networks with PyTorch Geometric.

2|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/mcox3406/claude-comp-chem-skills --skill torch-geometric-mcox3406
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: torch-geometric
Source: https://github.com/mcox3406/claude-comp-chem-skills/tree/main/torch_geometric
Command: npx skills add https://github.com/mcox3406/claude-comp-chem-skills --skill torch-geometric-mcox3406

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers users to build and train sophisticated Graph Neural Networks (GNNs) for complex machine learning tasks on graph-structured data, simplifying the use of the powerful PyTorch Geometric library.

Core Features & Use Cases

  • GNN Model Development: Implement various GNN architectures (GCN, GAT, GraphSAGE) and custom layers.
  • Data Handling: Load and process diverse graph datasets, including benchmark and custom data.
  • Advanced Features: Utilize mini-batching, heterogeneous graphs, transforms, and explainability tools.
  • Use Case: Predict molecular properties by training a GNN on a dataset of chemical compounds, or analyze social networks for community detection.

Quick Start

Use the torch_geometric skill to load the Cora dataset and train a GCN model for node classification.

Frequently Asked Questions about torch-geometric

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Graph Neural Network for node classification using PyTorch Geometric?

Build a Graph Neural Network for node classification by loading graph datasets like Cora and implementing architectures such as GCN or GAT using PyTorch Geometric. This Skill provides scripts to train models for predicting node labels within graph-structured data.

Can I train models for molecular property prediction with graph neural networks?

Train models for molecular property prediction by representing chemical compounds as graph datasets and applying Graph Neural Networks. This Skill supports processing molecular structures to predict chemical properties using specialized GNN layers and transforms.

What graph neural network architectures are supported for graph analysis?

Supported graph neural network architectures for graph analysis include GCN, GAT, and GraphSAGE. This Skill enables implementing these models and custom layers to perform link prediction, node classification, and graph classification on diverse graph datasets.

Does PyTorch Geometric support heterogeneous graphs and mini-batching for deep learning?

PyTorch Geometric supports heterogeneous graphs and mini-batching for deep learning through specialized transforms and data handling utilities. This Skill facilitates utilizing these advanced features to scale graph neural network training across complex graph-structured data.

How do I use explainability tools with graph neural networks in PyTorch?

Use explainability tools with graph neural networks in PyTorch by applying integrated transforms and analysis functions. This Skill helps interpret GNN model predictions on graph-structured data, clarifying how node features and graph topology influence classification results.

What's the best way to load custom graph datasets for graph neural network training?

Load custom graph datasets for graph neural network training by utilizing PyTorch Geometric's data handling and transform utilities. This Skill provides scripts to process and structure custom graph data, ensuring compatibility with GCN, GAT, and GraphSAGE model architectures.