Skip to content
Back to skills

Opengvlab Draggan

ASecurity

"Routes DragGAN users to the browser demo and Python API workflows

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

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill opengvlab-draggan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opengvlab Draggan?

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

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

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: opengvlab-draggan
description: "Routes DragGAN users to the browser demo and Python API workflows
  for point-based image editing, checkpoint loading, and CUDA troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NO_LICENSE
---

# DragGAN

Use this skill when a task mentions DragGAN, the Gradio demo, point dragging, pretrained checkpoint selection, or scripted latent/image generation.

## Quick start

1. Install a CUDA-enabled PyTorch/TorchVision pair that matches your platform.
2. Install this package: `python -m pip install "draggan==1.1.6"`.
3. If you already have a checkout open for editing, `python -m pip install -e .` is also fine.
4. Run `scripts/check_install.py --mode web` before launching the browser UI, or `scripts/check_install.py --mode api` before scripting against the package.

## Routes

- `sub-skills/web-demo/` for the browser UI, checkpoint switching, point dragging, and saved image/video outputs.
- `sub-skills/python-api/` for `draggan.draggan` and `draggan.utils` usage from your own code.

## Shared references

- `references/deployment.md` for install and launch patterns, including the bundled launcher and Docker notes.
- `references/checkpoints.md` for checkpoint names, cache location, and auto-download behavior.
- `references/troubleshooting.md` for cross-cutting import, backend, and checkpoint failures.
- `references/repo-provenance.md` when checking whether this skill still matches the current repository snapshot.
- `references/repo-routing-metadata.json` for the route metadata used by repo-skills-router.

## Important limits

- The verified drag loop is CUDA-only in this snapshot.
- The mask tab shown in the UI is not enforced by the current optimizer.
- Uploaded-image inversion is experimental and may fail; prefer the seeded-image workflow unless you are specifically debugging that path.
- If the task is only about environment problems, read the root troubleshooting reference before choosing a route.

## Route selection hints

Choose `web-demo` when the request talks about the browser demo, clicking handle and target points, choosing checkpoints, saving outputs, or exposing the app on a host/port.

Choose `python-api` when the request talks about `load_model`, `generate_W`, `generate_image`, `drag_gan`, latent editing, or writing a script around the package.

If the task is unclear, inspect `references/deployment.md` first, then route to the sub-skill that matches the user-facing workflow.

Files in this skill

  • SKILL.md2.4 KB
  • references/checkpoints.md2.4 KB
  • references/deployment.md1.8 KB
  • references/repo-provenance.md1.3 KB
  • references/repo-routing-metadata.json405 B
  • references/troubleshooting.md2.4 KB
  • scripts/check_install.py4.5 KB
  • scripts/launch_web_demo.py1.8 KB
  • sub-skills/python-api/SKILL.md2.1 KB
  • sub-skills/python-api/references/api-reference.md3 KB
  • sub-skills/python-api/references/troubleshooting.md1.2 KB
  • sub-skills/python-api/references/workflows.md1.8 KB
  • sub-skills/web-demo/SKILL.md2.2 KB
  • sub-skills/web-demo/references/troubleshooting.md1.5 KB
  • sub-skills/web-demo/references/workflows.md1.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.