Communitygithub.com

meeting-video-to-tutorial

Turns a meeting or teaching screen recording into an illustrated tutorial. Extracts 16 kHz audio with ffmpeg, transcribes with faster-whisper small, samples keyframes, OCRs the UI with PaddleOCR 2.9, writes a Chinese HTML tutorial with numbered callouts, and embeds the images into one shareable HTML file. Use when the user asks to turn a meeting recording, teaching video, 会议录像, 教学录屏, 配置教程, or 录屏 into a 图文教程, 图文教学, or illustrated SOP.

meeting-video-to-tutorial 是什么?

meeting-video-to-tutorial is a Cursor agent skill that turns a meeting or teaching screen recording into an illustrated tutorial. Extracts 16 kHz audio with ffmpeg, transcribes with faster-whisper small, samples keyframes, OCRs the UI with PaddleOCR 2.9, writes a Chinese HTML tutorial with numbered callouts, and embeds the images into one shareable HTML file. Use when the user asks to turn a meeting recording, teaching video, 会议录像, 教学录屏, 配置教程, or 录屏 into a 图文教程, 图文教学, or illustrated SOP.

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/lkk4786583737-dotcom/meeting-video-to-tutorial/tree/HEAD

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Meeting Video to Illustrated Tutorial

Turn a screen-recording of a meeting or lesson into a tutorial a person can open in a browser. Do not send the whole video to a multimodal model. Build a local evidence pack, then write from the transcript and the on-screen words.

Outputs

Put these next to the video unless the user names another folder:

  • evidence_pack/ — audio, transcript.md, keyframes/, keyframes.json (text plus boxes), aligned_evidence.md
  • illustrated_tutorial/ — annotated JPEGs and illustrated_tutorial.html in that same folder
  • illustrated_tutorial_standalone.html — the file to send. Images are embedded. One file is enough.

Also write evidence_pack/<topic>_AI_operation_SOP.md when the video is a software procedure. The HTML tutorial is written from that SOP. Drop small talk in both.

1. Evidence Pack

Run the bundled script. It resumes if outputs already exist. Do not reinstall packages when the imports already work.

python scripts/evidence_pack.py --video "<video>" --out "<evidence_pack_dir>" --hotwords "product_name, menu_name, field_name"

The script path is this skill's scripts/evidence_pack.py. On Windows, run a .py file. Do not pass a long Python program through python -c; PowerShell splits the quotes.

What the script does, and what not to change:

  • Audio: ffmpeg, 16 kHz, mono, PCM. Transcribe the wav, not the original video.
  • Speech: faster-whisper small, CPU int8, language=zh for Chinese, beam_size=5, vad_filter=True, initial_prompt = the hotwords. Do not default to large-v3 on CPU.
  • Frames: try scene change gt(scene,0.12). That filter often returns 0 frames. Then sample every 90 seconds from t=5, scale width 1400, cap 70. A missing frame does not mean the feature is absent.
  • OCR: PaddleOCR 2.9.1 with use_angle_cls=True, lang=ch, use_gpu=False. Set FLAGS_use_mkldnn=0 before import. Save each line's box.
  • Align speech in the window [frame-20s, frame+12s] with that frame's OCR.

If Hugging Face times out, set HF_ENDPOINT=https://hf-mirror.com and run the script again. If av rejects metadata_errors, pin av==12.3.0. If PaddleOCR 3.x fails with ConvertPirAttribute2RuntimeAttribute / oneDNN, install paddlepaddle==2.6.2 and paddleocr==2.9.1 and rerun. Do not keep going on Paddle 3.x on this Windows CPU.

2. Write the Steps

Read transcript.md and aligned_evidence.md. Use existing product docs in the same project only to check terms, not to invent screens the video never showed.

  • Menu and field names come from the picture. When speech and the screen disagree, use the screen and note the mishearing. Example from a past run: speech sounded like "identify rescue" (识别抢救); the screen said "identify forced correction" (识别强纠).
  • Drop greetings, small talk, repeated confirmation, and off-topic talk.
  • A concept can be a short background note. It is not a click step.
  • A debate that did not end in a saved setting goes under "not yet decided in the demo" (演示里还没定), not into the steps.
  • Do not invent buttons, default values, or file types that were not on screen or clearly spoken. Mark those uncertain.
  • Order the tutorial in the order a person should configure, even if the speaker scrolled backwards. Say so when the video order differs.

AI SOP, one section per operation: goal, entry, preconditions, steps, verify, pitfalls, evidence timestamp, uncertain.

3. Annotate Frames

Use a frame only when it shows the control being taught. Ignore browser bookmarks, the meeting bar, and right-click menus.

Draw numbered boxes from the OCR boxes in keyframes.json. Put a same-numbered caption under the image, not on top of the control. Font on Windows: C:/Windows/Fonts/msyh.ttc. Stroke about 3 px on a 1400-wide frame. Use scripts/annotate_frames.py for the drawing.

python scripts/annotate_frames.py --spec callouts.json --out "<illustrated_tutorial_dir>"

callouts.json shape:

{
  "01_capability_binding.jpg": {
    "src": "<evidence_pack>/keyframes/kf_005_06-05.jpg",
    "boxes": [[300, 220, 430, 262, "Find AI capability binding in the edit channel."]]
  }
}

Boxes are pixels on the 1400-wide keyframe: x1, y1, x2, y2, caption.

After drawing, open the JPEGs and check each box. A box on the wrong control is a failed figure. Shrink boxes that also cover a browser menu or an open dropdown that the caption is not about. Then draw again.

4. HTML Tutorial

Write illustrated_tutorial/illustrated_tutorial.html beside the annotated JPEGs. src is only the file name, such as 01_capability_binding.jpg.

The page is for a person: title, what to ignore on the screenshots, then numbered sections. Each section has one or two sentences, the figure, and the actions. Put unfinished product discussion at the end.

Cursor's preview searches the workspace and can show images even when the HTML and the JPEGs are apart. A normal browser does not. The HTML that uses file names must sit in illustrated_tutorial/ with the JPEGs. The file to send is the embedded one.

5. One File to Share

python scripts/embed_html_images.py --html "<illustrated_tutorial>/illustrated_tutorial.html" --images "<illustrated_tutorial>" --out "<video_dir>/<topic>_illustrated_tutorial_standalone.html"

Confirm the script prints missing [] and an image count equal to the figures. Tell the user to send the single-file HTML, and give its size. The relative HTML still needs the JPEG folder.

Do Not

  • Do not resume an unrelated batch job the user already stopped.
  • Do not treat a 90-second sample as a complete click path.
  • Do not encode a demo value (a timeout, a temperature, a vendor name) as the product default unless the speaker said it is the default.

相关技能