youtube-notetaker
Skill này làm gì
Biến video YouTube thành ghi chú học tập lưu trên máy. Nó lưu ảnh chụp slide, bản ghi lời thoại đầy đủ, ghi chú có thể chỉnh sửa và một trình xem.
Khi nào nên dùng
- ✓Khi bạn muốn tạo kho lưu trữ học tập cá nhân từ các video YouTube.
- ✓Khi bạn sắp xếp bài giảng hoặc lớp học để tham khảo sau này.
- ✓Khi bạn muốn có một bản ghi có thể chỉnh sửa về thông tin quan trọng của video.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/youtube-notetaker/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Biến video YouTube này thành ghi chú học tập: [liên kết video]”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Chương trình tải video, trích xuất slide và bản ghi lời thoại, rồi sắp xếp mọi thứ vào một file văn bản đơn giản (markdown). Sau đó bạn có thể chỉnh sửa ghi chú và xem tất cả trên một trang web cục bộ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
…
Câu hỏi thường gặp
Tôi có cần cài đặt gì không?
Có, bạn cần cài các công cụ như yt-dlp, ffmpeg, Pillow và PyYAML trên máy tính.
“Markdown” là gì?
Markdown là cách định dạng văn bản đơn giản, như in đậm hoặc danh sách, dễ đọc và dễ viết.
Điều gì xảy ra nếu video YouTube không cho phép nhúng?
Chương trình vẫn hoạt động, nhưng thay vì phát video trong trình xem, nó sẽ cung cấp liên kết để mở video trực tiếp trên YouTube ở đúng thời điểm đó.
Chi tiết
Mô tả gốc của tác giả
Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6229
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.