Skip to content
Back to skills

Training Wrappers And Customization

ASecurity

"Routes CogDL Trainer, wrapper matching, configuration, and

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

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training-wrappers-and-customization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training Wrappers And Customization?

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

Security grade badge for Training Wrappers And Customization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-wrappers-and-customization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-wrappers-and-customization)

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: training-wrappers-and-customization
description: "Routes CogDL Trainer, wrapper matching, configuration, and
  checkpoint/logging workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# CogDL Training Wrappers and Customization

Use this sub-skill when the task is about CogDL's unified trainer, model/data
wrappers, default wrapper matching, best-config handling, or checkpoint/logging
behavior.

Typical triggers:
- "Why does CogDL ask for mw and dw?"
- "How do I resume a CogDL checkpoint?"
- "What wrapper does this model use by default?"
- "How does `use_best_config` change the run?"

Read `references/trainer-and-wrappers.md` for the verified `Trainer`
signature, wrapper families, and the default mapping table.
Read `references/configuration-and-best-configs.md` for `BEST_CONFIGS`, the
dataset-specific overrides, and the role of `use_best_config`.
Read `references/troubleshooting.md` when wrapper mismatches, checkpoint
writes, logger selection, or distributed/device issues appear.

Run `scripts/inspect_wrapper_match.py` to print the wrapper pair for one or
more models without launching a run.
Run `scripts/trainer_config_template.py` when you want a reusable config
skeleton for `experiment(...)` and `Trainer(...)` arguments.

Route these elsewhere:
- `../experiments-and-cli/SKILL.md` for `experiment(...)`, CLI flags, and
  AutoML orchestration.
- `../graph-data-and-datasets/SKILL.md` for graph schemas, masks, and custom
  fixture creation.
- `../models-layers-and-operators/SKILL.md` for model and layer code.
- `../pipelines-and-applications/SKILL.md` for `pipeline()` apps.

## What this sub-skill covers

- `Trainer` construction and the major training-mode flags.
- `fetch_model_wrapper`, `fetch_data_wrapper`, `get_wrappers_name`, and the
  default wrapper configuration map.
- Wrapper families such as node classification, graph classification,
  network embedding, heterogeneous tasks, triple link prediction, traffic,
  and pretraining.
- `set_best_config(args)` and the `BEST_CONFIGS` dataset/model overrides.
- Checkpoint, embedding, logging, device, CPU/inference, and distributed
  settings that affect the training loop.

## Decision rules

- Pick the wrapper pair before tuning the model itself.
- If the user only needs to know the right wrapper names, use the inspection
  script instead of explaining the whole trainer.
- If a model is supported but does not have a special wrapper, fall back to
  the default wrapper table or route back to the experiment/CLI sub-skill for
  the exact command.
- Treat checkpoint/resume paths as file-write surfaces and make the location
  explicit.

Files in this skill

  • SKILL.md2.6 KB
  • references/configuration-and-best-configs.md2.2 KB
  • references/trainer-and-wrappers.md3.5 KB
  • references/troubleshooting.md2.5 KB
  • scripts/inspect_wrapper_match.py1.3 KB
  • scripts/trainer_config_template.py2.9 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.