Skip to content
Back to skills

Models Layers And Operators

ASecurity

"Routes CogDL model registry, layer, custom GNN, and sparse

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopsc++nodebackend

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill models-layers-and-operators --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Models Layers And Operators?

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

Security grade badge for Models Layers And Operators
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-models-layers-and-operators/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-models-layers-and-operators)

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: models-layers-and-operators
description: "Routes CogDL model registry, layer, custom GNN, and sparse
  operator workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# CogDL Models, Layers, and Operators

Use this sub-skill when the user wants to pick a CogDL model name, inspect
model or layer signatures, build a custom GNN, or understand sparse/message
operator behavior.

Typical triggers:
- "Which CogDL model should I use for node classification?"
- "How do I write a custom GCN using CogDL layers?"
- "Why does an operator import or CUDA extension fail?"
- "What are the supported model names?"

Read `references/model-registry-and-layers.md` for verified model families,
layer signatures, and the registry map.
Read `references/custom-gnn.md` for the toy-graph custom GNN pattern and the
`Graph` + `BaseModel` + `GCNLayer` recipe.
Read `references/operator-compatibility.md` when sparse operators, optional
CUDA/C++ kernels, or third-party graph-library examples are involved.
Read `references/troubleshooting.md` for unknown model names, argument
registration problems, layer shape issues, and backend/build failures.

Run `scripts/inspect_model_registry.py` to print or filter the supported
model registry without touching datasets.
Run `scripts/custom_gnn_smoke.py` to build a toy `Graph` and exercise a
`GCNLayer` or `GATLayer` forward pass on CPU.

Route these elsewhere:
- `../graph-data-and-datasets/SKILL.md` for dataset schemas, masks, and
  custom fixtures.
- `../experiments-and-cli/SKILL.md` for `experiment(...)`, CLI flags, and
  AutoML orchestration.
- `../training-wrappers-and-customization/SKILL.md` for wrapper matching,
  `Trainer`, checkpoints, and logging.
- `../pipelines-and-applications/SKILL.md` for `pipeline()` apps such as
  embedding generation or OAG-BERT.

## What this sub-skill covers

- `SUPPORTED_MODELS` inspection and model-family selection.
- `build_model(args)` and `try_adding_model_args(model, parser)` behavior.
- `BaseModel` patterns for custom graph models.
- `GCNLayer`, `GATLayer`, and the `BaseLayer.forward(graph, x)` convention.
- Sparse/message operators in `cogdl.operators` and their CPU/GPU caveats.
- Optional dependency surfaces such as PyG, Jittor, DGL, or compiled
  operators when they affect model/layer use.

## Decision rules

- Choose a model family before thinking about wrappers or training config.
- If the user only needs a model list, use the registry script first and keep
  the response lightweight.
- If the user wants to add a new GNN, keep the focus on `Graph`, layers, and
  a `BaseModel` forward pass; leave data selection to the dataset sub-skill.
- Treat CUDA acceleration as optional unless the user explicitly asks for a
  GPU/operator workflow.

Files in this skill

  • SKILL.md2.7 KB
  • references/custom-gnn.md2.4 KB
  • references/model-registry-and-layers.md3.1 KB
  • references/operator-compatibility.md1.9 KB
  • references/troubleshooting.md2.2 KB
  • scripts/custom_gnn_smoke.py1.7 KB
  • scripts/inspect_model_registry.py1.3 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.