Логотип Multi Video Summarizer

Multi Video Summarizer

Сообщество
keepongo
multi-video-summarizer

Summarize video/audio content from multiple platforms into structured notes with keyframe screenshots. Supports Bilibili (B站), YouTube, Douyin (抖音), Xiaohongshu (小红书), TikTok, and 1800+ sites via yt-dlp. Triggers on video URLs from any of these platforms, or Chinese requests like '总结视频', '视频笔记', '视频内容'. Detects URLs containing bilibili.com, youtube.com, youtu.be, douyin.com, xiaohongshu.com, tiktok.com, and more.

Обзор

Издательkeepongo
Репозиторийvideo-summarizer
Название навыкаmulti-video-summarizer
Звёзды
80
Форки
10
Встроенные файлы
5
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 5

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: keepongo. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Multi Video Summarizer в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/keepongo/video-summarizer/tree/master
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/keepongo/video-summarizer.git \
  .claude/skills/multi-video-summarizer
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Multi Video Summarizer в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Multi Video Summarizer, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Multi Video Summarizer не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Multi-Platform Video Summarizer

Extract subtitles/transcripts from video platforms and generate structured notes. No login or cookies required.

Supported Platforms

PlatformURL patternsExtraction method
Bilibili (B站)bilibili.com/video/, b23.tv/, BV*Public API (WBI signing)
YouTubeyoutube.com/watch, youtu.be/, youtube.com/shorts/youtube-transcript-api
Douyin (抖音)douyin.com/, v.douyin.com/yt-dlp
Xiaohongshu (小红书)xiaohongshu.com/, xhslink.com/yt-dlp
TikToktiktok.com/yt-dlp
Any otherAny URL supported by yt-dlp (1800+ sites)yt-dlp

Prerequisites

Ensure Python 3 is available:

bash
python --version

Dependency Check

Before running the extraction script, check and install required dependencies based on the video platform:

For Bilibili videos -- no extra dependencies needed (uses Python stdlib only).

For YouTube videos:

bash
pip install youtube-transcript-api

For Douyin, Xiaohongshu, TikTok, or any other platform:

bash
pip install yt-dlp

Optional -- Whisper transcription (for videos without subtitles):

  • OpenAI API mode: pip install openai
  • Local mode: pip install faster-whisper
  • Configure in config.json (see Whisper Setup below)

Only install what is needed. If the user provides a Bilibili URL, skip dependency installation entirely.

Workflow

Step 1: Install Dependencies (if needed)

Check the video URL to determine the platform. If it's NOT a Bilibili URL, ensure the required package is installed:

bash
pip install youtube-transcript-api yt-dlp

If these are already installed, skip this step.

Step 2: Extract Subtitles

Run the extraction script with the video URL:

bash
python "<skill_path>/video_subtitle.py" "<VIDEO_URL>"

Replace <skill_path> with the absolute path to this skill's directory, and <VIDEO_URL> with the video URL provided by the user.

The script automatically:

  1. Detects the platform from the URL
  2. Tries platform-specific subtitle APIs (fast, free)
  3. Falls back to yt-dlp subtitle extraction if needed
  4. Falls back to Whisper audio transcription if configured

The script outputs a JSON object to stdout containing:

  • title - Video title
  • author - Uploader name
  • duration - Video duration
  • description - Video description
  • platform - Detected platform: bilibili, youtube, douyin, xiaohongshu, tiktok, or generic
  • url - Canonical video URL
  • source - Extraction method: subtitle, ai_conclusion, transcript_api, yt_dlp_subs, whisper_local, whisper_api
  • subtitle_text - Full subtitle/transcript text (if available)
  • frames - Array of keyframe screenshots (if ffmpeg is installed and extract_frames is enabled in config.json). Each frame has path (absolute file path) and timestamp (e.g. "01:30")
  • error - Error message (if extraction failed)

Step 3: Handle Errors

If the output contains an error field:

  1. Check if the required dependencies are installed for that platform
  2. If the error mentions missing packages, install them and retry
  3. If Whisper is not enabled and no subtitles were found, suggest the user enable Whisper in config.json
  4. After fixing, retry the extraction

Step 4: Generate Structured Notes (BibiGPT Style)

When subtitle text is successfully extracted, summarize it into this BibiGPT-style format. Use the EXACT structure below, including emojis, section naming, and formatting.

If frames array is present in the JSON output, embed one screenshot per content section using the Read tool to view the frame image file, then insert it with markdown image syntax right after the section header. Match frames to sections by timestamp order -- assign one frame per section sequentially. If there are more sections than frames, some sections will have no image. If there are more frames than sections, distribute evenly.

markdown
# AI 一键总结:[{title}]({url})

# 🤖 {title} — 通俗解释


### 🏷️ {Section 1 Title}
![{Section 1 Title}]({frame_path_for_section_1})
- {Key point from transcript, preserving original examples and analogies}
- {Another key point}
*   {Sub-point or example}
*   {Sub-point or example}


### 💡 {Section 2 Title}
![{Section 2 Title}]({frame_path_for_section_2})
- {Content organized by topic}
- {Preserve vivid analogies from the video}


### 🧠 {Section 3 Title}
![{Section 3 Title}]({frame_path_for_section_3})
- {Continue grouping content logically}


### 🍎 {Section 4 Title}
![{Section 4 Title}]({frame_path_for_section_4})
- {More content sections as needed}


(... more sections using rotating emojis: 🏷️ 💡 🧠 🍎 🔑 🔢 🧱 🎯 ...)


### Summary
- {One paragraph summarizing the entire video content concisely}


### Highlights
*   🧠 {Highlight 1 with emoji} [#tag1] [#tag2] [#tag3]
*   🔪 {Highlight 2 with emoji} [#tag1] [#tag2] [#tag3]
*   🧮 {Highlight 3 with emoji} [#tag1] [#tag2] [#tag3]
*   🔢 {Highlight 4 with emoji} [#tag1] [#tag2] [#tag3]
*   🧱 {Highlight 5 with emoji} [#tag1] [#tag2] [#tag3]


[#tag1] [#tag2] [#tag3] [#tag4] [#tag5]


### Questions
*   {Thought-provoking question 1 related to the video content}
*   {Thought-provoking question 2 that extends the topic}

Guidelines for summarization:

  • Use the original language of the subtitle (Chinese for Chinese videos, English for English videos, etc.)
  • Use emoji-prefixed section headers (### 🏷️, ### 💡, ### 🧠, etc.)
  • Use - for main bullet points and * (with 4 spaces indent) for sub-points/examples
  • Group content into logical sections based on topic flow
  • Preserve vivid examples, analogies and metaphors from the video
  • Keep the summary concise but comprehensive
  • Generate 5 highlights with emojis and 3 hashtags each
  • Generate 2 thought-provoking follow-up questions
  • Add 5 relevant hashtag topics at the end
  • If the source is "ai_conclusion", note that the summary comes from B站's built-in AI summary feature
  • If the source is "whisper_local" or "whisper_api", note that the transcript was generated via speech recognition and may contain minor inaccuracies
  • Keyframe images: When frames are provided, embed them using ![title](absolute_path) syntax. Each section should have at most one image, placed directly after the ### header line. Use the absolute path value from the frames array as-is

Whisper Setup (Optional)

For videos without subtitles, Whisper can transcribe the audio. Edit config.json in this skill's directory:

Option A -- OpenAI Whisper API (fast, requires API key, costs ~$0.006/min):

json
{
    "whisper_mode": "api",
    "openai_api_key": "sk-your-key-here",
    "language": "zh"
}

Option B -- Local faster-whisper (free, requires model download ~1-3GB):

json
{
    "whisper_mode": "local",
    "whisper_model": "base",
    "language": "zh"
}

Model sizes: tiny (fast, less accurate) / base (balanced) / small / medium / large (slow, most accurate).

Douyin / Xiaohongshu / TikTok Cookie Setup

These platforms require browser cookies for yt-dlp to access video content. The script tries --cookies-from-browser automatically, but on Windows with Chrome 127+ this often fails due to DPAPI encryption.

Recommended: export cookies.txt manually

  1. Install the browser extension "Get cookies.txt LOCALLY"
  2. Open douyin.com (or xiaohongshu.com) in your browser (login is NOT required, just visit the page)
  3. Click the extension icon and export cookies
  4. Save the file as cookies.txt in this skill's directory (<skill_path>/cookies.txt)

The script will automatically detect and use this file for Douyin/Xiaohongshu/TikTok requests.

Keyframe Screenshots (Optional)

The script can extract keyframe screenshots from videos to embed in the summary. This requires ffmpeg to be installed.

To enable/disable, edit config.json:

json
{
    "extract_frames": true,
    "frames_per_video": 6
}
  • extract_frames: true (default) to capture keyframes, false to skip
  • frames_per_video: number of evenly-spaced frames to extract (default 6)

Screenshots are cached in the screenshots/ directory. If ffmpeg is not installed, frame extraction is silently skipped.

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Multi Video Summarizer?

Summarize video/audio content from multiple platforms into structured notes with keyframe screenshots. Supports Bilibili (B站), YouTube, Douyin (抖音), Xiaohongshu (小红书), TikTok, and 1800+ sites via yt-dlp. Triggers on video URLs from any of these platforms, or Chinese requests like '总结视频', '视频笔记', '视频内容'. Detects URLs containing bilibili.com, youtube.com, youtu.be, douyin.com, xiaohongshu.com, tiktok.com, and more.

Зачем использовать Multi Video Summarizer в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Multi Video Summarizer — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Multi Video Summarizer в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/keepongo/video-summarizer/tree/master. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Multi Video Summarizer?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Multi Video Summarizer?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Multi Video Summarizer: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Multi Video Summarizer?

Навык опубликован на GitHub автором keepongo. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇