Skip to content
Back to skills

Model Extension

ASecurity

"Inspect and extend Graphormer fairseq models, tasks, criterions,

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

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 model-extension --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Extension?

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

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

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: model-extension
description: "Inspect and extend Graphormer fairseq models, tasks, criterions,
  and architectures."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Graphormer model-extension

Use this sub-skill when a future agent must inspect, register, or extend Graphormer fairseq user-dir components: models, model architectures, tasks, criterions, Graphormer encoder internals, Graphormer3D interfaces, or GraphMLP-style custom models.

## Route elsewhere

- Training command schedules, dataset-specific `fairseq-train` recipes, and GPU/runtime choices belong to the `fairseq-training` sub-skill.
- Dataset sources, split contracts, custom dataset modules, and collation/preprocessing details belong to the `datasets-and-customization` sub-skill.
- Pretrained checkpoint selection, fine-tuning output-layer choices, and evaluation loops belong to the `pretrained-and-evaluation` sub-skill.
- Distributional Graphormer (DiG) diffusion internals belong to the `distributional-graphormer` sub-skill.

## Runtime resources

1. Read [references/model-api-reference.md](references/model-api-reference.md) for verified registry names, API signatures, architecture defaults, import behavior, model outputs, and criterion/task compatibility notes.
2. Read [references/extension-recipes.md](references/extension-recipes.md) for self-contained recipes to add a model, architecture, task, or criterion in a Graphormer fairseq user-dir.
3. Read [references/troubleshooting.md](references/troubleshooting.md) when registries are missing, imports fail, shapes do not match criterions, or Graphormer3D tensors are rejected.
4. Run [scripts/summarize_graphormer_registries.py](scripts/summarize_graphormer_registries.py) to safely import a user-dir and summarize fairseq registry entries without training, downloading data, or loading checkpoints.

## Safe registry check

```bash
python scripts/summarize_graphormer_registries.py --user-dir <graphormer-package-dir> --format text
python scripts/summarize_graphormer_registries.py --user-dir <graphormer-package-dir> --format json --require-complete
```

`<graphormer-package-dir>` is the directory that contains Graphormer's `models/`, `tasks/`, and `criterions/` packages. The script only imports Python modules and reads fairseq registries.

Files in this skill

  • SKILL.md2.3 KB
  • references/extension-recipes.md10 KB
  • references/model-api-reference.md9.8 KB
  • references/troubleshooting.md6.6 KB
  • scripts/summarize_graphormer_registries.py10.5 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.