youtube-notetaker
できること
YouTube動画を、ローカルで使える学習ノートに変換するツールです。スライドのスナップショット、文字起こしの全文、編集可能なノート、ビューアーを保存します。
使う場面
- ✓YouTube動画を自分専用の学習アーカイブとして作成したいとき。
- ✓講義や授業を整理して、後で見返せるようにしたいとき。
- ✓動画の重要な情報を、編集できる形で残しておきたいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/youtube-notetaker/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この YouTube 動画を学習ノートにしてください: [動画のリンク]”
毎週5つの新しいスキル。1分で読めます。
仕組み
プログラムが動画をダウンロードし、スライドと文字起こしを抽出して、すべてをシンプルなテキストファイル(Markdown)にまとめます。その後、ノートを編集したり、ローカルのWebサイト上で内容を閲覧したりできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
YouTube Notetaker
When to Use
Use when this workflow matches the user request: >
Source: dair-ai/dair-academy-plugins (MIT).
Build a personal library of YouTube talks you study with. Each video becomes one plain markdown file: slide snapshots at their timestamps, a full timestamped transcript, and editable notes. A small bundled server renders the library as an interactive deep-dive in the browser. No database, no cloud service. Everything is files on disk you fully own.
Architecture (read this first)
The markdown library is the single source of truth. The artifact is a thin HTML shell that fetches from the server and writes notes back. Never hardcode video data into the HTML.
- Library: a plain folder, set by
VIDEO_LIBRARY_DIR(default~/video-deepdives/).- One markdown file per video, filename slug = YouTube id (e.g.
RtywqDFBYnQ.md). - Frontmatter holds video metadata + a
slidesarray. - Body holds the full transcript as
[HH:MM:SS] textlines. _media/holds slide images, namespaced per video as<youtube_id>-slide-NN.jpgto avoid collisions between videos.
- One markdown file per video, filename slug = YouTube id (e.g.
- Server:
scripts/serve.py, a single stdlib + PyYAML file. Start it with:
It serves the artifact atpython3 scripts/serve.py --dir ~/video-deepdives --port 8000/and a small API the artifact talks to:GET /api/video-deepdives(front page fetches this) lists every video.GET /api/video-deepdives/<id>returns one video{meta, body}.GET /api/video-deepdives/_media/<file>serves a slide image.PATCH /api/video-deepdives/<id>with{fields:{slides:[...]}}writes notes back.- It picks up new videos automatically the moment a markdown file exists. Adding a video means writing a markdown file + media; you almost never touch the HTML.
- The
/api/video-deepdivesURL namespace is local to the bundled server.
- Artifact:
reference/artifact.html, served byserve.pyat/. A clean reference copy; only rewrite it if the user wants a UI change. For new videos, leave it alone.
Requirements
yt-dlpandffmpegon PATH (download + frame/scene extraction).- Python 3 with
Pillow(contact sheet) andPyYAML(markdown file + server).pip install yt-dlp pillow pyyaml # ffmpeg via your package manager
Adding a video — the pipeline
All helper scripts are in scripts/. setup.sh creates a private, unpredictable scratch
directory; copy the printed SCRATCH path into a shell variable, then copy final assets into the
library. Set VIDEO_LIBRARY_DIR once per shell if you don't want the
default. Do not use em dashes (—) or arrows (→) in notes/titles.
1. Resolve the id and check embeddability
bash scripts/setup.sh "<youtube_url_or_id>"
Prints the 11-char YTID, the scratch dir, the target library path, and whether YouTube
embedding is allowed (oembed 200) or blocked (oembed 401, e.g. some university talks).
If blocked, inline playback won't work but the artifact degrades gracefully to an "open at this
moment on YouTube" link, so proceed normally.
Copy the exact unpredictable path printed by the command before continuing:
SCRATCH="/path/printed/by/setup.sh"
2. Download video + subtitles
bash scripts/download.sh "<YTID>" "$SCRATCH"
Uses yt-dlp to grab the video (≤720p is plenty for slide frames) and the best available
subtitles (manual if present, else auto-captions) as .vtt. Also fetches title/uploader.
3. Detect candidate slide timestamps
bash scripts/detect_slides.sh "$SCRATCH/video.mp4" "$SCRATCH"
Runs ffmpeg scene detection (select='gt(scene,0.3)') and writes scene_times.txt (seconds).
0.3 is a good default; lower it (0.2) for subtle slide decks, raise it (0.4) for busy video.
4. Build a contact sheet and CURATE
python3 scripts/contact_sheet.py "$SCRATCH/video.mp4" "$SCRATCH/scene_times.txt" "$SCRATCH/contact.jpg"
Read contact.jpg (labeled with index + timestamp). This is the human-judgment step: keep
frames that are real content slides; drop talking-head shots, transitions, duplicates, and
blurry mid-animation frames. Save the kept timestamps (seconds) to $SCRATCH/keep.txt,
one per line. Typical talk yields 15-25 slides.
5. Extract the curated slides at full quality and install to _media
…
よくある質問
何かインストールする必要はありますか?
はい。お使いのコンピューターに、yt-dlp、ffmpeg、Pillow、PyYAML などのツールをインストールする必要があります。
「Markdown」とは何ですか?
Markdownは、太字やリストなどを使って文章を装飾できるシンプルな書式です。読み書きが簡単なのが特徴です。
YouTube動画の埋め込みが許可されていない場合はどうなりますか?
プログラムは引き続き動作します。ただし、ビューアーの中で動画を再生する代わりに、該当する時間から YouTube で直接動画を開けるリンクが表示されます。
詳細
作者による元の説明
Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.
人気
- GitHubのスター
- 48k
- ランキング
- #6229
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。