Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-torch-geometricgit clone --depth 1 https://github.com/AlterLab-IEU/AlterLab-Academic-SkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/alterlab-ieu/alterlab-academic-skills/alterlab-torch-geometric)<a href="https://agentmods.dev/skills/alterlab-ieu/alterlab-academic-skills/alterlab-torch-geometric"><img src="https://agentmods.dev/badge/skills/alterlab-ieu/alterlab-academic-skills/alterlab-torch-geometric/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/alterlab-ieu/alterlab-academic-skills/alterlab-torch-geometric"><img src="https://agentmods.dev/badge/skills/alterlab-ieu/alterlab-academic-skills/alterlab-torch-geometric.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.01211 |
| Opus 5 | $0.00037 | $0.00606 |
| Sonnet 5 | $0.00015 | $0.00242 |
| Haiku 4.5 | $0.00007 | $0.00121 |
Grade A, and why
alterlab-torch-geometric scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
uv pip install torch_geometric
Graphs are torch_geometric.data.Data objects: x (node features [N, F]), edge_index
(connectivity in COO [2, E]), optional edge_attr, y, pos, and any custom attribute
(train_mask, etc.). DataLoader batches multiple graphs into one block-diagonal graph
(no padding); a batch vector maps nodes back to their source graph.
Full install/sparse-deps, basic graph creation, benchmark loading, edge-index format, and
mini-batching details: references/getting_started.md.
Core Workflow
- Load or build data — benchmark datasets, custom
InMemoryDataset, or from CSV (references/datasets_and_loading.md; full catalog inreferences/datasets_reference.md). - Define a GNN — stack pre-built conv layers (GCNConv, GATConv, SAGEConv) or subclass
MessagePassingfor custom layers (references/building_gnns.md; full layer list inreferences/layers_reference.md). - Train — node classification (single graph, train/test masks), graph classification
(
DataLoader+ global pooling), or large-scale viaNeighborLoaderneighbor sampling (references/training_workflows.md). - Go advanced if needed —
HeteroData/to_heterofor heterogeneous graphs, transforms,GNNExplainerexplainability, hierarchical pooling, GPU, save/load (references/advanced_features.md; transforms catalog inreferences/transforms_reference.md).
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/evals.json 4.4 KB
- references/advanced_features.md 5.5 KB
- references/building_gnns.md 4.1 KB
- references/datasets_and_loading.md 2.7 KB
- references/datasets_reference.md 16 KB
- references/getting_started.md 2.8 KB
- references/layers_reference.md 17 KB
- references/training_workflows.md 3.3 KB
- references/transforms_reference.md 18 KB
- scripts/benchmark_model.py 9.8 KB runs code
- scripts/create_gnn_template.py 15 KB runs code
- scripts/visualize_graph.py 10 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 97 lines · 75 tokens per session scan A 00d94306e450
alterlab-torch-geometric is a skill published in the GitHub repository AlterLab-IEU/AlterLab-Academic-Skills (66 stars, last pushed 6d ago), licensed MIT. It adds 75 tokens to every session and 1,211 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
r-spss-syntax-architect
A guide for turning research hypotheses into repeatable R or SPSS code for statistical analysis. It covers panel data, where the same companies or other units are observed over time, as well as interaction effects, curves, and mediation.
multi-source-data-integrator
A method for combining independent data sources into one traceable, reproducible research dataset.
guidance
Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework.
outlines
Guarantee valid JSON/XML/code structure during generation, use Pydantic models for type-safe outputs, support local models (Transformers, vLLM), and maximize inference speed with Outlines - dottxt.ai's structured generation library.
ml-expert
Expert-level machine learning, deep learning, model training, and MLOps. Use when the user mentions machine learning, deep learning, neural networks, MLOps, or data science, or when the task involves Machine Learning Fundamentals, Data Preparation, or Model Training.
llm-engineering-expert
Build reliable applications on large language models: prompt design, structured output, evaluation, guardrails, and cost and latency control. Use when the user mentions LLMs, prompts, prompt engineering, few-shot examples, structured or JSON output, function calling, hallucination, model evaluation, token costs…