Skip to content
Agentmart
Submit a tool

dgl

Route DGL graph learning tasks across graph APIs, datasets, message passing, GraphBolt, distributed tools, and DGL-Go workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-dgl

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Route DGL graph learning tasks across graph APIs, datasets, message passing, GraphBolt, distributed tools, and DGL-Go workflows.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dgl

What's inside

Skill name
dgl
Description
Route DGL graph learning tasks across graph APIs, datasets, message passing, GraphBolt, distributed tools, and DGL-Go workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
51 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (42)

  • SKILL.md
  • install-and-build.md · references/
  • repo-development.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_dgl_environment.py · scripts/
  • SKILL.md · sub-skills/dataloading-graphbolt/
  • api-reference.md · sub-skills/dataloading-graphbolt/references/
  • data-formats.md · sub-skills/dataloading-graphbolt/references/
  • troubleshooting.md · sub-skills/dataloading-graphbolt/references/
  • workflows.md · sub-skills/dataloading-graphbolt/references/
  • graphbolt_pipeline_sanity.py · sub-skills/dataloading-graphbolt/scripts/
  • SKILL.md · sub-skills/datasets-and-io/
  • data-formats.md · sub-skills/datasets-and-io/references/
  • troubleshooting.md · sub-skills/datasets-and-io/references/
  • workflows.md · sub-skills/datasets-and-io/references/
  • csv_dataset_linter.py · sub-skills/datasets-and-io/scripts/
  • SKILL.md · sub-skills/dglgo-cli/
  • cli-reference.md · sub-skills/dglgo-cli/references/
  • configuration.md · sub-skills/dglgo-cli/references/
  • troubleshooting.md · sub-skills/dglgo-cli/references/
  • workflows.md · sub-skills/dglgo-cli/references/
  • dglgo_config_linter.py · sub-skills/dglgo-cli/scripts/
  • SKILL.md · sub-skills/distributed-tools/
  • api-reference.md · sub-skills/distributed-tools/references/
  • data-formats.md · sub-skills/distributed-tools/references/
  • troubleshooting.md · sub-skills/distributed-tools/references/
  • workflows.md · sub-skills/distributed-tools/references/
  • check_partition_config.py · sub-skills/distributed-tools/scripts/
  • dgl_distributed_command_builder.py · sub-skills/distributed-tools/scripts/
  • SKILL.md · sub-skills/graph-apis/
  • api-reference.md · sub-skills/graph-apis/references/
  • troubleshooting.md · sub-skills/graph-apis/references/
  • workflows.md · sub-skills/graph-apis/references/
  • graph_smoke.py · sub-skills/graph-apis/scripts/
  • SKILL.md · sub-skills/message-passing-training/
  • api-reference.md · sub-skills/message-passing-training/references/
  • troubleshooting.md · sub-skills/message-passing-training/references/
  • workflows.md · sub-skills/message-passing-training/references/
  • sparse_api_smoke.py · sub-skills/message-passing-training/scripts/
  • training_smoke.py · sub-skills/message-passing-training/scripts/

SKILL.md (first lines)

# DGL Repo Skill

Use this repo skill when a task names DGL, Deep Graph Library, DGLGraph, GraphBolt, DGL-Go, DGL sparse, DGL distributed training, or graph neural network workflows implemented with DGL.

## Quick Start

Install a public DGL package that matches the target backend and Python version, then verify imports before using deeper workflows:

```bash
python -m pip install dgl
python - <<'PY'
import dgl
print(dgl.__version__)
print(dgl.graph(([0, 1], [1, 2]), num_nodes=3))
PY
```

For PyTorch workflows that use GraphBolt, keep the installed `torch` version compatible with the DGL wheel's bundled GraphBolt library. If `import dgl` reports a missing `libgraphbolt_pytorch_<version>` file, read [references/troubleshooting.md](references/troubleshooting.md).

## Route By Task

- Use [graph-apis](sub-skills/graph-apis/SKILL.md) for `dgl.graph`, `dgl.heterograph`, canonical etypes, features, transforms, batching, subgraphs, `to_block`, and graph-level smoke checks.
- Use [datasets-and-io](sub-skills/datasets-and-io/SKILL.md) for `DGLDataset`, `CSVDataset`, `meta.yaml`, graph save/load, dataset caches, download/cache environment variables, and CSV/OnDiskDataset handoffs.
- Use [message-passing-training](sub-skills/message-passing-training/SKILL.md) for `update_all`, `dgl.function`, PyTorch GNN layers, full-graph training loops, heterograph modules, readout, and `dgl.sparse`.
- Use [dataloading-graphbolt](sub-skills/dataloading-graphbolt/SKILL.md) for stochastic minibatch sampling, `dgl.dataloading.DataLoader`, `NeighborSampler`, GraphBolt `ItemSet`/`ItemSampler`, feature fetching, OnDiskDataset, GPU sampling, and UVA decisions.
- Use [distributed-tools](sub-skills/distributed-tools/SKILL.md) for partition configs, `DistGraph`, `DistDataLoader`, `node_split`, `edge_split`, `ip_config.txt`, dry launch-command construction, and safe distributed preflight.
- Use [dglgo-cli](sub-skills/dglgo-cli/SKILL.md) for DGL-Go `configure`, `recipe`, `train`, `export`, `configure-apply`, `apply`, YAML config linting, and recipe/custom CSV workflows.

## Shared References And Scripts

- Read [references/install-and-build.md](references/install-and-build.md) before source builds, backend selection, DGL-Go installs, or native library troubleshooting.
- Read [references/troubleshooting.md](references/troubleshooting.md) for cross-cutting import, backend, GraphBolt, sparse, dataset cache, and build failures.
- Read [references/repo-development.md](references/repo-development.md) when editing the DGL repository itself or selecting focused native tests.
- Read [references/repo-provenance.md](references/repo-provenance.md) before deciding whether this skill is stale for a checkout.
- Run `python scripts/check_dgl_environment.py` for a safe import/backend/native-library diagnostic.

## Routing Rules

- If the user asks for a DGL data folder or `meta.yaml`, route to `datasets-and-io` before any model or dataloader work.
- If the user asks for blocks, sampled minibatches, GraphBolt, or UVA, route to `dataloading-graphbolt`; then route model `forward()` details to `message-passing-training`.
- If the user asks for a cluster, partition JSON, `ip_config.txt`, or `DistGraph`, route to `distributed-tools` and do not run SSH/cluster launchers without explicit approval.
- If the user asks for a ready-to-run CLI experiment or YAML recipe, route to `dglgo-cli`; use `datasets-and-io` for custom CSV data validation and `message-passing-training` for exported script edits.
- If the request is only about constructing or debugging graph objects, stay in `graph-apis` and avoid training or dataset assumptions.

## Safety Defaults

- Prefer CPU-safe synthetic smoke checks unless the user explicitly requests CUDA, distributed execution, downloads, or long training.
- Treat source builds and distributed launches as environment-mutating or side-effectful; summarize prerequisites and ask before broad builds, SSH, multi-host processes, or data dispatch.
- Do not rely on original DGL checkout docs, examples, tests, or tools at runtime. Use this skill's bundled references and scripts.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

dgl skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-dgl (last updated 2026-10-24)