Agent skill

Lecture To Md

by ysyecust in ysyecust/lecture-to-notes

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

Custom licenceAuto-check passedDocuments & Office

Install Lecture To Md

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

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

GitHub CLI
$ gh skill install ysyecust/lecture-to-notes lecture-to-md --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-md/lecture-to-md .claude/skills/lecture-to-md && 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-md
GitHub stars
273
Token cost
~3.9k tokens
SKILL.md length
742 words
Files
7 (incl. scripts, references, assets)
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

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

  • Works in 8 steps: 输入解析 → 素材获取(委派 S0 子代理,主代理不亲自下载) → 文字稿核验(主代理,仅当「视频 + 用户另给的文字稿」同时提供) → …
  • Tasks that involve LaTeX
  • SKILL.md covers 与 LaTeX 版的区别, 子技能(asr 与云端转写), ASR 选型 and Dependencies, plus 5 more sections
  • Runs Python scripts from its folder; calls ffprobe, winget and bash

What it does

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

Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/notes-prompt.md` and `references/splitting.md`).

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

When your agent uses it

  • Tasks that involve LaTeX
  • Tasks that involve Markdown
  • Tasks that involve PDF

Example prompts

  • “/lecture-to-md”

Requirements

  • Python 3

Workflow steps

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

  1. 输入解析
  2. 素材获取(委派 S0 子代理,主代理不亲自下载)
  3. 文字稿核验(主代理,仅当「视频 + 用户另给的文字稿」同时提供)
  4. 验收素材(主代理,S0 产物必须亲自验)
  5. 结构与分片:决定单线程还是子代理
  6. 生成 md
  7. 目录结构重排(主代理,只改标题不动正文)
  8. 交付

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

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • ffprobe
    • winget
    • bash
    • yt-dlp

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

  • Network

    No URLs in SKILL.md.

    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 Md loads about 3.9k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 742 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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); the scripts in this folder 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 742 words (~3,858 tokens).

“把课堂视频(本地或 B 站/YouTube)、文字稿、课件三者(任意组合)整理成一份详细的中文 Markdown 课堂笔记,输出按课程标题命名的 {title_name}.md(首行为 # 文档标题)+ 相对路径图片。作为上游 lecture-to-notes LaTeX/PDF 流的 Markdown 平行方案;本 skill 与上游 skill 完全独立,不修改也不依赖上游 skill 的脚本。”

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

Read the full SKILL.md on GitHub

Files

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

  • SKILL.md
  • agents/openai.yaml
  • assets/notes-prompt.md
  • references/splitting.md
  • references/structure-reorder.md
  • references/subagent-workflow.md
  • scripts/clean_subs.py

Open the folder on GitHubat commit 0ef4e6f

Compare with similar skills

Lecture To Md 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 Md compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lecture To Md this skillysyecust/lecture-to-notes273—~3.9kAutomated safety check: PassCustom licence
MineruNebutra/MinerU-Skill123—~504Automated safety check: PassMIT
Chinese Copyright Applicationokooo5km/Skills4U183—~2.8kAutomated safety check: NotesMIT
Markerbenchflow-ai/skillsbench1.8k—~520Automated safety check: PassApache-2.0
Z Md To PDFtjxj/z-skills548—~711Automated safety check: PassMIT
Md To PDFMathews-Tom/armory329—~2.4kAutomated safety check: PassMIT

Similar skills

  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

    123 GitHub stars~504 tokensUpdated 16 days ago
    Documents & OfficeAuto-check passed
  • 中国软件著作权申请材料生成工具。申请表直接输出 Markdown 提交,源程序/用户手册/设计说明书三份生成 LaTeX 并编译为 PDF。自动分析项目代码,生成四份材料(前后各30页共60页源程序、含页眉页脚的用户手册和设计说明书、Markdown…

    183 GitHub stars~2.8k tokensUpdated 3 days ago
    Documents & OfficeAuto-check: notes
  • Marker

    benchflow-ai/skillsbench

    Convert PDF documents to Markdown using markersingle. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~520 tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Z Md To PDF

    tjxj/z-skills

    将 Markdown、Obsidian 笔记、技术文章、白皮书或长文排成中文 PDF。用户说“转成 PDF”“Markdown 转 PDF”“md 转 pdf”“排版成电子书”“生成指定风格 PDF”“一次生成多种风格”“学术风/书籍风/报告风”,或要编译 my-girlfriend-jingtian-latex 项目时,都应使用本…

    548 GitHub stars~711 tokensUpdated 18 days ago
    Documents & OfficeAuto-check passed
  • Md To PDF

    Mathews-Tom/armory

    Convert Markdown to styled PDFs with Mermaid diagrams, LaTeX/KaTeX math, tables, and code highlighting.

    329 GitHub stars~2.4k tokensUpdated 4 days ago
    Documents & OfficeAuto-check passed
  • Md To PDF Academic

    wentorai/research-plugins

    Convert Markdown to publication-quality PDF with LaTeX math rendering

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Documents & OfficeAuto-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.

    273 GitHub stars~783 tokensUpdated 7 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…

    273 GitHub stars~1.6k tokensUpdated 7 days ago
    Auto-check passed
  • Lecture To Notes

    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…

    273 GitHub stars~14k tokensUpdated 7 days ago
    Auto-check: notes
  • Paper To HTML

    ysyecust/lecture-to-notes

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

    273 GitHub stars~1.3k tokensUpdated 7 days ago
    Auto-check passed

Works with

Questions about Lecture To Md

What does Lecture To Md do?

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

When should I use Lecture To Md?

Lecture To Md fits situations like: tasks that involve LaTeX; tasks that involve Markdown; tasks that involve PDF.

How do I install Lecture To Md in Claude Code?

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

How do I install Lecture To Md in Codex?

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

Can I use Lecture To Md 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-md -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-md, .gemini/skills/lecture-to-md, .github/skills/lecture-to-md and .opencode/skills/lecture-to-md in your project.

What does Lecture To Md need to run?

Going by SKILL.md and its folder, Lecture To Md needs Python for the scripts in its folder and the command-line tools its instructions call (ffprobe, winget, bash and yt-dlp). Our summary lists: Python 3.

Does Lecture To Md access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lecture To Md safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Lecture To Md use?

Lecture To Md 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 Md use?

About 3.9k tokens (SKILL.md is roughly 15k 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 11k tokens, read only when the agent opens those files.

What are the alternatives to Lecture To Md?

Skills that share tags, products or a category with Lecture To Md: Mineru (Nebutra/MinerU-Skill, 123 stars), Chinese Copyright Application (okooo5km/Skills4U, 183 stars), Marker (benchflow-ai/skillsbench, 1.8k stars) and Z Md To PDF (tjxj/z-skills, 548 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lecture To Md?

ysyecust (a GitHub user) maintains it in ysyecust/lecture-to-notes, which has 273 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.