torch-geometric

Develop and train Graph Neural Networks with PyTorch.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/yf8578/clawomics --skill torch-geometric-yf8578
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: torch-geometric
Source: https://github.com/yf8578/clawomics/tree/main/skills/torch-geometric
Command: npx skills add https://github.com/yf8578/clawomics --skill torch-geometric-yf8578

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, torch-geometric, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the development and training of Graph Neural Networks (GNNs) by providing a robust framework for deep learning on graph-structured data.

Core Features & Use Cases

  • GNN Development: Build and train GNN models for node/graph classification, link prediction, and more.
  • Data Handling: Load and process various graph datasets, including citation networks, molecular graphs, and social networks.
  • Advanced Architectures: Utilize pre-built GNN layers (GCN, GAT, GraphSAGE) and advanced features like heterogeneous graphs and message passing.
  • Use Case: Analyze a social network to predict user behavior or predict molecular properties for drug discovery.

Quick Start

Install PyTorch Geometric and load the Cora dataset to begin.

Frequently Asked Questions about torch-geometric

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

FAQPage Schema
How do I build Graph Neural Networks in PyTorch for node classification?

You can build Graph Neural Networks in PyTorch by using pre-built GNN layers like GCN, GAT, and GraphSAGE to train models for node classification, link prediction, and graph classification on diverse graph datasets.

What is the best way to train GNN models on molecular graphs for property prediction?

Training GNN models on molecular graphs is best handled through frameworks that support message passing and diverse graph datasets, enabling accurate molecular property prediction for applications like drug discovery.

Can I use PyTorch to implement heterogeneous graphs and message passing?

Yes, you can implement heterogeneous graphs and message passing in PyTorch, as the framework provides advanced features specifically designed to handle complex graph-structured data and diverse GNN architectures.

Does PyTorch Geometric support GraphSAGE and GAT architectures for social network analysis?

PyTorch Geometric supports GraphSAGE and GAT architectures, allowing you to analyze social networks by loading graph datasets to predict user behavior and uncover complex relational patterns.

Do I need PyTorch to load citation network datasets for deep learning?

Yes, you need PyTorch as a foundational dependency to load citation network datasets and perform geometric deep learning, utilizing specialized scripts and references to process graph-structured data.