video-summarizerlisted
Install: claude install-skill maystudios/claude-skills
# Video Summarizer
Analyzes MP4 files in a directory via the Gemini API and writes a `.md` summary file next to each video.
## Prerequisites
- `GEMINI_API_KEY` env var must be set
- `google-genai` installed: `py -m pip install google-genai`
- Python available as `py` (Windows) or `python3`
## Workflow
### 1. Determine the prompt
Check if the user provided a custom prompt or specific extraction instructions.
- **No custom prompt** -> use the default (structured summary with Title, Summary, Key Points, Takeaways)
- **User provides custom instructions** -> pass them via `--prompt` or `--prompt-file`
A custom prompt **completely replaces** the default. Examples of custom prompts:
- "Extract all mentioned tools, their prices, and a one-line description for each"
- "List every action item and deadline mentioned in this video"
- "Create a transcript outline with timestamps"
### 2. Run the script
```bash
# Default summary — all videos in current directory (recursive)
py scripts/summarize_videos.py
# Default summary — specific directory
py scripts/summarize_videos.py "C:/path/to/videos"
# Custom prompt (inline) — replaces default summary format
py scripts/summarize_videos.py --prompt "Extract all product names and prices mentioned"
# Custom prompt (from file) — replaces default summary format
py scripts/summarize_videos.py --prompt-file my-prompt.txt
# Both directory and custom prompt
py scripts/summarize_videos.py "C:/path/to/videos" --prompt "List all key decisions mad