Overview · Quick start · Installation · Usage · How it works · FAQ · Contributing · Author
Video Notes is an open-source agent skill that converts any video or audio lecture into a timestamped transcript and a well-structured study document (.docx).
Provide a link, a recording, or a transcript. The skill returns step-by-step notes with inline timestamps, key takeaways, review questions and a glossary, in the language of your choice.
It is designed for students, researchers and professionals who need reliable notes from long recordings without scrubbing through them manually. A five-hour lecture is handled the same way as a ten-minute talk: the transcript is processed in parts, so no content is truncated and no context window is exceeded.
The same lecture, rendered in two note languages. The notes language is independent of the lecture language.
| Four input types | A video URL (any site supported by yt-dlp), a YouTube video ID, a local video/audio file, or an existing transcript (VTT, SRT, TTML, a YouTube Show transcript copy, or plain text). |
| Captions first, ASR fallback | Captions are used when available, as they are instant and carry exact timestamps. Audio transcription (ASR) runs automatically as a fallback. |
| Any length | Long recordings are split into parts (respecting video chapters), so a 5-hour lecture yields roughly 15–20 parts with nothing silently dropped. |
| Any notes language | Request notes in the language you study in. Local Whisper supports around 100 languages for transcription. |
| Three note styles | study (comprehensive, default), detailed (near-complete, keeps every example) and summary (concise). |
| Timestamps throughout | Every section and key point carries a [MM:SS] marker for direct navigation to the source moment. |
| Native Word output | Genuine headings, bullets and hyperlinks, with no Markdown residue and automatic Bengali-capable fonts where needed. |
-
Install the skill in your environment (see Installation).
-
Send a prompt such as:
Create structured study notes from this lecture: https://www.youtube.com/watch?v=<video-id> -
Receive
notes.docx,notes.mdandtranscript.txt.
| Environment | Behaviour | Setup |
|---|---|---|
| claude.ai (web, free plan is sufficient) | Paste or upload a transcript and the notes are written directly. With the optional free MCP connector, pasting a video URL is enough. | Upload the skill zip |
| Claude Code / any agent with a shell | Fully automatic: fetch transcript → chunked notes → .docx. |
Copy into the skills directory |
| z.ai | Fully automatic. | Included |
- Download
video-notes-skill.zipfrom the latest release, or build it locally withpython scripts/package.py. - Open Settings → Capabilities → Skills → Upload skill, select the zip and enable it.
git clone https://github.com/rafiul254/video-notes-skill.git
cd video-notes-skill
mkdir -p ~/.claude/skills && cp -r video-notes ~/.claude/skills/
pip install yt-dlp python-docx # add openai-whisper for non-English ASRffmpeg must also be available on your PATH for audio extraction.
The three scripts in video-notes/scripts/ are standalone Python. Point your agent at video-notes/SKILL.md and it can drive the full workflow.
| Component | Purpose | Required |
|---|---|---|
| Python 3.10+ | Runs the scripts | Yes (shell environments) |
yt-dlp |
Fetches captions and audio | Yes (shell environments) |
ffmpeg |
Audio extraction and chunking | Yes (shell environments) |
python-docx |
Builds the Word document | Yes (shell environments) |
openai-whisper |
Local ASR, including Bengali | Optional |
Provide any one of the four input types and state the output you want:
Make structured study notes from this lecture, written in Bangla:
https://www.youtube.com/watch?v=<video-id>
I recorded my professor's class (audio attached). Revision notes please.
Here is the transcript copied from YouTube's "Show transcript" panel: ...
In a shell environment, the three scripts run in order:
# 1. Fetch (or clean) the transcript
python3 video-notes/scripts/fetch_transcript.py "<URL | file | video-id>" \
--out work [--lang bn,en] [--cookies cookies.txt] [--title "Lecture title"]
# 2. Generate the notes
python3 video-notes/scripts/make_notes.py --dir work \
[--lang English] [--style study|detailed|summary]
# 3. Convert to Word
python3 video-notes/scripts/notes_to_docx.py --dir work -o download/notes.docxWhen no LLM API is available, step 2 produces an AGENT_PLAN.md that your agent follows part by part. Full agent instructions are in video-notes/SKILL.md.
| File | Description |
|---|---|
<title>-notes.docx |
The final study notes |
notes.md |
The same notes as Markdown, for editing |
transcript.txt |
Full transcript with [MM:SS] timestamps |
meta.json, transcript_segments.json |
Machine-readable intermediates |
The claude.ai web sandbox has no internet access, so it cannot fetch a video by itself. A free TranscriptFetch MCP connector removes the manual transcript step:
- Create a free account at transcriptfetch.com and generate an API key (50 free credits per month; keys begin with
tf_live_). - In claude.ai, go to Settings → Connectors → Add → Add custom connector and enter:
- Name:
TranscriptFetch - URL:
https://transcriptfetch.com/mcp - Authentication: No sign in
- Request headers: name
Authorization, valueBearer tf_live_YOUR_KEY
- Name:
- In your notes chat, open + → Connectors and enable TranscriptFetch.
From then on, pasting the video link is the only manual step. A captioned video costs about one credit; AI transcription costs one credit per started five minutes, so captioned videos are recommended. See troubleshooting.md for details.
Privacy note: TranscriptFetch is a third-party service, and the video URL passes through its servers. If that is not acceptable, use the paste or upload route; everything else works identically.
flowchart LR
A[Video URL / file / transcript] --> B[fetch_transcript.py]
B -->|captions, else ASR| C[Timestamped transcript]
C --> D[make_notes.py]
D -->|chunked per part| E[notes.md]
E --> F[notes_to_docx.py]
F --> G[Study notes .docx]
- Get the transcript.
fetch_transcript.pytries, in order: a transcript file you supplied → local media (ffmpeg chunking → ASR) → yt-dlp captions → yt-dlp audio → ASR → public Piped instances. - Generate the notes.
make_notes.pysplits the transcript into parts and produces notes for each, either through an LLM API or through anAGENT_PLAN.mdexecuted by your agent. A final pass writes the overview, key takeaways, review questions and glossary. - Convert to Word.
notes_to_docx.pyemits native Word structures, self-checks for Markdown leakage, and switches to a Bengali-capable font when required.
The examples/ directory contains a complete demonstration built from a spoken mini-lecture on Rust memory management: the timestamped transcript, the Markdown notes, and the final documents in English and Bangla (.docx and .pdf).
The fetch fails with "Sign in to confirm you're not a bot".
YouTube blocks anonymous requests from many cloud IP ranges. Export cookies.txt from a logged-in browser and pass it with --cookies, use a local file, or paste the transcript. troubleshooting.md covers each option.
How long does a 5-hour lecture take? Roughly 1–3 minutes through captions. Through ASR, audio is transcribed in parallel 28-second chunks, which can take up to one to two hours. The skill reports this rather than stalling silently.
Does it work for non-English lectures?
Yes. Captions in the spoken language are used when available. For recordings without captions, install openai-whisper for local transcription in about 100 languages.
Can I get notes in a different language from the lecture?
Yes. The lecture language and notes language are independent; pass --lang or simply state the language in your prompt.
video-notes/ # the skill itself (this is what you upload)
├── SKILL.md # agent instructions: inputs, environments, workflow
├── scripts/
│ ├── fetch_transcript.py
│ ├── make_notes.py
│ └── notes_to_docx.py
├── references/troubleshooting.md
└── evals/evals.json # 6 test prompts
scripts/ # repository tooling: validate.py, package.py
.github/workflows/ci.yml # validate and package on every push; release on tags
examples/ # transcript → notes → docx/pdf demonstration
docs/screenshots/ # README screenshots
assets/ # logo, banner, social preview (SVG + PNG)
Contributions are welcome. Please read CONTRIBUTING.md first. Before opening a pull request, run:
python scripts/validate.py && python scripts/package.pySee also the CHANGELOG.
Released under the MIT License.
Built on yt-dlp, OpenAI Whisper and python-docx. The optional connector route uses TranscriptFetch.
- Star the repository so that other learners can discover it.
- Share it with classmates, colleagues and communities who study from recorded lectures.
- Open an issue for bugs or ideas, or submit a pull request (see Contributing).
- Follow PinToCloud for more IoT and AI tutorials.



