Agent skill

torch-geometric

Graph Neural Networks (PyG). Node/graph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add LeonChaoX/qinyan-academic-skills --skill torch-geometric --agent claude-code

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

Facts
Files in the skill folder: 7
SKILL.md size: 20 KB
Bundled scripts: yes
Path: skills/09-机器学习与人工智能/torch-geometric/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

# PyTorch Geometric (PyG) ## Overview PyTorch Geometric is a library built on PyTorch for developing and training Graph Neural Networks (GNNs). Apply this skill for deep learning on graphs and irregular structures, including mini-batch processing, multi-GPU training, and geometric deep learning applications. ## When to Use This Skill This skill should be used when working with: - **Graph-based machine learning**: Node classification, graph classification, link prediction - **Molecular property prediction**: Drug discovery, chemical property prediction - **Social network analysis**: Community detection, influence prediction - **Citation networks**: Paper classification, recommendation systems - **3D geometric data**: Point clouds, meshes, molecular structures - **Heterogeneous graphs**: Multi-type nodes and edges (e.g., knowledge graphs) - **Large-scale graph learning**: Neighbor sampling, distributed training ## Quick Start ### Installation ```bash uv pip install torch_geometric ``` For additional dependencies (sparse operations, clustering): ```bash uv pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Quick Start
  4. Installation
  5. Basic Graph Creation
  6. Loading a Benchmark Dataset
  7. Core Concepts
  8. Data Structure
  9. Edge Index Format
  10. Mini-Batch Processing
  11. Building Graph Neural Networks
  12. Message Passing Paradigm
  13. Using Pre-Built Layers
  14. Custom Message Passing Layers
Ships with 6 files
  • references/datasets_reference.md
  • references/layers_reference.md
  • references/transforms_reference.md
  • scripts/benchmark_model.py
  • scripts/create_gnn_template.py
  • scripts/visualize_graph.py
Commands it runs
uv pip install torch_geometric
uv pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html
More from qinyan-academic-skills
All skills →
About this skill
What does the torch-geometric skill do?

Graph Neural Networks (PyG). Node/graph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.

How do I install it?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill torch-geometric --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