/yolo:platform-clifrom Ultralytics YOLO
Operates Ultralytics Platform via the ul cloud CLI: manage projects, datasets, models; start/monitor cloud training; inspect dataset images/stats; handle exports, deployments, storage, billing, and Agents.
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.
ul cloud)ul needs Python 3.11+ and comes with pip install ultralytics or pip install ultralytics-platform. ul cloud <resource> <operation> calls the Platform API through the generated SDK; ul login, ul train, ul predict, the ul cloud train, predict, export, and download shortcuts (see yolo), and the other local commands delegate to the ultralytics package. This skill covers Platform operations, not model selection or hyperparameter tuning.
pip install ultralytics # or `pip install ultralytics-platform`
ul cloud account summary # confirms the CLI is signed in
ul cloud --help # every resource and operation
ul cloud training start --help # one operation's arguments, types, and choices
Only running ul cloud commands needs a signed-in CLI; explaining or planning them does not. When the execution environment supplies credentials, use them as they are; otherwise the user signs in with a Platform API key. Never ask for, print, or pass a key yourself.
ul cloud account summary # plan, credits, counts; `username` is your workspace
ul cloud datasets list owner=WS # owner=TEAM for a team
ul cloud projects create owner=WS project=helmets name="Helmet Detection" visibility=private
ul cloud models create body='{"owner":"WS","project":"helmets","model":"exp1","name":"Experiment 1"}'
ul cloud training start model_id=MODEL_ID gpu_type=l4 \
train_args='{"model":"yolo26n.pt","data":"ul://WS/datasets/helmets","epochs":50}'
ul cloud models training owner=WS project=helmets model=exp1 # live status, epoch progress, metrics
ul cloud models files owner=WS project=helmets model=exp1 # short-lived weights download URL
Argument rules:
--help call. Check operation help when a needed argument is missing or after an argument error.key=value (gpu_type, project_id), never --key value. A boolean key given without =value means true. Quote JSON for the shell.body= JSON object exactly when its help lists body (dict[str, Any]). These are the operations whose API request is a union of shapes: models create, deployments update, images update, lifecycle delete-trash, datasets ingest, datasets create-batch, upload signed-url, storage-integrations create/discover, and models predict/deployments predict. Every other operation takes flat fields; nested objects such as train_args, metadata, and args are still JSON values.@file.json or @- for stdin. Multipart binaries such as the predict file field accept @path only.paths["/api/models"].post.requestBody, from the production contract at https://platform.ultralytics.com/openapi.json, instead of guessing or loading the whole file.Behavior rules:
omit=key1,key2 drops those keys from JSON at any depth when the question does not need them, such as omit=trainArgs on projects retrieve when run configurations are not compared, or omit=labels,scatterSample on models retrieve ... analysis=1 (add examples to drop the per-image rows and keep the summary, cohort metrics, and comparisons). Download operations return expiring signed URLs, not bytes: datasets export, datasets create-export, models files, and a completed exports retrieve. Preserve them verbatim and fetch them separately.models delete-training, exports delete, datasets delete-batch).--json, --fields, --dry-run, or automatic pagination. datasets list (limit, include_samples, include_image_urls) and projects list (limit) take no offset or search; add include_samples=false to keep dataset listings small. models list requires project=, returns the 20 most recently updated models by default and at most 100 with limit=, and takes no offset. Operations that page expose page, offset, cursor, or page_token. Follow returned continuation fields until exhausted. A limit-only listing may still be incomplete.owner= on every command that takes it: the signed-in username for the caller's own resources, owner=TEAM for team workspaces, and the resource's own owner for public or shared resources. An omitted path owner defaults to the logged-in username but costs an extra account lookup on every call. Account, billing, trash, storage-integration, and Roboflow commands act on the credential's own account, and account summary does not list teams for API keys.ul://OWNER/datasets/DATASET; starting weights are a checkpoint name or ul://OWNER/PROJECT/MODEL. Carry returned IDs and slugs into the next command; retrieve missing identifiers instead of inferring them from names or URLs; dataset= takes a dataset slug, never a datasetId (a model's dataset is model.dataset.owner and model.dataset.dataset from models retrieve). Take a named dataset's or project's slug from its listing before retrieving it.explore search q=... type=datasets, one short keyword at a time (aerial, then UAV), narrowed with task, min_images, or max_images. Explore dataset search ranks exact and whole-word name, tag, class, and description matches first, then datasets whose images match the term by content; project search matches the term at the start of a word. Before recommending a public dataset for training, verify clone eligibility, labels, and splits. If none match or search fails, say so.Execute clearly requested actions without repeated confirmation. For spending, sharing, or irreversible changes, resolve ambiguity about target or consequence first. A request for advice is not authorization to act; "clean things up" is not permission for account-wide deletion. Do not invent commands, flags, or status edits to simulate operations the CLI does not expose; point the user to the Platform UI for those.
Commands below omit the ul cloud prefix and owner=; add owner= as described above.
| Goal | Commands |
|---|---|
| Inventory | projects list, datasets list, models list project=P. explore search q=... type=datasets searches public content, which is not private inventory; type=models finds public trained models by what they detect. Retrieve a dataset to check task, classes, splits, and readiness. |
| Create | projects create project=slug name="Display", datasets create dataset=slug name="Display" task=detect. Set visibility= deliberately. |
| Copy | datasets clone dataset=D owner_body=DEST_OWNER, projects clone project=P owner_body=DEST_OWNER, models clone project=P model=M owner_body=DEST_OWNER project_body=DEST_PROJECT. Path fields name the source; *_body fields name the destination. A model's destination project must exist. |
| Rename, edit, move | <resource> update with the changed fields only; a new name also changes the URL slug, so use the returned slug afterwards. Move a model with models update project=P model=M project_id=DEST_ID as the only changed field. |
| Compare runs | projects retrieve project=P omit=trainArgs lists every model in the project with its status and metrics (datasets models dataset=D for runs on a dataset); large outputs can still be clipped, so never claim a complete ranking from a clipped or capped listing. Rank by the requested metric before naming a leader. Use models retrieve project=P model=M for evidence the summary lacks: configuration, dataset/version, or plots. Tabulate status, dataset/version, configuration, and requested metrics with links. Missing metrics are unknown, not zero. There is no compare command. |
| Analyze model | models retrieve project=P model=M analysis=1, then models find-similar-training-images project=P model=M when needed. See Model analysis and similarity for coverage and hash selection. |
| Weights | models files project=P model=M returns a temporary checkpoint URL. No training or export is needed. |
| Convert | exports create project=P model=M format=onnx, then exports retrieve project=P model=M export_id=ID for progress and the download URL. format=engine needs gpu_type. Exporting does not deploy. |
| Dataset versions | datasets create-export dataset=D saves an immutable numbered snapshot with a signed NDJSON URL; datasets export dataset=D (v=N for a saved version) returns a download URL; datasets restore dataset=D version=N rolls the dataset back; datasets update-export dataset=D version=N description="TEXT" updates a saved version's description. |
| Deploy | deployments create project=P model=M deployment=slug name="Display" region=us-central1. deployments update deployment=D body='{"action":"replace","project":"P","model":"M"}' swaps the model on the same URL; body='{"action":"stop"}' and {"action":"start"} pause and resume it. deployments health deployment=D warms it. |
| Usage, services | account storage, billing usage-summary, and billing transactions inspect the credential's own account usage; deployments list, retrieve, logs, and metrics inspect endpoints. See Usage and billing and Compute for filters and pagination. |
| Inference | models predict project=P model=M body='{"file":"@image.jpg"}' or deployments predict deployment=D body='{"file":"@image.jpg"}'. images predict image_id=ID model_id=ul://... predicts on a dataset image without saving labels. |
| Agents | agents save name="Display" graph='{...}' version=0 creates a canvas Agent; read agents save --help for blocks first. Use real datasets, models, deployments, and detectable classes; fix returned errors. Edit: read the current graph and version with agents list id=ID, then agents save id=ID name=N version=V graph='{...}' with the full edited graph. |
| Import data | datasets create dataset=D name="Display", then upload signed-url body= (assetType, assetId, filename, contentType, totalBytes) for one .zip, .tar, .tar.gz, .tgz, or .ndjson file, PUT the bytes with the returned headers, datasets ingest dataset=D body='{"sessionId":"S"}' (completes the upload; or {"sourceUrl":...}), then retrieve until ready. Queued is not imported. Roboflow and hosted Label Studio: datasets preview-roboflow/preview-label-studio (saved key), then import-roboflow/import-label-studio. |
| Trash | projects delete project=P, datasets delete dataset=D, and models delete project=P model=M move them to 30-day trash. lifecycle trash lists it, lifecycle restore id=ID type=model undeletes, lifecycle delete-trash body='{"id":"ID","type":"model"}' purges one item, and body='{"all":true}' permanently empties all workspace trash. |
Platform exports a dataset only as NDJSON that links its images; there is no YOLO-format or ZIP export. For local training, pass the file, or ul://OWNER/datasets/DATASET while signed in, straight to model.train(data=...), which downloads the images and builds the YOLO folders; for the folders alone, run asyncio.run(convert_ndjson_to_yolo("dataset.ndjson", output_path="datasets")) after import asyncio and from ultralytics.data.converter import convert_ndjson_to_yolo.
training gpu-availability before choosing gpu_type; cloud training spends credits. data must use the dataset's actual owner, which may differ from the model's.models create body=... with owner, project, the model slug, and name for a new experiment. Reuse a pending entry from a failed start after checking its state.training start model_id=ID gpu_type=... train_args=... with a fresh train_args holding model, data, and numeric epochs plus requested settings. Omit device. Do not copy stored worker arguments wholesale; saved data paths may be worker-local.models training or models retrieve for progress. Return the run link and actual status without waiting for completion unless asked. models delete-training cancels a run and keeps its entry; never call training start on a model whose run is still active.ul cloud account summary afterwards.Resource links use https://platform.ultralytics.com: projects /{owner}/{project}, datasets /{owner}/datasets/{dataset}, models and training /{owner}/{project}/{model}, and deployments /{owner}/deploy/{deployment} with the returned deployment slug. After status is ready, report the exact serviceUrl returned by deployments retrieve for inference; never construct a service URL.
Operation help already says what each command does. These are the side effects and constraints it omits; --help and the error text still win when they disagree.
models create.visibility= explicitly. Public projects expose their models. Public visibility is not collaborator edit access.metadata objects replace prior values. Send the complete array or object, including unchanged entries.starred ignores every other field; send it alone.capture_dataset_version=true saves a new snapshot; it does not select an existing one.lifecycle delete-trash is irreversible. Run it only when the user explicitly requests permanent deletion of the specified items; body='{"all":true}' requires an explicit request to empty all workspace trash. Otherwise, leave purging to the user in the UI.projects update archived=true only organizes; it frees nothing.projects delete and models delete permanently delete attached deployments during the trash operation; restoring the project or model does not restore deployments. If deployments are attached (lifecycle trash id=ID type=project or type=model previews them), explain this consequence and obtain explicit authorization before trashing, unless the user's request already covers their permanent deletion. A 502 response means cleanup is incomplete; inspect deployments before reporting them deleted.datasets restore dataset=D version=N replaces the current images, splits, classes, and annotations with the selected snapshot. It cannot be undone unless the current state was first versioned. When preservation matters, first run datasets create-export dataset=D. Stop active annotation before restoring, then wait for the dataset to return to ready.images delete and images delete-bulk are permanent and bypass trash.datasets create-export reuses an identical existing snapshot instead of creating a duplicate.images update body='{"labels":[...]}' replaces every label on the image, and images predict alone saves nothing. Retrieve first for a partial edit, and if the retrieve reports labelsTruncated, do not update that image's labels, because the replacement would delete the ones you did not see.datasets create-batch dataset=D body='{"modelId":"ul://OWNER/PROJECT/MODEL"}' auto-labels unlabeled images, persists the labels, and saves a version. On detect datasets with 1–200 classes, modelId can instead be a hosted model prompted with the class names: sam3.1 (SAM 3.1 Text), sam3, moondream, qwen, gemma, nemotron, wevisone, florence2, owlv2, yoloe26x, or groundingdino. On detect, segment, and OBB datasets, yoloe26x with visualPrompts (existing annotations) and referenceImageId (the image they are on) finds similar objects instead. Add "includeAnnotated":true to the body to also process labeled images (their existing labels are kept). datasets delete-batch cancels or dismisses a run without undoing labels already saved. Before claiming completion, read datasets batch: an activeJob is still running, and lastRun is the latest finished run; report its failed, stopped, error, results.processed, and results.partialImages.datasets create-batch dataset=D body='{"operation":"blur"}' blurs faces in the dataset's images (or a single image when the body includes "imageId") and saves no version; run datasets create-export first when the originals matter.class_mapping= for images predict, classMapping inside body= for datasets create-batch. It rejects connected, depth, and more-than-three-channel datasets.class_names replaces names by index; keep the order for a rename. Merging or deleting classes remaps or removes labels and shifts IDs.datasets redistribute-splits reshuffles the whole dataset. images update-bulk moves selected IDs, and conflict policy replace may remove target images.datasets adopt-images (in the app: Copy or Cut images, then Paste them into the other dataset) adds image references as unlabeled train images, skipping existing images; only release=false (copy), release=true (move), or class_mapping carries labels, metadata, and splits from a dataset you can edit.task converts no annotations. Switching to or from depth needs an empty dataset. A segment dataset trains detect, OBB, semantic, or segment models as is; do not convert its polygons or change its task for that.datasets retrieve dataset=D returns task, classes, splits, and counts. datasets class-stats dataset=D returns distributions and heatmaps; a set sampleSize means the stats came from a capped subset, and each histogram bin's size is its width. In objectsPerImageHistogram, bin is the lower bound: bin=0, size=6 counts images with 0–5 objects, not just zero objects. For the unlabeled-image count, use datasets images dataset=D has_label=false limit=1 and read total.datasets images dataset=D (there is no images list); it filters by split, has_label, has_error, class_ids, and search. For counts alone, use limit=1 and read total (included by default), not the page length. has_error means a recorded processing error. Pass include_thumbnails=false to keep inventory pages small (include_image_urls and include_labels default off); send nextCursor as cursor while hasMore. The cursor works only with newest or oldest sorting (which includes the default); other sorts page with offset. Equal hash values mean the same stored bytes, not visual similarity. A gallery card's number is its position in the viewer's filtered and sorted view, not in this listing: resolve images a user names by number through the file names on those cards, and write only to the IDs whose names match.search=TERM matches substrings of filenames (extension optional), class names, and metadata keys, scalar values, and array entries, but not values inside nested objects. There is no field selector; retrieve matches to verify which field hit. A 32-hex term matches the content hash exactly and a 24-hex term matches the image ID, so search=HASH finds every stored copy of an image without exporting.metadata; images retrieve image_id=ID returns it with labels. Both listing and retrieval can truncate labels: honor labelsTruncated and compare returned lengths with labelCount or retrieval's properties.annotationCount. datasets selected-images dataset=D image_ids='["ID1","ID2"]' fetches several known IDs in one call, not one images retrieve each, accepting the same include_* options as datasets images; images urls image_ids='["ID1","ID2"]' refreshes signed URLs for up to 100 IDs from one dataset. datasets export dataset=D provides NDJSON metadata and annotations for bulk aggregation; On Premise datasets cannot export.images find-similar-images image_id=ID returns up to 24 near neighbors from public, your own, and team datasets, excluding the source dataset and datasets holding a copy of the query (include_source_dataset=true keeps those datasets, never the copies); license= and public_only=true narrow it. It needs an existing image ID and authentication. An image without an embedding is embedded on demand, which can take minutes; a 503 means that preparation failed, so retry.datasets embeddings dataset=D reports analysis freshness and progress. datasets clustering dataset=D returns 2D UMAP points, not raw embeddings; send nextOffset as offset while hasMore, including with the default page size. not_analyzed means no layout exists; use returned IDs with datasets selected-images for details. datasets create-embeddings starts analysis; datasets delete-embeddings cancels it and deletes no images.models retrieve project=P model=M returns per-epoch trainResults (for loss and accuracy curves, add omit=plots,timestamp,fitness,lr,environment and check which epochs are present before describing the whole curve) and plots (confusion matrix, precision, recall, F1, and PR curves; for per-class AP, add omit=trainResults,x,y to reduce clipping, and verify the class mapping before naming a class); the pr_curve entry's ap rows are per-class AP at IoU 0.50–0.95 ([0] is AP50), and row i is class index classes[i] when classes is present, otherwise classNames[i]. models list omits plots and metrics has only overall values. models retrieve project=P model=M analysis=1 requires authentication and returns per-image validation analysis instead of model details; null means analysis is unavailable. A completed detection run with recorded per-image results is required; a missing dataset version or manifest returns scores with traitsAvailable=false and coverage.mode="unavailable", not null analysis. Before generalizing, compare population with retained and read coverage.mode: only full covers every validation image. traitsAvailable gates comparisons (image traits versus F1); cohorts.worst and .best give whole-cohort count and metrics but only the first 100 rows as examples, whose labels come from the run's saved manifest, not the current dataset. scatterSample.rows are [f1, width, height, pixels, aspectRatio, instanceCount] points. Per-image tp/fp/fn/f1 use IoU 0.50 at a confidence threshold the run did not record, so they cannot rebuild metrics at another threshold. Check the model's reported precision/recall before diagnosing poor performance; these counts alone do not establish deployment precision or explain a particular false positive.models find-similar-training-images project=P model=M searches public, your own, and team datasets from the run's worst validation images, excluding images its training dataset already holds. Use credentials with access to the model's workspace. The command returns candidates without adding them to the dataset. hashes=H1,H2 must all come from analysis.cohorts.worst.examples[].hash; any other hash rejects the whole request. A run without a captured cohort returns an empty list; missing run/dataset identifiers or unavailable embeddings return errors instead.account storage returns quotas as usage.<resource>.current/limit/percent, where limit=-1 is unlimited; details=true adds the ten largest breakdown.topItems, not a full inventory. billing usage-summary returns plan usage and credits.billing transactions from_=START to=END uses from_, not from, and needs full ISO datetimes such as 2026-09-01T00:00:00Z; bare dates are rejected. Timestamps are in createdAt.status starts or stops nothing.deployments list model=P/M filters by a project's model, not a model ID or bare name. Use the returned deployment slug for deployments retrieve, logs, and metrics. Logs page with nextPageToken as page_token; metrics range= selects the window and sparkline=true returns the compact dashboard summary instead of the full response.delete is permanent; there is no trash for deployments.delete cancels a running conversion or removes the finished file; the source model is untouched.The installed CLI is the authority: ul version shows the versions, ul cloud <resource> <operation> --help lists valid arguments and choices, and error text beats any command shape or caveat in this file. For endpoint semantics, the Platform API reference and the live /openapi.json win over memory.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ultralytics/skills --plugin yolo8 skills in this plugin
/yoloUse for ANY task involving Ultralytics Platform, the ultralytics Python package, yolo CLI, YOLO model weights (.pt), dataset annotation, training, validation, prediction, tracking, export, deployment, or the detect / segment / semantic / depth / classify / pose / OBB vision tasks.
/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.
Other plugins' skills for the same job