Skip to content
cccskills
FreePublished on GitHub

autodistill

Guides core Autodistill workflows for foundation-model auto-labeling, target-model distillation, CLI/plugin registry use, custom model interfaces, and utilities.

The English summary is being prepared. Showing the original description.

See how to install

Files included (29)

  • SKILL.md4.1 KB
  • references/package-overview.md3.4 KB
  • references/repo-provenance.md2.5 KB
  • references/repo-routing-metadata.json415 B
  • references/troubleshooting.md2.7 KB
  • scripts/check_autodistill_install.py2.6 KB
  • sub-skills/cli-and-model-registry/references/cli-reference.md4.1 KB
  • sub-skills/cli-and-model-registry/references/model-registry.md3.4 KB
  • sub-skills/cli-and-model-registry/references/troubleshooting.md2.6 KB
  • sub-skills/cli-and-model-registry/scripts/autodistill_cli_smoke.py2.8 KB
  • sub-skills/cli-and-model-registry/scripts/inspect_model_registry.py2.0 KB
  • sub-skills/cli-and-model-registry/SKILL.md3.6 KB
  • sub-skills/dataset-labeling/references/api-reference.md4.0 KB
  • sub-skills/dataset-labeling/references/data-formats.md3.1 KB
  • sub-skills/dataset-labeling/references/troubleshooting.md2.8 KB
  • sub-skills/dataset-labeling/references/workflows.md3.5 KB
  • sub-skills/dataset-labeling/scripts/create_tiny_detection_dataset.py4.4 KB
  • sub-skills/dataset-labeling/SKILL.md4.1 KB
  • sub-skills/ontologies-and-model-interfaces/references/api-reference.md4.2 KB
  • sub-skills/ontologies-and-model-interfaces/references/composed-and-embedding-workflows.md3.2 KB
  • sub-skills/ontologies-and-model-interfaces/references/custom-model-patterns.md3.5 KB
  • sub-skills/ontologies-and-model-interfaces/references/troubleshooting.md2.7 KB
  • sub-skills/ontologies-and-model-interfaces/scripts/check_interfaces.py3.4 KB
  • sub-skills/ontologies-and-model-interfaces/SKILL.md3.2 KB
  • sub-skills/utilities/references/image-loading-and-visualization.md2.2 KB
  • sub-skills/utilities/references/troubleshooting.md2.3 KB
  • sub-skills/utilities/references/utility-reference.md2.9 KB
  • sub-skills/utilities/scripts/check_image_loading.py3.1 KB
  • sub-skills/utilities/SKILL.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Autodistill Repo Skill

Use this skill when a task mentions Autodistill, automatic image labeling from foundation models, prompt-to-class ontologies, distilling labels into smaller vision target models, autodistill CLI commands, DetectionBaseModel/CaptionOntology, model plugin aliases, or Autodistill utility/debugging workflows.

Autodistill's core package defines interfaces, dataset writers, a CLI, a plugin registry, and utilities. Concrete base/target model implementations live in separate autodistill-* plugin packages and may require model downloads, GPU, credentials, long training, or separate licenses.

First Steps

  1. For stale-skill checks, read repository provenance.
  2. For package concepts and snapshot caveats, read package overview.
  3. Run the safe root smoke script when checking an environment:
python scripts/check_autodistill_install.py --check-cli
  1. Route to the most specific sub-skill below.

Sub-skill Routes

User taskRead
Auto-label an image folder, validate a generated YOLO/classification dataset, debug .label(), use SAHI/NMS, or run a safe dummy dataset-writer checkdataset-labeling
Build an autodistill ... command, inspect base/target aliases, understand plugin packages, run a safe CLI dry run, or debug CLI/model registry errorscli-and-model-registry
Design an ontology, implement a custom base/target model, validate abstract interface conformance, compose detector+classifier models, or use embedding ontologiesontologies-and-model-interfaces
Convert image inputs, use plotting/comparison helpers, split video frames, understand split_data, or handle Roboflow sync utility boundariesutilities

Install and Minimal Import Check

Core install:

pip install autodistill
python - <<'PY'
import autodistill
from autodistill.detection import CaptionOntology
print(autodistill.__version__)
print(CaptionOntology({"milk bottle": "bottle"}).classes())
PY

Plugin example for a full detection pipeline:

pip install autodistill autodistill-grounding-dino autodistill-yolov8

Install only the selected plugin packages. Do not install every supported model just to use the core package.

Safe Core Workflow Skeleton

from autodistill.detection import CaptionOntology
from autodistill_grounding_dino import GroundingDINO

ontology = CaptionOntology({"shipping container": "container"})
base_model = GroundingDINO(ontology=ontology)
base_model.label(input_folder="images", extension=".jpg", output_folder="dataset")

This shows the core call shape. The selected plugin's environment and runtime behavior must be verified separately.

Cross-cutting Troubleshooting

Read troubleshooting when failures involve install/import, missing plugins, GPU/backend crashes, CLI side effects, Roboflow credentials, dataset output, stale docs names, or utility boundaries.

Important snapshot warnings:

  • Source-verified core version is 0.1.29.
  • In this snapshot the source method is label(), not the stale docs name label_folder().
  • In this snapshot the source method is sahi_predict(), not the stale docs name predict_sahi().
  • In this snapshot composed detection uses ComposedDetectionModel; some docs use stale names.
  • The CLI SUPPORTED_MODEL_TYPES source constant has a missing comma, so classification/segmentation CLI paths may not match docs.

Stop Conditions

Before continuing, ask for approval when a task would install plugin packages, download model weights, run large labeling/training, use GPU unexpectedly, contact Roboflow/cloud APIs, or overwrite user output directories.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill