Skip to content
Back to skills

Message Passing Training

ASecurity

"Use DGL message passing, PyTorch GNN layers, full-graph training

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythongonodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill message-passing-training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Message Passing Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Message Passing Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-message-passing-training/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-message-passing-training)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: message-passing-training
description: "Use DGL message passing, PyTorch GNN layers, full-graph training
  loops, heterograph modules, readout, and DGL sparse APIs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Message Passing Training

Use this sub-skill when a task asks you to implement or debug DGL message passing, full-graph GNN training, built-in DGL PyTorch layers, heterograph relation modules, readout/pooling, or `dgl.sparse` operations.

## Start Here

- For API and layer selection, read [references/api-reference.md](references/api-reference.md).
- For full-graph node, edge/link, graph, heterograph, and sparse workflows, read [references/workflows.md](references/workflows.md).
- For DGL-specific failure modes, read [references/troubleshooting.md](references/troubleshooting.md).
- To verify a local DGL/PyTorch install before editing a model, run `python scripts/training_smoke.py` from this sub-skill directory.
- To verify optional `dgl.sparse` availability, run `python scripts/sparse_api_smoke.py` from this sub-skill directory.

## Route Elsewhere

- CSV/custom dataset layout, feature fields, train/validation/test masks, and graph save/load setup belong in `../datasets-and-io/`.
- Stochastic neighbor sampling, `dgl.dataloading.DataLoader`, `NeighborSampler`, GraphBolt datapipes, and minibatch block training belong in `../dataloading-graphbolt/`.
- Generated training projects, YAML config generation, and DGL-Go commands belong in `../dglgo-cli/`.
- Distributed launches, DDP trainer setup, partitioning, and multi-process execution belong in `../distributed-tools/`.

## Safety Defaults

- Prefer CPU-safe synthetic graphs for smoke checks and examples; do not download datasets unless the user explicitly asks.
- Keep model code framework-specific: this sub-skill covers PyTorch DGL APIs.
- Prefer DGL built-ins (`dgl.function`, `dgl.nn.pytorch`, `dgl.sparse`) over reimplementing kernels unless a custom UDF or layer is required.

Files in this skill

  • SKILL.md2 KB
  • references/api-reference.md7.5 KB
  • references/troubleshooting.md7.4 KB
  • references/workflows.md10.4 KB
  • scripts/sparse_api_smoke.py4 KB
  • scripts/training_smoke.py5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.