Skip to content
Back to skills

Ogb

ASecurity

Routes OGB graph dataset, evaluator, conversion, and export workflows.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolspythonphpbashnodeapibackend

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill ogb --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ogb?

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

Security grade badge for Ogb
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-ogb/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-ogb)

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: ogb
description: "Routes OGB graph dataset, evaluator, conversion, and export workflows."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# OGB

Use this skill for the Open Graph Benchmark package when the task is about
loading OGB datasets, choosing an evaluator, converting molecules or code into
OGB graphs, or packaging a new OGB-style dataset.

## Read this skill when

- The request names `ogb`, `ogbg-*`, `ogbn-*`, `ogbl-*`, `PCQM4M`,
  `MAG240M`, `WikiKG90M`, or `DatasetSaver`.
- The task asks for `GraphPropPredDataset`, `NodePropPredDataset`,
  `LinkPropPredDataset`, `PCQM4MDataset`, `PCQM4Mv2Dataset`,
  `MAG240MDataset`, `WikiKG90MDataset`, or the matching evaluator.
- The task mentions `smiles2graph`, `py2graph`, `meta_dict.pt`, `mapping/`,
  `split_dict.pt`, `test-dev`, `test-challenge`, or OGB submission files.
- The task asks for PyG or DGL dataset wrappers and the corresponding backend
  packages are installed.

## Install

```bash
python -m pip install -e .
```

If you need the molecular helper, install `rdkit` as well. If you need the PyG
or DGL wrapper classes, install the matching optional backend package too.

## Start here

1. Read [`references/api-overview.md`](references/api-overview.md) for the
   public class map and the common loader/evaluator shapes.
2. Read [`references/installation.md`](references/installation.md) for the
   package install command and the optional backend notes.
3. Read [`references/dataset-catalog.md`](references/dataset-catalog.md) when
   you need the exact dataset names or metrics.
4. Read [`references/troubleshooting.md`](references/troubleshooting.md) when
   imports fail, downloads are interrupted, or shapes do not match.

## Route by task family

- Use [`sub-skills/graph-property-prediction/SKILL.md`](sub-skills/graph-property-prediction/SKILL.md)
  for `ogbg-*`, molecular graph workflows, `smiles2graph`, and `ogbg-code2`.
- Use [`sub-skills/node-property-prediction/SKILL.md`](sub-skills/node-property-prediction/SKILL.md)
  for `ogbn-*` datasets and node-level evaluators.
- Use [`sub-skills/link-property-prediction/SKILL.md`](sub-skills/link-property-prediction/SKILL.md)
  for `ogbl-*` datasets, ranking metrics, and knowledge-graph completion.
- Use [`sub-skills/lsc-benchmarks/SKILL.md`](sub-skills/lsc-benchmarks/SKILL.md)
  for PCQM4M, MAG240M, WikiKG90M, submission files, and large-scale
  benchmark notes.
- Use [`sub-skills/dataset-contribution/SKILL.md`](sub-skills/dataset-contribution/SKILL.md)
  for `DatasetSaver` and OGB-compatible dataset packaging.

## Quick install check

After installing the package, run the bundled smoke helper:

```bash
python scripts/check-install.py
```

If you need the molecule helper, also run:

```bash
python scripts/smiles2graph-smoke.py
```

## What this skill does not do

- It does not tell you to run the original repository's heavy training examples
  as the runtime skill.
- It does not depend on the source checkout remaining available once the skill
  is generated.
- It does not treat the vendored WikiKG90M external framework tree as bundled
  runtime content.

## Useful bundled helpers

- [`scripts/check-install.py`](scripts/check-install.py): verifies the installed
  package, optional backend presence, and core imports.
- [`scripts/list-datasets.py`](scripts/list-datasets.py): prints the dataset
  catalog from the installed package metadata.
- [`scripts/smiles2graph-smoke.py`](scripts/smiles2graph-smoke.py): runs a tiny
  molecule-to-graph smoke check.

## Provenance and routing

Read [`references/repo-provenance.md`](references/repo-provenance.md) to see
which repo state this skill was distilled from, and
[`references/repo-routing-metadata.json`](references/repo-routing-metadata.json)
for the router scenario metadata used during import.

Files in this skill

  • SKILL.md3.8 KB
  • references/api-overview.md3.7 KB
  • references/dataset-catalog.md3 KB
  • references/installation.md1.6 KB
  • references/repo-provenance.md1020 B
  • references/repo-routing-metadata.json324 B
  • references/troubleshooting.md3.5 KB
  • scripts/check-install.py1.9 KB
  • scripts/list-datasets.py1.3 KB
  • scripts/smiles2graph-smoke.py467 B
  • sub-skills/dataset-contribution/SKILL.md2.4 KB
  • sub-skills/dataset-contribution/references/api-reference.md731 B
  • sub-skills/dataset-contribution/references/data-formats.md1.2 KB
  • sub-skills/dataset-contribution/references/troubleshooting.md1.1 KB
  • sub-skills/dataset-contribution/references/workflows.md981 B
  • sub-skills/dataset-contribution/scripts/datasetsaver-tiny-smoke.py2.4 KB
  • sub-skills/graph-property-prediction/SKILL.md3 KB
  • sub-skills/graph-property-prediction/references/api-reference.md1.3 KB
  • sub-skills/graph-property-prediction/references/troubleshooting.md1.2 KB
  • sub-skills/graph-property-prediction/references/workflows.md1.7 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.