Skip to content
Back to skills

Dgl Lifesci

ASecurity

"Use DGL-LifeSci and dgllife for molecular graph learning, molecule

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

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 dgl-lifesci --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dgl Lifesci?

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

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

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: dgl-lifesci
description: "Use DGL-LifeSci and dgllife for molecular graph learning, molecule
  featurization, datasets, property prediction, reaction prediction, binding
  affinity, model-zoo/pretrained models, and molecular generation workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# DGL-LifeSci

Use this repo skill when a task involves DGL-LifeSci, the `dgllife` Python package, or DGL-based graph neural networks for chemistry and biology.

DGL-LifeSci builds on PyTorch, DGL, RDKit, NumPy/SciPy/Pandas, and scikit-learn. It covers molecule graph construction, featurization, datasets, property prediction, reaction prediction, protein-ligand binding affinity, pretrained/model-zoo architectures, molecule embeddings, link prediction, and molecular generative models.

## Quick Start

Install the public package for normal use:

```bash
pip install dgllife
```

For source checkouts, install from the package directory:

```bash
cd python
python setup.py install
```

Verify imports before deeper work:

```bash
python - <<'PY'
import dgllife
print(dgllife.__version__)
PY
```

For a broader local diagnostic, run:

```bash
python scripts/check_dgllife_environment.py
```

Read `references/repo-provenance.md` before deciding whether this skill matches a current checkout. Read `references/troubleshooting.md` for package-wide import, dependency, data, download, and runtime issues.

## Route By Task

- `sub-skills/molecule-data-prep/SKILL.md`: use for SMILES/CSV/text inputs, RDKit molecule loading, DGL graph construction, atom/bond featurizers, built-in datasets, splits, metric helpers, and tiny fixture validation.
- `sub-skills/property-prediction/SKILL.md`: use for custom CSV supervised prediction, MoleculeNet, Alchemy, PubChem aromaticity, OGB graph property workflows, multitask labels/masks, metrics, and safe config generation.
- `sub-skills/model-zoo-pretraining/SKILL.md`: use for `dgllife.model` constructors, GNN/readout/model-zoo selection, pretrained model names, molecule embeddings, link prediction heads, and constructor signature inspection.
- `sub-skills/reaction-prediction/SKILL.md`: use for WLN reaction center prediction, candidate product ranking, USPTO datasets, atom-mapped reaction SMILES, candidate bond files, and rexgen-direct-style planning.
- `sub-skills/binding-affinity/SKILL.md`: use for PDBBind, local protein-ligand complexes, ACNN, PotentialNet, complex graph construction, ligand/protein file checks, and binding-affinity workflow troubleshooting.
- `sub-skills/generative-models/SKILL.md`: use for DGMG, JTVAE/JTNNVAE, molecular generation/reconstruction, SMILES/vocabulary validation, checkpoints, and generation-specific troubleshooting.

## Common Workflow

1. Classify the task by route above; start in `molecule-data-prep` if raw molecules, labels, or graphs are not yet validated.
2. Check package imports and optional dependencies with `scripts/check_dgllife_environment.py` or the nearest sub-skill helper.
3. Use bundled references for signatures, configs, data formats, and failure modes rather than relying on source checkout examples.
4. Run only tiny offline validations by default. Treat full training, dataset downloads, pretrained checkpoint downloads, PDBBind/USPTO/OGB downloads, benchmarks, and generative training as networked or long-running work that needs explicit user approval.
5. When a task crosses areas, validate inputs first, inspect constructors second, then plan workflow-specific training/evaluation in the owning sub-skill.

## Important Boundaries

- Do not route generic DGL graph operations here unless the task specifically involves DGL-LifeSci/dgllife or chemistry/biology graph workflows.
- Do not run original repository examples or tests as runtime instructions; use the distilled references and bundled helper scripts in this skill.
- Do not assume RDKit is optional for chemistry workflows. Many `dgllife.utils` and dataset paths require RDKit even when top-level import only prints a warning.
- Do not promise GPU execution. Most guidance supports CPU smoke checks; large training can use GPU but should be planned separately.
- Do not overpromise root exports. Verify constructor availability with `model-zoo-pretraining/scripts/inspect_model_constructors.py` when targeting a specific installed `dgllife` version.

## Bundled Repo-Level Resources

- `references/repo-provenance.md`: source snapshot, package version, evidence paths, and refresh checks.
- `references/repo-routing-metadata.json`: structured scenario placement for managed `repo-skills-router` import.
- `references/troubleshooting.md`: cross-cutting DGL-LifeSci install/import/runtime guidance shared by all sub-skills.
- `scripts/check_dgllife_environment.py`: safe import/signature smoke checker for package-wide prerequisites.

Files in this skill

  • SKILL.md4.7 KB
  • references/repo-provenance.md2 KB
  • references/repo-routing-metadata.json503 B
  • references/troubleshooting.md3 KB
  • scripts/check_dgllife_environment.py3.3 KB
  • sub-skills/binding-affinity/SKILL.md3.6 KB
  • sub-skills/binding-affinity/references/data-formats.md6.3 KB
  • sub-skills/binding-affinity/references/troubleshooting.md8.1 KB
  • sub-skills/binding-affinity/references/workflows.md10 KB
  • sub-skills/binding-affinity/scripts/check_complex_inputs.py6.4 KB
  • sub-skills/generative-models/SKILL.md3.4 KB
  • sub-skills/generative-models/references/data-formats.md6.4 KB
  • sub-skills/generative-models/references/troubleshooting.md9.4 KB
  • sub-skills/generative-models/references/workflows.md8.7 KB
  • sub-skills/generative-models/scripts/validate_generative_inputs.py10.1 KB
  • sub-skills/model-zoo-pretraining/SKILL.md3.5 KB
  • sub-skills/model-zoo-pretraining/references/constructor-recipes.md7.1 KB
  • sub-skills/model-zoo-pretraining/references/model-catalog.md12.7 KB
  • sub-skills/model-zoo-pretraining/references/troubleshooting.md9 KB
  • sub-skills/model-zoo-pretraining/scripts/inspect_model_constructors.py10 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.