Setup video to code skill
Skill PiotrLason/video-to-code-skill/skills/setup-video-to-code-skill
Inputs the content of any video into Claude Code prompt / context window as a multimodal bundle of voice transcription and data summary, time synced with keyframes - screenshots of key moments from the video so it can be used for all further requests related to that content.
npx -y skills add PiotrLason/video-to-code-skill --skill setup-video-to-code-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Sets up the video-to-code storage folder and installs required Python dependencies (opencv, whisper, numpy). Run once before first use, or to verify the environment is ready.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.7 KB, as published. Nobody here has run it
Initialize video-to-code environment
Sets up the storage folder and installs all required dependencies for the video-to-code skill.
Instructions
Display this banner as the very first output when the skill is invoked:
██╗ ██╗██╗██████╗ ███████╗ ██████╗
██║ ██║██║██╔══██╗██╔════╝██╔═══██╗
██║ ██║██║██║ ██║█████╗ ██║ ██║
╚██╗ ██╔╝██║██║ ██║██╔══╝ ██║ ██║
╚████╔╝ ██║██████╔╝███████╗╚██████╔╝
╚═══╝ ╚═╝╚═════╝ ╚══════╝ ╚═════╝
████████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗
╚══██╔══╝██╔═══██╗ ██╔════╝ ██╔═══██╗██╔══██╗██╔════╝
██║ ██║ ██║ ██║ ██║ ██║██║ ██║█████╗
██║ ██║ ██║ ██║ ██║ ██║██║ ██║██╔══╝
██║ ╚██████╔╝ ╚██████╗ ╚██████╔╝██████╔╝███████╗
╚═╝ ╚═════╝ ╚═════╝ ╚═════╝╚═════╝ ╚══════╝
SKILL SETUP v1.3
-
Notify the user:
- Immediately tell them: "URL: https://github.com/PiotrLason/video-to-code-skill"
- Immediately tell them: "Help: run
/video-to-code-skill -> show-help-video-to-code-skillto display the full pluginREADME.mdwith Markdown formatting." - Tell them "Initializing video-to-code environment..."
- Immediately tell them: "Documentation: open
${CLAUDE_PLUGIN_ROOT}/README.mdfor setup, usage, parameters, outputs, and troubleshooting."
-
Ensure storage folder exists:
mkdir -p ~/video-to-code-skill-storage- If the folder already existed, tell the user: "Storage folder already exists at ~/video-to-code-skill-storage"
- If it was just created, tell the user: "Created storage folder at ~/video-to-code-skill-storage"
-
Check and install dependencies:
- Always use
/usr/bin/python3for checking and installing — this is the same interpreter the run skill uses. - Check
cv2,numpy, and whisper separately. Only install missing packages. - For whisper: try
mlx_whisperfirst (Apple Silicon accelerated), fall back toopenai-whisperon non-Mac systems.
/usr/bin/python3 -c "import cv2" 2>/dev/null || /usr/bin/python3 -m pip install --user opencv-python /usr/bin/python3 -c "import numpy" 2>/dev/null || /usr/bin/python3 -m pip install --user numpy /usr/bin/python3 -c "import mlx_whisper" 2>/dev/null || /usr/bin/python3 -c "import whisper" 2>/dev/null || /usr/bin/python3 -m pip install --user mlx-whisper || /usr/bin/python3 -m pip install --user openai-whisper - Always use
-
Check and install ffmpeg:
which ffmpeg || brew install ffmpeg || echo "ffmpeg not found — install it manually (e.g. apt install ffmpeg on Linux)" -
Report status: Summarize what was set up and whether everything is ready. Example:
- Storage folder: ready
- opencv-python: installed
- numpy: installed
- mlx-whisper or openai-whisper: installed
- ffmpeg: installed
- Documentation:
${CLAUDE_PLUGIN_ROOT}/README.md - Help command:
/video-to-code-skill -> show-help-video-to-code-skill - "Environment is ready. Place a video file (.mov, .mp4, .webm) in ~/video-to-code-skill-storage and run
/video-to-code-skill -> run-video-to-code-skillto analyze it."
Dependencies
| Package | Purpose |
|---|---|
opencv-python | Frame extraction and scene change detection |
numpy | Array operations |
mlx-whisper | Audio transcription (Metal-accelerated, macOS) |
openai-whisper | Audio transcription (fallback) |
ffmpeg | Audio extraction from video files |