SkillsGrove
SkillsGrove/영상 제작/maystudios/claude-skills/video-summarizer

video-summarizer

설치

$npx skills add https://github.com/maystudios/claude-skills --skill video-summarizer
$git clone --depth 1 https://github.com/maystudios/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/video-summarizer ~/.claude/skills/video-summarizer
이 Agent Skill을 설치해 주세요: https://github.com/maystudios/claude-skills/tree/25145cf85b0709dcc2f7a40a7035c7527c137a6c/video-summarizer — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITAnalyzes local MP4 video files using the Gemini API and generates structured Markdown summaries. Supports custom prompts to extract specific information instead of the default summary. Use when the user wants to summarize, analyze, or extract key points from video files in bulk. Triggers on requests like "summarize my videos", "create markdown summaries for the videos", "analyze videos with Gemini", "generate video summaries", or "extract X from my videos". Requires GEMINI_API_KEY environment variable set in the system.
아래 SKILL.md는 maystudios/claude-skills(커밋 25145cf)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Sven Maibaum (maystudios). 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

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

# 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 made"

3. How Claude should handle user arguments

When the user invokes this skill:

  1. If the user specifies a custom prompt or extraction goal (e.g., "extract all tools mentioned", "summarize focusing on pricing", "list action items"), pass it via --prompt "...".
  2. If the user provides a prompt file path, pass it via --prompt-file path/to/file.txt.
  3. If the user gives no specific instructions, run without --prompt to use the default format.
  4. If the user specifies a directory, pass it as the first positional argument.

4. Default output format (when no custom prompt is given)

# [Video Title]

## Summary
[2-3 sentence description]

## Key Points
- point 1
- point 2
- ...

## Core Content & Takeaways
[Central message and key insight]

---
*Auto-generated with Gemini API*

Notes

  • Language of the summary matches the language of the video
  • Files are auto-deleted from Gemini storage after processing (48h limit)
  • Already-summarized videos are skipped on re-runs
  • Script path: scripts/summarize_videos.py
  • Model: gemini-3-flash-preview
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Sven Maibaum (maystudios)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.