Skip to content
Back to skills

Detection

ASecurity

"Use this YOLOv5 sub-skill for object-detection training,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
content-marketinggoflaskapibackend

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Detection?

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

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

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: detection
description: "Use this YOLOv5 sub-skill for object-detection training,
  validation, inference, PyTorch Hub loading, detection datasets, and checkpoint
  troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: AGPL 3.0
---

# YOLOv5 Detection

Use this route for bounding-box detection requests involving the YOLOv5 clone-run entrypoints, PyTorch Hub model loading, detection YAMLs, pretrained detection checkpoints, or detection-specific errors.

## Choose the workflow

- **Predict/infer**: read `references/workflows.md` for image, directory, video, glob, webcam, screenshot, URL, and stream source planning. Use `scripts/plan_detection_command.py` before running a command with downloads, media, or output writes.
- **Train/fine-tune**: use the training section for `train.py`, custom data YAMLs, pretrained vs scratch training, image/batch/device choices, resume, DDP, and output directories.
- **Validate/evaluate**: use the validation section for `val.py`, data/weights pairing, confidence/IoU, task modes, JSON/plot output, and exported-format validation handoff.
- **PyTorch Hub/local API**: read `references/api-reference.md` for `hubconf.custom`, standard `yolov5n/s/m/l/x` functions, `autoshape`, device selection, and cache behavior.

## Common decisions

- Start with `yolov5n` or `yolov5s` and a tiny local fixture when the goal is a smoke check.
- Use explicit local checkpoint and data paths for offline or reproducible work; names such as `yolov5s.pt` may download.
- Match the detection checkpoint and detection YAML to the class count. Do not use `*-seg.pt` or `*-cls.pt` here.
- Set an explicit `--project` and `--name` when output placement matters. `--exist-ok` is an overwrite policy, not a harmless default.
- Use `--device cpu` for deterministic parser/import checks. Use CUDA for realistic training or half precision.
- Treat webcam, RTSP/HTTP, YouTube, screen capture, and remote URLs as network/device workflows, not safe defaults.

## Handoffs

- Read root `references/datasets-and-weights.md` before downloads or custom data.
- Route segmentation to `../segmentation/SKILL.md` and classification to `../classification/SKILL.md`.
- Route model conversion or backend runtime selection to `../export/SKILL.md` after a checkpoint is selected.
- Route HTTP serving to `../serving/SKILL.md`; this route owns model behavior, not the Flask service contract.

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md2.9 KB
  • references/troubleshooting.md2.9 KB
  • references/workflows.md4.8 KB
  • scripts/plan_detection_command.py4.2 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.