Skip to content
Back to skills

Graph Augmentation

ASecurity

"Use DIG's graph augmentation stack for GraphAug, S-Mixup,

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

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Graph Augmentation?

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

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

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: graph-augmentation
description: "Use DIG's graph augmentation stack for GraphAug, S-Mixup,
  augmentation configs, degree transforms, subset/triplet datasets, and
  augmentation-driven graph classification workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# Graph Augmentation

Use this sub-skill for DIG workflows that learn or apply graph augmentations.

## Include

- `dig.auggraph.dataset`: `DegreeTrans`, `AUG_trans`, `Subset`, `TripleSet`.
- `dig.auggraph.method.GraphAug`: `RunnerAugCls`, `RunnerGenerator`, `RunnerRewardGen`.
- `dig.auggraph.method.SMixup`: `smixup`.
- GraphAug configuration enums and constants for dataset names, augmentation types, and model types.

## Exclude

- Fairness workflows that rely on Graphair: use `../fair-graph-learning/SKILL.md`.
- Molecular, 3D, SSL, explainability, GOOD, or large-scale loader workflows.

## Start Here

- Read `references/api-reference.md` for the public classes and config constants.
- Read `references/workflows.md` for the three GraphAug runner flows and S-Mixup.
- Read `references/troubleshooting.md` when CUDA, TU datasets, or label layouts are problematic.
- Run `scripts/augmentation_config_smoke.py` for a safe import-and-transform smoke check.

## Core Workflows

- **Reward generator training**: train a label-discriminating reward model on TU datasets.
- **Augmentation generator training**: use a trained reward model to update the augmentation generator.
- **Augmented classifier training**: combine the generator with a classifier to evaluate the augmentation policy.
- **S-Mixup**: compute soft alignments and mix graph pairs for graph classification.

Files in this skill

  • SKILL.md1.7 KB
  • references/api-reference.md716 B
  • references/troubleshooting.md671 B
  • references/workflows.md854 B
  • scripts/augmentation_config_smoke.py1.6 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.