/domain-video
Use for video understanding: action or activity recognition, video classification, temporal action detection or localization in untrimmed video, gesture recognition, and general video analysis. Picks the right video model and the correct video-level split and metric. Triggers on
Claude Code
$ npx -y skills add mxslr/mlcraft --skill domain-video --agent claude-code
Codex
$ npx skills add mxslr/mlcraft --skill domain-video -a codex -y
Cursor
$ npx skills add mxslr/mlcraft --skill domain-video -a cursor -y
Gemini CLI
$ npx skills add mxslr/mlcraft --skill domain-video -a gemini-cli -y
GitHub Copilot
$ npx skills add mxslr/mlcraft --skill domain-video -a github-copilot -y
OpenCode
$ npx skills add mxslr/mlcraft --skill domain-video -a opencode -y
Windsurf
$ npx skills add mxslr/mlcraft --skill domain-video -a windsurf -y
SKILL.md
domain-video.SKILL.mdname: domain-video
description: "Use for video understanding: action or activity recognition, video classification, temporal action detection or localization in untrimmed video, gesture recognition, and general video analysis. Picks the right video model and the correct video-level split and metric. Triggers on 'video classification', 'action recognition', 'activity recognition', 'temporal action detection', 'video understanding', 'recognize actions', 'gesture', 'video dataset'."
Video Understanding - Method Selection
Prefer models pretrained on large video datasets (Kinetics). Video is compute-heavy, so use mixed precision and clip-based training.
Decision table
| Task | Recommended (recent, 2021-2025) | Notes | |---|---|---| | Action or video classification | VideoMAE or VideoMAEv2 (self-supervised pretrain, then fine-tune), Video Swin, UniFormerV2 | Kinetics-pretrained. Metric is top-1 and top-5 accuracy. | | Efficient or low-budget | adapt a strong image backbone with temporal modules (AIM), or a small MoViNet | cheaper than a full video transformer. | | Temporal action detection (localize actions in long untrimmed video) | ActionFormer, TadTR | metric is mAP at temporal IoU. | | General-purpose video features | InternVideo family | strong for many downstream tasks. |
Cross-cutting practice
- Sample frames (uniform or dense), train on short clips, and average multiple clips at test time.
- Augment with temporal cropping, per-frame flip and light photometric jitter. Keep flips label-safe.
- Leakage: split by VIDEO or subject, never by frame or by clips taken from the same video.
- Metrics: top-1 and top-5 accuracy for trimmed classification; mAP at temporal IoU for detection. Not frame accuracy.
- Explainability: per-frame Grad-CAM or spatiotemporal attention; show which frames the model attended to.
- Improve accuracy: use `accuracy-improvement-loop`; evaluate with `rigorous-evaluation`.
Read more
name: domain-video description: "Use for video understanding: action or activity recognition, video classification, temporal action detection or localization in untrimmed video, gesture recognition, and general video analysis. Picks the right video model and the correct video-level split and metric. Triggers on 'video classification', 'action recognition', 'activity recognition', 'temporal action detection', 'video understanding', 'recognize actions', 'gesture', 'video dataset'."
Video Understanding - Method Selection
Prefer models pretrained on large video datasets (Kinetics). Video is compute-heavy, so use mixed precision and clip-based training.
Decision table
| Task | Recommended (recent, 2021-2025) | Notes | |---|---|---| | Action or video classification | VideoMAE or VideoMAEv2 (self-supervised pretrain, then fine-tune), Video Swin, UniFormerV2 | Kinetics-pretrained. Metric is top-1 and top-5 accuracy. | | Efficient or low-budget | adapt a strong image backbone with temporal modules (AIM), or a small MoViNet | cheaper than a full video transformer. | | Temporal action detection (localize actions in long untrimmed video) | ActionFormer, TadTR | metric is mAP at temporal IoU. | | General-purpose video features | InternVideo family | strong for many downstream tasks. |
Cross-cutting practice
- Sample frames (uniform or dense), train on short clips, and average multiple clips at test time.
- Augment with temporal cropping, per-frame flip and light photometric jitter. Keep flips label-safe.
- Leakage: split by VIDEO or subject, never by frame or by clips taken from the same video.
- Metrics: top-1 and top-5 accuracy for trimmed classification; mAP at temporal IoU for detection. Not frame accuracy.
- Explainability: per-frame Grad-CAM or spatiotemporal attention; show which frames the model attended to.
- Improve accuracy: use `accuracy-improvement-loop`; evaluate with `rigorous-evaluation`.
Other skills on mlcraft.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about domain-video.
- Which coding agents can use domain-video?
- domain-video installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

