Skip to content
Back to skills

Cogdl

ASecurity

"Routes CogDL graph-learning workflows for experiments, graph data,

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

Works with

  • cli
  • 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 cogdl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cogdl?

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

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

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: cogdl
description: "Routes CogDL graph-learning workflows for experiments, graph data,
  models, training wrappers, and pipeline apps."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# CogDL

CogDL is a graph deep learning toolkit for node classification, graph classification,
link prediction, graph embedding, heterogeneous graphs, traffic prediction,
and application-style pipelines such as dataset inspection and OAG-BERT.

Use this root router when a user asks about CogDL itself, names one of its public
APIs, or needs help choosing which part of the package to open first.

## Quick start

1. Install PyTorch first with a CPU or CUDA wheel that matches the host.
2. Install CogDL in editable mode for local inspection:

```bash
pip install -e .
```

3. For a published wheel instead of a checkout install, use:

```bash
pip install cogdl
```

4. If the task needs optional package families, add them explicitly:
   - `ogb` for OGB datasets and benchmarks
   - `transformers` and `sentencepiece` for OAG-BERT
   - the repo already declares `optuna`, `gensim`, `grave`, `tabulate`, `numba`,
     and `ninja` as runtime dependencies

## Minimal import check

```bash
python -c "import cogdl; from cogdl import experiment, pipeline; print(cogdl.__version__)"
python scripts/check_cogdl_environment.py --show-registries
```

Use `python -m pip check` after install to catch incompatible dependencies.

## Route map

- `sub-skills/experiments-and-cli/`: `experiment()`, `get_default_args`, CLI flags,
  `scripts/train.py`, variants, checkpoint/log/embedding flags, and AutoML.
- `sub-skills/graph-data-and-datasets/`: `Graph`, `Adjacency`, `Dataset`,
  `NodeDataset`, `GraphDataset`, `DataLoader`, masks, schemas, and tiny fixtures.
- `sub-skills/models-layers-and-operators/`: model registry, layers, custom GNNs,
  and sparse/message operators.
- `sub-skills/training-wrappers-and-customization/`: `Trainer`, wrappers,
  default wrapper matching, configs, checkpoint/resume, and logging.
- `sub-skills/pipelines-and-applications/`: `pipeline()` apps, embedding
  generation, recommendation, and OAG-BERT.

## Shared references

Read these before refreshing the skill or checking whether a checkout is current:

- `references/package-overview.md`
- `references/troubleshooting.md`
- `references/repo-provenance.md`

## Shared smoke script

Run `scripts/check_cogdl_environment.py` when you want a fast, no-download check
of the installed package, registry counts, and optional CUDA/Graph smoke probes.

## Scope notes

- Built-in datasets may download or populate caches on first use.
- OAG-BERT weights and archives are optional, cache- or network-dependent
  resources.
- CUDA acceleration is optional in this skill tree; CPU-safe workflows are the
  baseline unless a sub-skill explicitly says otherwise.
- For maintainer-only repository edits, CI, or release tasks, use a different
  workflow; this runtime skill is for research-side usage.

Files in this skill

  • SKILL.md2.9 KB
  • references/package-overview.md3.2 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json478 B
  • references/troubleshooting.md3.8 KB
  • scripts/check_cogdl_environment.py3 KB
  • sub-skills/experiments-and-cli/SKILL.md2.9 KB
  • sub-skills/experiments-and-cli/references/api-and-cli.md4.2 KB
  • sub-skills/experiments-and-cli/references/troubleshooting.md3.7 KB
  • sub-skills/experiments-and-cli/references/workflows.md3.7 KB
  • sub-skills/experiments-and-cli/scripts/cogdl_cli_smoke.py1.6 KB
  • sub-skills/experiments-and-cli/scripts/run_tiny_experiment.py4 KB
  • sub-skills/graph-data-and-datasets/SKILL.md2.7 KB
  • sub-skills/graph-data-and-datasets/references/built-in-datasets.md7.2 KB
  • sub-skills/graph-data-and-datasets/references/data-formats.md6.8 KB
  • sub-skills/graph-data-and-datasets/references/graph-and-dataset-api.md9.6 KB
  • sub-skills/graph-data-and-datasets/references/troubleshooting.md6.1 KB
  • sub-skills/graph-data-and-datasets/scripts/create_tiny_graph_dataset.py10.4 KB
  • sub-skills/graph-data-and-datasets/scripts/validate_graph_masks.py13.3 KB
  • sub-skills/models-layers-and-operators/SKILL.md2.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.