Torch Geometric
PyTorch Geometric layers, datasets, transforms, and sampling for graph neural network training with version-pinned installs.
- CCM score
- 69 of 100
- skills.sh installs
- 2.2K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers node, link, and graph tasks with message passing layers such as GCN, GAT, GraphSAGE, and GIN
- Includes
DataandHeteroDatagraph structures, standard datasets, and transforms such asNormalizeFeaturesandToUndirected - Guards
edge_indexformat andnum_nodeshandling so isolated nodes and batching offsets stay correct - Designed for researchers and engineers training GNNs on torch_geometric rather than general graph analytics
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill torch-geometric -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
PyTorch Geometric (PyG)
PyG is the standard library for Graph Neural Networks built on PyTorch. It provides data structures for graphs, 60+ GNN layer implementations, scalable mini-batch training, and support for heterogeneous graphs.
Installation
Reviewed released torch-geometric 2.8.0.post1 (2026-10-01); CPU examples tested with Python 3.13 / PyTorch 2.14.1. Rolling latest docs identify 2.9.0; check the installed release before adopting new APIs. PyG 2.8 requires PyTorch 2.9+; its original release table covers 2.9–2.12. Our 2.14.1 core tests do not establish every extension/backend combination.
# Install the PyTorch build for your platform from https://pytorch.org/get-started/locally/
uv pip install torch==2.14.1
uv pip install torch-geometric==2.8.0.post1
python -c "import torch, torch_geometric; print(torch.__version__, torch.version.cuda, torch_geometric.__version__)"
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Data Science & Analytics, Python
- First seen
- Jun 3, 2026
Questions
What does the torch-geometric skill help an agent do?
The torch-geometric skill guides an agent through PyTorch Geometric graph neural networks, covering node, link and graph classification. It also explains message passing with GCN, GAT, GraphSAGE and GIN layers, heterogeneous graphs, neighbor sampling and custom datasets.
How do I install the torch-geometric skill?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill torch-geometric -y in a project. Once installed, torch-geometric lets the agent build graph models on PyTorch Geometric with the correct edge_index format and dataset handling.
What does torch-geometric need before it runs?
torch-geometric needs Python 3.10 or newer, PyTorch 2.9 or newer, and torch-geometric 2.8.0.post1. Optional pyg-lib, torch-scatter and torch-sparse wheels must match your Python, OS, PyTorch and CUDA or CPU build, and network access is needed only for installation and dataset downloads.
Which graph tasks does torch-geometric not cover?
The torch-geometric skill does not cover general NetworkX analytics or non-graph PyTorch models. Its own description says to use it only for graph neural network work built on torch_geometric.
More from k-dense-ai/scientific-agent-skills
All 132- Timesfm Forecasting2.2K
- Geopandas2.2K
- Stable Baselines32.2K
- Geomaster2.2K
- Consciousness Council2.2K
- Simpy2.2K
- Pymoo2.2K
- Scikit Bio2.2K
- What If Oracle2.2K
- Hypogenic2.2K
- Bioservices2.2K
- Anndata2.2K
- Clinical Reports2.2K
- Rdkit2.2K
- Clinical Decision Support2.2K
- Gget2.2K
- Modal2.2K
- Astropy2.2K
- Scanpy2.2K
- Cellxgene Census2.2K
- Pydicom2.2K
- Datamol2.2K
- Deeptools2.2K
- Pufferlib2.2K
Similar to Torch Geometric
More Data Science & Analyticspytorch-lightningSkillk-dense-ai/scientific-agent-skills2.3K installsDeep learning framework that organizes PyTorch code into LightningModules and scales training across devices.
torchdrugSkillk-dense-ai/scientific-agent-skills2.2K installsGraph-learning stack for TorchDrug 0.2.1 covering molecular, protein, and knowledge graph workflows, with version checks.
pytorchSkillmindrally/skills884 installsDeep learning guidance for PyTorch models covering transformers, diffusion pipelines, and GPU training optimization.
deep-learning-pytorchSkillmindrally/skills1.9K installsStructured guidance for PyTorch deep learning work across models, transformers, diffusion pipelines, and Gradio demos.
distributed-trainingPluginOrchestra-Research/AI-Research-SKILLs14.8K starsMulti-GPU and multi-node training including DeepSpeed, PyTorch FSDP, Accelerate, Megatron-Core, PyTorch Lightning, and Ray Train. Use when training large models
pytorch-patternsSkillaffaan-m/ecc12.3K installsPyTorch training, architecture, and data loading patterns covering device handling, reproducibility, and efficient pipelines.