/yolo:yolofrom Ultralytics YOLO
Handles the full Ultralytics YOLO lifecycle: dataset annotation, training, validation, prediction, tracking, export, and deployment via the Python package, yolo CLI, or Ultralytics Platform.
Ships in Ultralytics YOLO. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run the same lifecycle on three complementary surfaces:
ultralytics package / yolo CLI — use local or remote compute, scripts, notebooks, custom pipelines, and exported artifacts directly.ul CLI (Python 3.11+, installed by ultralytics or ultralytics-platform) — script the Platform API itself: ul cloud <resource> <operation> key=value lists, creates, clones, trains, exports, and deploys Platform resources from a terminal (see platform-cli).ul cloud train, ul cloud predict, and ul cloud export upload local inputs as needed and run on Platform. Training returns after submission; add watch to follow and download results. ul cloud download uses the printed model URI and waits if needed; Ctrl-C stops waiting without canceling training. All four shortcuts need ultralytics installed; the ul cloud <resource> <operation> commands do not.
ul cloud train model=yolo26n.pt data=ul://username/datasets/helmets epochs=100 project=helmets name=exp1 # → run URI and download command
ul cloud download model=ul://username/helmets/exp1 # → weights/best.pt and results
ul cloud predict model=ul://username/helmets/exp1 source=video.mp4 # → annotated output
ul cloud export model=ul://username/helmets/exp1 format=onnx # → downloaded artifact
Mix them freely. Sign in with a Platform API key, use a Platform dataset as data=ul://username/datasets/dataset-slug, and set project=username/project-slug name=experiment during local training to stream its metrics back to Platform.
The yolo CLI and Python share one API. The CLI grammar is yolo TASK MODE arg=value ..., and Python takes the same argument names:
yolo detect train data=data.yaml model=yolo26n.pt epochs=100 imgsz=640
from ultralytics import YOLO
model = YOLO("yolo26n.pt")
model.train(data="data.yaml", epochs=100, imgsz=640)
detect segment semantic depth classify pose obb — usually inferred from the weights, so it can be omitted.train val predict track export benchmark.pip install -U ultralytics. Environment check: yolo checks./usr/bin/ul (a text-underlining tool), so ul: cloud: No such file or directory means that binary won: put the environment's bin/ first on PATH or run python -m ultralytics_platform.cli cloud ....yolo detect train data=data.yaml model=yolo26n.pt epochs=100 # → runs/detect/train/weights/best.pt
yolo val model=best.pt data=data.yaml # mAP, per-class metrics
yolo predict model=best.pt source=video.mp4 save=True # any source: image/dir/URL/RTSP/webcam
yolo track model=best.pt source=video.mp4 # + persistent object IDs
yolo export model=best.pt format=onnx # exported model loads back into YOLO()
Start with the Platform quickstart. Use the stage skill below for both Platform and package details.
Read the skill for the stage you're working on BEFORE writing code — each is a sibling folder of this one (../<skill>/SKILL.md) and contains exact formats, argument tables with defaults, recipes, and symptom→fix tables. A request spanning stages ("train and deploy") → read each relevant skill.
| Working on | Skill |
|---|---|
| choosing a model family/size/task, YOLO26 vs YOLO11, YOLO-World/YOLOE, SAM, RT-DETR | yolo-models |
| data.yaml, labels, annotation conversion, auto-labeling, dataset analysis/errors, splits | yolo-datasets |
| training, fine-tuning, hyperparameters, augmentation, OOM / NaN / low mAP, reading runs | yolo-training |
| hyperparameter tuning, Ray Tune, systematic model improvement, "autotraining" | yolo-tuning |
| predict on images/video/streams, Results API, tracking IDs, counting/heatmaps/Solutions | yolo-inference |
| ONNX / TensorRT / CoreML / Core AI / OpenVINO / LiteRT / NCNN / NPUs, quantization, benchmarking | yolo-export |
Platform API from a terminal: ul cloud <resource> <operation> commands, ultralytics-platform, scripted changes to resources, trash, deployments, and cloud runs | platform-cli |
Special commands (no TASK/MODE):
yolo help # full syntax reference
yolo checks # env report: version, torch, CUDA, disk — run when anything is weird
yolo version
yolo settings # view; `yolo settings key=value` to set; `yolo settings reset`
# keys incl. datasets_dir, runs_dir, wandb, mlflow, tensorboard, ...
yolo cfg # print every default argument (the ground truth for arg names)
yolo copy-cfg # copy default.yaml → default_copy.yaml to customize, use with cfg=
yolo solutions help # prebuilt apps: count, heatmap, speed, ... (see yolo-inference)
Parsing rules that matter:
key=value, no -- flags. A leading -- and trailing commas are stripped with a warning; spaces around = are merged.yolo predict ... show ≡ show=True.cfg=custom.yaml loads the file's values: CLI arguments before or after it win, and missing keys still use built-in defaults (start with yolo copy-cfg).source= defaults to the package's assets/ folder with bus.jpg and zidane.jpg, or a boats.jpg URL for task=obb; task-default data/model; format=torchscript).runs/<task>/<name>/, and a relative project= nests under runs/<task>/ as well, so read the printed Results saved to path or pass an absolute project=.rtdetr-* → RT-DETR, sam_*/sam2*/sam3*/mobile_sam → SAM, FastSAM-* → FastSAM, yolo_nas_* → NAS, everything else → YOLO, which is promptable for YOLOE/YOLO-World checkpoints of any filename (accepts classes="person, bus").yolo-datasets, then a 1-epoch smoke test and inspect runs/<task>/train/train_batch0.jpg: annotations or targets must match each image..pt — never pretrained=False, never a YAML architecture from scratch, unless the user is explicitly doing research.stream=True for videos/streams in Python predict/track — the default list mode OOMs on long videos.best.pt (not last.pt) from runs/<task>/<name>/weights/ after training.yolo val the exported artifact against the .pt baseline.ultralytics.data), trackers, and Solutions modules replace whole categories of hand-written glue.yolo cfg and the error text list valid arguments, and yolo checks shows the version. Prefer them over any table in these skills.What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/platform-cliUse when operating Ultralytics Platform from a terminal or script with the ul cloud CLI (ul cloud RESOURCE OPERATION key=value, PyPI package ultralytics-platform) — listing, creating, updating, cloning, or moving projects, datasets, and models; inspecting dataset images, statistics, metadata, duplicates, and similar images; starting and monitoring cloud training runs; per-image model validation analysis; downloading weights; exports, deployments, uploads, trash and restore, storage integrations, and account usage, storage, and billing; and building Agents (YOLO, LLM, gate, and alert workflows). For the Platform web UI or local yolo commands, see yolo; for choosing what to train and how to improve it, see yolo-training and yolo-tuning.
/yolo-datasetsUse when uploading, annotating, building, converting, analyzing, or debugging datasets in Ultralytics Platform or local YOLO — Platform dataset management and Smart Annotation, data.yaml, YOLO label .txt formats, COCO/DOTA/mask conversion, auto-labeling, splits, validation, and errors like "no labels found" or mAP near 0. Covers detect, segment, semantic, depth, classify, pose, and OBB data.
/yolo-exportUse when exporting or deploying Ultralytics YOLO models in Platform or code — the Platform Export tab and yolo export/model.export() for ONNX, TensorRT, CoreML, Core AI, OpenVINO, LiteRT, NCNN, ExecuTorch, and NPUs (RKNN, QNN, Hailo, Ascend, IMX, Axelera, DeepX, Xilinx, NXP), STM32 microcontrollers (ST Edge AI), FP16/INT8 quantization, benchmarking, and non-Python runtimes. For inference with .pt weights or Platform endpoints, see yolo-inference.
/yolo-inferenceUse when testing, running, or deploying Ultralytics YOLO inference in Platform or code on images, video, webcams, or streams — Platform Predict and dedicated endpoints, model.predict()/yolo predict, Results API boxes/masks/keypoints, persistent tracking, annotated video, and Solutions such as counting, heatmaps, speed, queues, and parking. For optimized runtime exports, see yolo-export.
/yolo-modelsUse when choosing or comparing Ultralytics models in Platform or code — picking a model family (YOLO26/YOLO11/YOLOv8, YOLO-World, YOLOE, SAM/SAM2/FastSAM, RT-DETR, YOLO-NAS), size (n/s/m/l/x), task variant (-seg, -sem, -cls, -pose, -obb, -depth), pretrained checkpoint, open-vocabulary or promptable detection/segmentation, custom architecture, Platform Explore, or exact weight names and availability.
/yolo-trainingUse when training, fine-tuning, or validating Ultralytics YOLO models in Platform, cloud GPUs, or local code — model.train(), yolo train/val, remote metric streaming, epochs, batch, imgsz, devices, augmentation, multi-GPU, resumes, results, and fixing OOM, NaN loss, low mAP, or overfitting. For hyperparameter search and systematic improvement loops, see yolo-tuning.
npx claudepluginhub ultralytics/skills --plugin yoloOther plugins' skills for the same job