Utilities

From VectorSpaceLab/AREX-Skill · View interactive version

Utilities is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Guides Autodistill image loading, visualization, model comparison, video splitting, and Roboflow utility boundaries.

How to use this skill

Skill file

Autodistill Utilities

Use this sub-skill when a task asks about image loading/conversion, plotting detections, comparing model predictions, splitting video frames, understanding split_data side effects, or Roboflow synchronization helper boundaries.

For main auto-labeling workflows and dataset layout, use dataset labeling. For CLI model selection, use CLI and model registry. For custom model interface design, use ontologies and model interfaces.

Quick Route

Common Pattern

from autodistill.helpers import load_image

cv2_image = load_image("image.jpg", return_format="cv2")
pil_image = load_image(cv2_image, return_format="PIL")
np_image = load_image(pil_image, return_format="numpy")

Use load_image when a plugin expects a specific image object format but your workflow has a path, PIL image, or NumPy/OpenCV array.

Headless Visualization Pattern

from autodistill.utils import plot

annotated = plot(image=image, detections=detections, classes=classes, raw=True)
# Save or inspect annotated instead of relying on an interactive display.

plot(..., raw=False) uses supervision.plot_image, which may not be suitable for headless runs.

Safety Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.