Agent skill

Lecture To Notes

by ysyecust in ysyecust/lecture-to-notes

A skill your agent uses when users provide YouTube, Bilibili, or X/Twitter lecture URLs and want reader-first Chinese LaTeX/PDF notes with source-faithful claims, fluent authored prose, and verified…

Custom licenceAuto-check: notesDocuments & Office

Install Lecture To Notes

skills CLI
$ npx skills add ysyecust/lecture-to-notes --skill lecture-to-notes -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ysyecust/lecture-to-notes lecture-to-notes --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ysyecust/lecture-to-notes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lecture-to-notes .claude/skills/lecture-to-notes && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lecture-to-notes
GitHub stars
270
Token cost
~14k tokens
SKILL.md length
5,939 words
Files
4 (incl. references, assets)
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when users provide YouTube, Bilibili, or X/Twitter lecture URLs and want reader-first Chinese LaTeX/PDF notes with source-faithful claims, fluent authored prose, and verified…

  • Works in 5 steps: Installation and host capability check… → Source Acquisition → Frame Extraction and Full-Frame Selection → …
  • Users provide YouTube
  • SKILL.md covers Dependencies, Cookies and yt-dlp freshness, Goal and Non-negotiable quality bar…, plus 3 more sections
  • Calls python3, yt-dlp and pip; reaches bilibili.com and tug.org

What it does

Lecture To Notes is an agent skill from ysyecust/lecture-to-notes. Use when users provide YouTube, Bilibili, or X/Twitter lecture URLs and want reader-first Chinese LaTeX/PDF notes with source-faithful claims, fluent authored prose, and verified teaching figures, especially requests phrased as lecture notes, 视频转PDF, 课程笔记, 讲义, YouTube笔记, B站笔记, X/Twitter lecture notes, or BV号; do not produce transcript dumps, quota-padded prose, or screenshot galleries.

Its SKILL.md is about 14k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files and assets (for example `agents/openai.yaml` and `references/reader-first-writing.md`).

It sits in Documents & Office, covering LaTeX, Transcription and PDF. It works with LaTeX, YouTube, X (Twitter) and Bilibili. The repository describes itself as: Turn YouTube/Bilibili lectures into smart-cropped LaTeX/PDF notes. Claude Code & Codex skill.

When your agent uses it

  • Users provide YouTube
  • X/Twitter lecture URLs and want reader-first Chinese LaTeX/PDF notes with source-faithful claims
  • Fluent authored prose
  • Verified teaching figures

Example prompts

  • “/lecture-to-notes”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Installation and host capability check (STOP on failure)
  2. Source Acquisition
  3. Frame Extraction and Full-Frame Selection
  4. Writing
  5. Compilation, Reader-First Gate, Density Gate, and Delivery

What it can do on your machine

Read from SKILL.md and the folder at commit 0ef4e6f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • yt-dlp
    • pip
    • bash
    • ffmpeg
    • magick
    • brew
    • pipx
    • whisper
    • pdftotext

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • bilibili.com
    • tug.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lecture To Notes loads about 14k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 5,939 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~101
When it runs · the whole SKILL.md, loaded when a task matches
~14k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:56
    echo "  Linux:  sudo apt install texlive-full"

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 5,939 words (~14,078 tokens).

“Turn a YouTube, Bilibili, or X/Twitter lecture video into a complete, compilable .tex note set and a rendered PDF.”

— opening of SKILL.md by ysyecust, Custom licence
name
lecture-to-notes

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references, assets) in skills/lecture-to-notes of ysyecust/lecture-to-notes.

  • SKILL.md
  • agents/openai.yaml
  • assets/notes-template.tex
  • references/reader-first-writing.md

Open the folder on GitHubat commit 0ef4e6f

Compare with similar skills

Lecture To Notes next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lecture To Notes compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lecture To Notes this skillysyecust/lecture-to-notes270—~14kAutomated safety check: NotesCustom licence
Video Clip Extractorlinzzzzzz/openclip569—~2.8kAutomated safety check: WarnMIT
Watchmathiaschu/watch141—~4kAutomated safety check: WarnMIT
WatchTheCraigHewitt/skills157—~1.6kAutomated safety check: NotesMIT
Video Transcribewendy7756/AI-Video-Transcriber3.3k—~937Automated safety check: NotesApache-2.0
Claude Real VideoHUANGCHIHHUNGLeo/claude-real-video2.2k—~639Automated safety check: PassMIT

Similar skills

  • Video Clip Extractor

    linzzzzzz/openclip

    Processes videos to identify engaging moments, generate transcripts, and create highlight clips with artistic titles and custom cover images.

    569 GitHub stars~2.8k tokensUpdated 1 mo ago
    Media & CreativeAuto-check: warnings
  • Watch

    mathiaschu/watch

    Watch a video from YouTube, Instagram, X/Twitter, Vimeo, TikTok or any of ~1800 yt-dlp sites (or a local path).

    141 GitHub stars~4k tokensUpdated 4 mo ago
    Media & CreativeAuto-check: warnings
  • Watch

    TheCraigHewitt/skills

    When the user wants to read, transcribe, summarize, or research a video — YouTube link, podcast clip, Loom, TikTok, X/Twitter video, local file, or any URL yt-dlp supports.

    157 GitHub stars~1.6k tokensUpdated 4 mo ago
    Media & CreativeAuto-check: notes
  • Video Transcribe

    wendy7756/AI-Video-Transcriber

    Transcribe and summarize a video or podcast from a URL (YouTube, TikTok, Bilibili, Apple Podcasts, SoundCloud, 30+ platforms) or from a local media/.txt file.

    3.3k GitHub stars~937 tokensUpdated 23 days ago
    Media & CreativeAuto-check: notes
  • Claude Real Video

    HUANGCHIHHUNGLeo/claude-real-video

    Watch a video for the user. An agent skill from HUANGCHIHHUNGLeo/claude-real-video.

    2.2k GitHub stars~639 tokensUpdated 7 days ago
    Media & CreativeAuto-check passed
  • Video To Subtitle Summary

    imlewc/video-to-subtitle-summary-skill

    A skill your agent uses when user provides a short video platform URL or local video/audio file and wants subtitles/AI summary, or when user asks to list their own AI Douyin historical tasks.

    212 GitHub stars~4.6k tokensUpdated 2 mo ago
    Media & CreativeAuto-check: notes

More from ysyecust/lecture-to-notes

  • Volcengine Asr

    ysyecust/lecture-to-notes

    Transcribe local audio or video with Volcengine Doubao file ASR, including BigASR 1.0 Turbo direct upload and asynchronous 1.0 standard, 1.0 idle, or 2.0 standard jobs through TOS.

    270 GitHub stars~783 tokensUpdated 5 days ago
    Auto-check passed
  • Lecture To Md

    ysyecust/lecture-to-notes

    把课堂视频(本地或 B 站/YouTube)、文字稿、课件三者(任意组合)整理成一份详细的中文 Markdown 课堂笔记,输出按课程标题命名的 {titlename}.md(首行为 文档标题)+ 相对路径图片。Markdown 工作流,与上游 lecture-to-notes 的 LaTeX/PDF 输出并行存在;上游 skill 完全不动。触发词:markdown 笔记、md 笔记、视频转…

    270 GitHub stars~3.9k tokensUpdated 5 days ago
    Auto-check passed
  • Local Asr

    ysyecust/lecture-to-notes

    把本地长视频/音频转写成文字稿 + 可选字幕,纯本地(不上传云端),用 sherpa-onnx X-ASR Zipformer transducer 模型(int8 量化、中英双语、自动标点)。已在 macOS Apple Silicon(int8 + AMX,~100× 实时)、Linux ARM64(CPU,~32× 实时)与 Windows(PowerShell…

    270 GitHub stars~1.6k tokensUpdated 5 days ago
    Auto-check passed
  • Paper To HTML

    ysyecust/lecture-to-notes

    Generate a self-contained, beautifully styled HTML analysis of an academic paper.

    270 GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check passed

Questions about Lecture To Notes

What does Lecture To Notes do?

A skill your agent uses when users provide YouTube, Bilibili, or X/Twitter lecture URLs and want reader-first Chinese LaTeX/PDF notes with source-faithful claims, fluent authored prose, and verified…. Lecture To Notes is an agent skill from ysyecust/lecture-to-notes. Use when users provide YouTube, Bilibili, or X/Twitter lecture URLs and want reader-first Chinese LaTeX/PDF notes with source-faithful claims, fluent authored prose, and verified teaching figures, especially requests phrased as lecture notes, 视频转PDF, 课程笔记, 讲义, YouTube笔记, B站笔记, X/Twitter lecture notes, or BV号; do not produce transcript dumps, quota-padded prose, or screenshot galleries.

When should I use Lecture To Notes?

Lecture To Notes fits situations like: users provide YouTube; X/Twitter lecture URLs and want reader-first Chinese LaTeX/PDF notes with source-faithful claims; fluent authored prose; verified teaching figures.

How do I install Lecture To Notes in Claude Code?

Run `npx skills add ysyecust/lecture-to-notes --skill lecture-to-notes -a claude-code`. Or copy the skill folder (skills/lecture-to-notes in ysyecust/lecture-to-notes) into .claude/skills/lecture-to-notes in your project. Claude Code loads it when a task matches its description.

How do I install Lecture To Notes in Codex?

Run `npx skills add ysyecust/lecture-to-notes --skill lecture-to-notes -a codex`. Or copy the skill folder (skills/lecture-to-notes in ysyecust/lecture-to-notes) into .agents/skills/lecture-to-notes in your project. Codex loads it when a task matches its description.

Can I use Lecture To Notes in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ysyecust/lecture-to-notes --skill lecture-to-notes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lecture-to-notes, .gemini/skills/lecture-to-notes, .github/skills/lecture-to-notes and .opencode/skills/lecture-to-notes in your project.

What does Lecture To Notes need to run?

Going by SKILL.md and its folder, Lecture To Notes needs the command-line tools its instructions call (python3, yt-dlp, pip, bash, ffmpeg and magick). Our summary lists: Python 3.

Does Lecture To Notes access the network?

SKILL.md names 2 domains. In commands or code: bilibili.com and tug.org; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Lecture To Notes safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Lecture To Notes use?

Lecture To Notes has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Lecture To Notes use?

About 14k tokens (SKILL.md is roughly 56k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Lecture To Notes?

Skills that share tags, products or a category with Lecture To Notes: Video Clip Extractor (linzzzzzz/openclip, 569 stars), Watch (mathiaschu/watch, 141 stars), Watch (TheCraigHewitt/skills, 157 stars) and Video Transcribe (wendy7756/AI-Video-Transcriber, 3.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lecture To Notes?

ysyecust (a GitHub user) maintains it in ysyecust/lecture-to-notes, which has 270 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 3, 2026.

Source: ysyecust/lecture-to-notes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.