Skills for Real Engineers. Straight from my .agents directory.
video-frame-extraction
Agent skill frombenchflow-ai/skillsbench
Extract frames from video files and save them as images using OpenCV
How to install video-frame-extraction
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/pedestrian-traffic-counting/environment/skills/video-frame-extraction/
# into
~/.claude/skills/video-frame-extraction/ (all projects)
.claude/skills/video-frame-extraction/ (one project)
tasks-extra/pedestrian-traffic-counting/environment/skills/video-frame-extraction/SKILL.md
Apache-2.0Full file1# Video Frame Extraction Skill23## Purpose4This skill enables extraction of individual frames from video files (MP4, AVI, MOV, etc.) using OpenCV. Extracted frames are saved as image files in a specified output directory. It is suitable for video analysis, creating training datasets, thumbnail generation, and preprocessing video content for further processing.56## When to Use7- Extracting frames for machine learning training data8- Creating image sequences from video content9- Generating video thumbnails or preview images10- Preprocessing videos for object detection or tracking11- Converting video segments to image collections for analysis12- Sampling frames at specific intervals for time-lapse effects1314## Required Libraries1516The following Python libraries are required:1718```python19import cv220import os21import json22from pathlib import Path23```2425## Input Requirements26- **File formats**: MP4, AVI, MOV, MKV, WMV, FLV, WEBM27- **Video codec**: Must be readable by OpenCV (most common codecs supported)28- **File access**: Read permissions on source video29- **Output directory**: Write permissions on destination folder30- **Disk space**: Ensure sufficient space for extracted frames (uncompressed images)3132## Output Schema33All extraction results must be returned as valid JSON conforming to this schema:3435```json36{37 "success": true,38 "source_video": "sample.mp4",39 "output_directory": "/path/to/frames",40 "frames_extracted": 150,41 "extraction_params": {42 "interval": 1,43…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
