Skip to content
Content
Skill

/youtube-render-pdf

Generate a professional, detailed, figure-rich LaTeX course note and final PDF from a YouTube lecture, tutorial, or technical talk. Use when the user provides a YouTube URL and wants structured Chinese teaching notes that combine the video's title, chapters, diagrams, formulas,

From plugin
wdkns-skills
8224 skills

Claude Code

$ npx -y skills add wdkns/wdkns-skills --skill youtube-render-pdf --agent claude-code

SKILL.md

youtube-render-pdf.SKILL.md
name: youtube-render-pdf
description: Generate a professional, detailed, figure-rich LaTeX course note and final PDF from a YouTube lecture, tutorial, or technical talk. Use when the user provides a YouTube URL and wants structured Chinese teaching notes that combine the video's title, chapters, diagrams, formulas, code, subtitle explanations, the original video cover on the front page, and a final synthesis chapter, with key frames extracted from the highest usable video resolution and inserted as figures, and where the final deliverable must include a rendered PDF.

YouTube Render PDF

Use this skill to turn a YouTube video into a complete, compileable `.tex` note and a rendered PDF.

Goal

Produce a professional Chinese lecture note from a YouTube URL.

The output must:

  • use the video's actual teaching content rather than subtitle transcription alone
  • place the video's original cover image on the front page of the `.tex` and rendered PDF whenever available
  • include all necessary high-value key frames as figures, without adding redundant screenshots
  • end with a final synthesis section that includes the speaker's substantive closing discussion and your own distilled takeaways
  • be structurally organized with `\section{...}` and `\subsection{...}`
  • be a complete `.tex` document from `\documentclass` to `\end{document}`
  • be compiled successfully to PDF as part of the final delivery

Pedagogical Standard

The notes must read like a strong human teacher is guiding the reader through the material.

  • organize each major section so the reader first understands the motivation, then the main idea, then the mechanism, then the example or evidence, and finally the takeaway
  • be patient and explicit about logical transitions; make it clear why the speaker introduces a concept, what problem it solves, and how the next idea follows
  • aim for deep-but-accessible explanations: keep the technical depth, but introduce formalism only after giving intuition in plain language
  • when a section is dense, break it into smaller subsections that progressively build understanding rather than compressing everything into one long derivation
  • do not dump subtitle content in chronological order; rewrite it into a teaching sequence with clear intent, contrast, and buildup

Source Acquisition

1. Inspect the video metadata first. Prefer title, chapters, duration, thumbnail availability, and subtitle availability before writing.

2. Prefer the best usable video source for figure extraction. Probe formats and choose the highest resolution that is actually downloadable in the current environment.

3. Acquire the video's original cover image before writing the `.tex`. Prefer the highest-resolution thumbnail exposed by the platform metadata. Save the selected cover locally and reference that local asset from the front page. Do not substitute a random video frame when an official cover image is available.

4. Prefer the best matching subtitle track. Use manual subtitles over auto-generated subtitles when both are available. Prefer the default language that best matches the video or the user's requested language. Fall back to the closest available subtitle track only when needed. Preserve the subtitle timestamps; do not flatten subtitles into plain text too early if figures still need to be located.

5. Keep all source artifacts local when practical. Typical working artifacts are metadata, the downloaded cover image, a timestamped subtitle file, optional cleaned transcript text, a local video file, and extracted frames.

Long Video Strategy

For longer videos, do not rely on a single monolithic pass.

  • If the video is longer than 20 minutes, or the subtitle file contains more than 300 subtitle entries, split the work into smaller segments.
  • Prefer chapter boundaries for splitting. If chapters are unavailable or too uneven, split by coherent time windows or subtitle ranges.
  • When subagents are available, spawn multiple subagents in parallel for different segments so coverage stays high and detail is not lost.
  • Give each subagent a concrete segment boundary and require it to return: the segment's teaching goal, the core claims, important formulas or code, required figures with time provenance, and any ambiguities that need integration-time resolution.
  • Keep a small overlap between neighboring segments when the explanation crosses boundaries, then deduplicate during integration.
  • The main agent must integrate the segment outputs into one unified outline and one coherent final narrative. The final PDF must read like a single lecture note, not a concatenation of chunk summaries.

Teaching Content Rules

Build the notes from all of the following when available:

  • video title and chapter structure
  • the video's original cover image and key metadata
  • on-screen diagrams, formulas, tables, plots, and architecture slides
  • subtitle explanations, examples, and verbal emphasis
  • short high-signal original dialogue segments in interview, panel, podcast, or conversation videos, when the exact wording adds presence, humor, intuition, or unusually compact information
  • code snippets shown or described in the talk

Skip content that does not contribute to the actual lesson:

  • greetings
  • small talk
  • routine back-and-forth that does not add information, tension, humor, intuition, or teaching value
  • sponsorship
  • channel logistics
  • closing pleasantries

Keep the speaker's closing discussion when it carries actual teaching value, such as synthesis, limitations, future work, tradeoffs, advice, or open questions.

Writing Rules

1. Write the notes in Chinese unless the user explicitly requests another language.

2. Organize the document with `\section{...}` and `\subsection{...}`. Reconstruct the teaching flow when needed; do not blindly mirror subtitle order. Each section should answer, in order when applicable: what problem is being solved, why simpler views are

Read more
@wdkns
Ships withwdkns-skills

Stars on GitHub

Momentum

stars in total
822
Star history of wdkns/wdkns-skills on GitHub, a chart by star-history.com

Other skills on wdkns-skills.

bilibili-render-pdf

bilibili-render-pdf

Generate a professional, detailed, figure-rich LaTeX course note and final PDF from a Bilibili lecture, tutorial, or technical…

@wdkns@wdknsInstall Skill
subtitle-refine

subtitle-refine

中文 SRT 字幕上线发布专业级精修与校验。用于把基于 ASR 的原始字幕清洗为可上线版本,只做字幕级清洗和纠错,不做书面化改写、总结或扩写;同时保持与原音频严格同步,必要时仅在原字幕时间范围内拆分条目,并输出一份完整的 clean…

@wdkns@wdknsInstall Skill
tensor-formula-viz

tensor-formula-viz

Create or refine clean, shape-aware visualizations for tensor, matrix, and vector formulas or tensor code. Use for matrix-block…

@wdkns@wdknsInstall Skill

More skills from other plugins.

prompt-lookup

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…

@gh-f@gh-fInstall Skill
ppt-master

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…

@hugohe3@hugohe3Install Skill
morph-ppt

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…

officecli13d33k
@iofficeai@iofficeaiInstall Skill

Questions about youtube-render-pdf.

Which coding agents can use youtube-render-pdf?
youtube-render-pdf installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.