Video Summarizerのロゴ

Video Summarizer

コミュニティ
zerone-agent
video-summarizer

Download videos from URLs (YouTube, Bilibili, and any yt-dlp supported platform), transcribe speech to text using Whisper, generate a structured summary, and save both the summary and full transcript as linked Obsidian notes. Use this skill whenever the user wants to summarize a video, transcribe video content, extract key points from a video, or save video notes to Obsidian. Also trigger when the user shares a video URL and asks for analysis, notes, or a recap.

概要

公開者zerone-agent
リポジトリagent-use-skills
スキル名video-summarizer
スター
27
フォーク
9
同梱ファイル
指示のみ
ライセンスGPL-3.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    zerone-agentがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルVideo SummarizerをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/zerone-agent/agent-use-skills/tree/main/awesome-skills/skills/video-summarizer
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zerone-agent/agent-use-skills.git /tmp/agent-use-skills
mkdir -p .claude/skills
cp -r /tmp/agent-use-skills/awesome-skills/skills/video-summarizer .claude/skills/video-summarizer
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでVideo Summarizerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にVideo Summarizerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Video Summarizerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Video Summarizer

Convert video URLs into structured summaries and full transcripts, saved as linked notes in Obsidian.

Prerequisites

  • yt-dlp installed and available in PATH
  • ffmpeg installed and available in PATH
  • whisper (OpenAI) installed at ~/.whisper-venv/ with turbo model. If missing, install: python3 -m venv ~/.whisper-venv && source ~/.whisper-venv/bin/activate && pip install openai-whisper
  • obsidian CLI installed (via obsidian-cli skill)
  • Obsidian must be running

If any dependency is missing, tell the user what's missing and stop.

Workflow

Step 1: Extract video metadata

Before downloading, get the video title and metadata for naming:

bash
yt-dlp --print title --print channel --print upload_date "%VIDEO_URL%"

Parse the output: first line = title, second line = author, third line = upload date (YYYYMMDD).

Clean the title for use as a filename: replace / \ : * ? " < > | with -, collapse multiple hyphens, trim leading/trailing hyphens and spaces.

Step 2: Download video

Download to a temp directory:

bash
mkdir -p /tmp/video-summarizer
yt-dlp -o "/tmp/video-summarizer/%(title)s.%(ext)s" "%VIDEO_URL%"

Step 3: Extract audio

Use ffmpeg to extract audio as mp3:

bash
ffmpeg -i "/tmp/video-summarizer/VIDEO_FILENAME" -vn -acodec libmp3lame -q:a 2 "/tmp/video-summarizer/audio.mp3" -y

Step 4: Transcribe with Whisper

Run Whisper to produce a txt transcript. Use --language zh for Chinese content (Bilibili, Douyin, etc.). For YouTube or other platforms where the language is unknown, omit --language to let Whisper auto-detect.

bash
source ~/.whisper-venv/bin/activate && whisper "/tmp/video-summarizer/audio.mp3" --model turbo --language zh --output_format txt --output_dir /tmp/video-summarizer

Read the resulting .txt file to get the full transcript.

Step 5: Generate structured summary

Based on the transcript, create a summary with this structure:

## 一句话核心

(一句话概括视频最核心的观点或主题)

## 主要论据

(按要点列出 3-5 个关键论据或信息点,每个用加粗标题开头)

## 关键信息

(用表格整理视频中出现的具体数据、概念、工具、人名等结构化信息)

Write the summary in the same language as the video content. If the transcript is in Chinese, write the summary in Chinese.

Step 6: Save to Obsidian

Create two notes in Obsidian's Inbox/ folder, linked via wikilinks.

Summary note: Inbox/{clean-title}-视频总结.md

markdown
---
title: "{video title}"
source: "{video URL}"
author: "{channel name}"
date: {YYYY-MM-DD}
tags:
  - video-summary
type: video-summary
---

# {video title}

> [!info] 来源
> 作者:{channel name}
> 链接:[{video URL}]({video URL})
> 日期:{YYYY-MM-DD}

## 一句话核心

{one-line core point}

## 主要论据

1. **{point 1 title}** — {description}
2. **{point 2 title}** — {description}
3. **{point 3 title}** — {description}

## 关键信息

| 项目 | 内容 |
|------|------|
| ... | ... |

---

> 完整逐字稿见 [[{clean-title}-逐字稿]]

Transcript note: Inbox/{clean-title}-逐字稿.md

markdown
---
title: "{video title} - 逐字稿"
source: "{video URL}"
author: "{channel name}"
date: {YYYY-MM-DD}
tags:
  - video-transcript
type: video-transcript
---

# {video title} - 逐字稿

> [!info] 来源
> 作者:{channel name}
> 链接:[{video URL}]({video URL})
> 日期:{YYYY-MM-DD}

视频总结见 [[{clean-title}-视频总结]]

---

{full transcript text}

Use the obsidian CLI to create both files:

bash
obsidian create path="Inbox/{clean-title}-视频总结.md" content="{content}" silent
obsidian create path="Inbox/{clean-title}-逐字稿.md" content="{content}" silent

Step 7: Cleanup

Remove all temp files:

bash
rm -rf /tmp/video-summarizer

Step 8: Report to user

Tell the user:

  1. Both notes have been saved to Obsidian
  2. The note names and paths
  3. A brief one-line summary of the video content

Notes

  • For long videos (>30 min), Whisper turbo may take a while. Warn the user if the video is long.
  • If yt-dlp fails, the URL may not be supported or may require authentication. Tell the user.
  • If Whisper fails, check that it's installed and the turbo model has been downloaded (first run downloads ~1.5GB).
  • The obsidian create command uses \n for newlines in the content parameter.

よくある質問

AIスキル「Video Summarizer」では何ができますか?

Download videos from URLs (YouTube, Bilibili, and any yt-dlp supported platform), transcribe speech to text using Whisper, generate a structured summary, and save both the summary and full transcript as linked Obsidian notes. Use this skill whenever the user wants to summarize a video, transcribe video content, extract key points from a video, or save video notes to Obsidian. Also trigger when the user shares a video URL and asks for analysis, notes, or a recap.

TypingMindでVideo Summarizerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Video Summarizerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVideo Summarizerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/zerone-agent/agent-use-skills/tree/main/awesome-skills/skills/video-summarizerを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Video Summarizerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Video Summarizerは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもVideo Summarizerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Video Summarizer」は無料ですか?

はい。zerone-agentがGitHubでGPL-3.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇