AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Lecture Video To Doc

skill-shyenx-slidoc-lecture-video-to-doc · by shyenx

Use when converting one or more lecture or training videos (Chinese or English speaker with slides on screen) into a structured Markdown document that pairs each slide with the cleaned narration for that slide. Triggers include "把视频整理成文档"、"视频带PPT配文字"、"讲座视频转图文笔记"、"批量处理讲座视频"、"lecture video to markdown"、"slides+narration doc"、"video to slidedeck transcript". Skip when only raw transcription is neede…

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-shyenx-slidoc-lecture-video-to-doc

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-shyenx-slidoc-lecture-video-to-doc)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Lecture Video To Doc? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Lecture Video → Slides + Narration Markdown

Overview

This skill drives the slidoc open-source pipeline (https://github.com/shyenx/slidoc). It converts lecture videos into per-video Markdown files where every PPT slide thumbnail is paired with the cleaned narration the speaker delivered while that slide was on screen.

The pipeline has four stages. Stages 1–3 are executed by the slidoc CLI; stage 4 is the LLM cleanup that this skill helps you dispatch.

mp4 ─► ① slidoc frames     → frames/k_NNNN.jpg
    ─► ② slidoc transcribe → subtitles/N-title.srt (+quality gate)
    ─► ③ slidoc align      → raw_segments.json (idempotent)
    ─► ④ LLM subagent      → video-doc.md

When to use

  • 1+ video where the speaker explains slides.
  • User wants a doc with slide thumbnails + cleaned narration.
  • Want filler / interaction / Whisper hallucinations stripped.

Don't use when:

  • Single short video with no slides → just video-transcribe.
  • Just need SRT → video-transcribe.
  • Just need frames → video-keyframe-extract.
  • Video is pure talking-head → produce SRT-only summary.

Critical rules (battle-tested)

  1. Sample-verify video format first. Run slidoc inspect . Eyeball the produced sample frames. PPT screencast = --mode scene; Zoom recording = --mode fps --interval 90; talking-head = abandon the slide-pairing approach.
  1. Always quality-gate Whisper. slidoc transcribe exits 4 if unique-line ratio 25 segments per video → run alone. The prompt MUST tell the agent to read images "ONE AT A TIME (sequential, NOT parallel)".
  1. Don't rebuild upstream artifacts. slidoc align is idempotent; re-running it never wastes compute. Same goes for slidoc transcribe (it overwrites the SRT but you can copy to .bak first if you want).

Recipe

slidoc inspect ~/my-batch                                    # decide mode per video
slidoc frames ~/my-batch/1.mp4 --out video-doc/videos/1-x --mode scene
slidoc transcribe ~/my-batch/1.mp4 --out video-doc/subtitles --basename 1-x --model medium
slidoc align video-doc
slidoc check video-doc                                            # status table
slidoc prompt video-doc                                           # prints LLM prompts

Or all-in-one:

slidoc run ~/my-batch

For stage 4, dispatch the printed prompts as Claude Code subagents (general-purpose, run_in_background: true). Wait for each, then re-run slidoc check for final verification.

Common mistakes

| Mistake | Fix | |---|---| | Skip slidoc inspect and assume scene-detect works | Always inspect; Zoom recordings need fps mode | | Use medium model and trust silently | quality gate is mandatory; retry with large-v3 on failure | | Dispatch all cleanup agents in parallel | cap concurrency at 2 | | Let cleanup agents "read all images in parallel" | the prompt must say sequential | | Modify an old raw_segments.json by hand | regenerate via slidoc align instead | | Treat video-doc.md as authoritative without spot-check | always cross-check 2-3 segments against original SRT |

See also

  • Main project: https://github.com/shyenx/slidoc
  • Pipeline architecture: docs/architecture.md in the repo
  • Lessons-learned (full failure log): docs/lessons-learned.md
  • Cleanup prompt template: templates/cleanup-prompt.md

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.