Skip to content

About

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.

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Video Notes — turn any video lecture into structured study notes

License: MIT Python 3.10+ Agent skill Works on the claude.ai free plan Notes in any language Version 1.0.0 Pull requests welcome

Overview · Quick start · Installation · Usage · How it works · FAQ · Contributing · Author


Overview

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.

English study notes generated by Video Notes    Bangla study notes generated by Video Notes

The same lecture, rendered in two note languages. The notes language is independent of the lecture language.

Features

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.

Quick start

  1. Install the skill in your environment (see Installation).

  2. Send a prompt such as:

    Create structured study notes from this lecture:
    https://www.youtube.com/watch?v=<video-id>
    
  3. Receive notes.docx, notes.md and transcript.txt.

Supported environments

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

Installation

claude.ai (free plan supported)

  1. Download video-notes-skill.zip from the latest release, or build it locally with python scripts/package.py.
  2. Open Settings → Capabilities → Skills → Upload skill, select the zip and enable it.

Claude Code

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 ASR

ffmpeg must also be available on your PATH for audio extraction.

Other scriptable agents

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.

Requirements

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

Usage

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: ...

Command-line workflow

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.docx

When 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.

Output

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

Fully automatic on the claude.ai free plan (optional)

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:

  1. Create a free account at transcriptfetch.com and generate an API key (50 free credits per month; keys begin with tf_live_).
  2. 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, value Bearer tf_live_YOUR_KEY
  3. 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.

How it works

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]
Loading
  1. Get the transcript. fetch_transcript.py tries, in order: a transcript file you supplied → local media (ffmpeg chunking → ASR) → yt-dlp captions → yt-dlp audio → ASR → public Piped instances.
  2. Generate the notes. make_notes.py splits the transcript into parts and produces notes for each, either through an LLM API or through an AGENT_PLAN.md executed by your agent. A final pass writes the overview, key takeaways, review questions and glossary.
  3. Convert to Word. notes_to_docx.py emits native Word structures, self-checks for Markdown leakage, and switches to a Bengali-capable font when required.

Examples

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).

FAQ

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.

Project structure

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)

Contributing

Contributions are welcome. Please read CONTRIBUTING.md first. Before opening a pull request, run:

python scripts/validate.py && python scripts/package.py

See also the CHANGELOG.

License

Released under the MIT License.

Acknowledgements

Built on yt-dlp, OpenAI Whisper and python-docx. The optional connector route uses TranscriptFetch.

Author

Rafiul Islam Rafiul Islam
B.Sc. student in IoT & Robotics Engineering, University of Frontier Technology, Bangladesh.
Student Researcher at ELITE Research Lab. Previously an ML intern at FlyRank AI & SYNTECXHUB and a participant in the BYSDO Ignite Internship Program (Batch-04).
Active in the university AI Community and Robotics Club. Creator of the PinToCloud YouTube channel, which publishes IoT and AI project tutorials.

Portfolio GitHub YouTube Medium

Support the project

  • 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.

Developed by Rafiul Islam

About

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.

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages