Skip to content
Back to skills

Integrations

ASecurity

"Build safe GroundingDINO web demos and handoffs to segmentation,

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

Works with

  • cli
  • api

Security analysis

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

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Integrations?

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

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

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: integrations
description: "Build safe GroundingDINO web demos and handoffs to segmentation,
  Grounded-SAM, Stable Diffusion, GLIGEN, or notebook-style integrations without
  running unsafe source demo side effects."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# GroundingDINO Integrations

Use this sub-skill when a task asks to embed GroundingDINO detections in a web app, Hugging Face checkpoint loading flow, Gradio demo, Grounded-SAM or segmentation handoff, image-editing pipeline, or external notebook ecosystem.

## Route First

- For single-image CLI/API inference, model loading, `predict`, `annotate`, token spans, and threshold tuning, use `../inference/`.
- For pseudo-labeling image folders or exporting COCO-style annotations, use `../dataset-annotation/`.
- For COCO AP or benchmark evaluation, use `../evaluation/`.
- For Gradio UI, Hugging Face checkpoint download UX, downstream RGB/BGR or box-format handoff, and notebook integration caveats, stay here.

## Integration Patterns

- Local web demo: use `scripts/grounding_dino_gradio_app.py` rather than source demos that mutate environments at import/run time.
- Hugging Face checkpoint loading: use `--hf-repo-id` and `--hf-filename` only when the user explicitly wants a download; otherwise pass an already-downloaded `--checkpoint`.
- Gradio inputs: accept uploaded images as PIL, convert to RGB, run GroundingDINO on transformed tensors, and return a PIL RGB annotated image.
- Segmentation/editing handoff: pass image data, detected phrases, confidence scores, and boxes with an explicit color-space and coordinate contract.
- External notebooks: treat Stable Diffusion, GLIGEN, SAM, and Grounded-SAM integrations as separate model stacks with their own environment, checkpoint, network, GPU, and license requirements.

## References

- [Web demo workflow](references/web-demo.md) for safe Gradio app structure, CLI options, validation checks, and launch examples.
- [Image-editing integrations](references/image-editing-integrations.md) for SAM/Grounded-SAM, Stable Diffusion, GLIGEN, RGB/BGR, and box-format handoffs.
- [Troubleshooting](references/troubleshooting.md) for dependency, network, device, latency, color-space, and unsafe source-demo issues.

## Bundled Script

```bash
python sub-skills/integrations/scripts/grounding_dino_gradio_app.py --help
```

The wrapper never runs `pip install`, `setup.py`, or source checkout scripts. It imports `gradio` and `huggingface_hub` only when needed after argument parsing, validates local config/checkpoint paths, and downloads weights only when both `--hf-repo-id` and `--hf-filename` are provided.

Files in this skill

  • SKILL.md2.6 KB
  • references/image-editing-integrations.md6.1 KB
  • references/troubleshooting.md5.3 KB
  • references/web-demo.md5.1 KB
  • scripts/grounding_dino_gradio_app.py7.4 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.