Generates an annotated, blog-style markdown write-up from a presentation folder containing slides and a video. It orchestrates a pipeline to fetch slides, convert them to images, extract transcripts, and synthesize a structured article with slide references and video timestamps.
Say it in your own words; the assistant finds this recipe by itself. Examples:
Use this skill when the user wants to convert a recorded presentation (slides + video) into a readable, annotated article or blog post. It is ideal for creating documentation from talks, conference sessions, or internal meetings where both visual slides and spoken content are available. The input must be a folder containing a `presentation.md` file with links to the video and slides.
You are generating a blog-style write-up from a presentation. The user will provide a presentation folder path (e.g., presentations/my-talk). That folder must contain a presentation.md file.
# Talk title
- **Date:** 2026-01-15
- **Video:** https://www.youtube.com/watch?v=VIDEO_ID
- **Slides:** slides.pdf
- **Transcript:** transcript.txt
## Notes
Extra notes here
Required fields: Video and Slides. All others are optional. Slides can be a local PDF path, PDF URL, PPTX URL, OneDrive link, or RevealJS URL. Video can be a YouTube URL or local MP4 path.
Follow these steps in order. Cache all intermediate outputs in <presentation_folder>/outputs/ so subsequent runs skip completed steps.
bash
uv run .agents/skills/fetch-slides/fetch_slides.py <url> <presentation_folder>/outputs
This produces slides.pdf (and slides_content.md for RevealJS URLs).<presentation_folder>/outputs/slides.pdf already exists.Split the PDF into individual PNGs:
uv run .agents/skills/convert-slides-to-images/convert_slides_to_images.py <pdf_path> <presentation_folder>/outputs/slide_images
Skip if <presentation_folder>/outputs/slide_images/ already contains slide_*.png files.
<presentation_folder>/outputs/transcript.txt exists, use the cached version.bash
uv run .agents/skills/extract-transcript/extract_transcript.py <youtube_url> <presentation_folder>/outputs/transcript.txtIf <presentation_folder>/outputs/chapters.txt exists, use the cached version. Otherwise:
<presentation_folder>/outputs/chapters.txt.Extract the text content of each PDF page to provide ground truth for what each slide actually says. This prevents misidentifying embedded screenshots or demo captures as actual slide content.
uv run .agents/skills/extract-slide-text/extract_slide_text.py <pdf_path> <presentation_folder>/outputs/slide_ascii.md <presentation_folder>/outputs/slide_images
Skip if <presentation_folder>/outputs/slide_ascii.md already exists.
If <presentation_folder>/outputs/outline.txt exists, use the cached version. Otherwise:
slide_*.png files in <presentation_folder>/outputs/slide_images/, sorted numerically.<presentation_folder>/outputs/slide_ascii.md (from Step 5) as ground truth for each slide's text content.<presentation_folder>/outputs/outline.txt.Gather all context, then generate the write-up following the rules below.
Context to gather:
- TRANSCRIPT — Full transcript text (Step 3)
- VIDEO_CHAPTERS — Chapter summary (Step 4)
- SLIDE_TEXT — Extracted text per slide from slide_ascii.md (Step 5). Use as ground truth for what each slide contains.
- SLIDE_OUTLINE — Numbered slide outline (Step 6)
- VIDEO_SOURCE — YouTube URL or MP4 path from presentation.md
- IS_LOCAL_VIDEO — true if VIDEO_SOURCE is a local MP4 file
- SLIDES_HTML_CONTENT — Contents of slides_content.md if it exists (RevealJS only)
- Check if SLIDES_HTML_CONTENT contains "SECTION HEADING" markers → HAS_SECTION_HEADINGS
Write-up generation prompt:
Create an annotated blog post that explains the content of each slide.
STRUCTURE REQUIREMENTS: 1. Start with a level-1 heading (#) containing the talk title. 2. Follow with an overview paragraph introducing the talk. 3. Do NOT include a table of contents — it will be generated automatically.
If HAS_SECTION_HEADINGS is true (RevealJS slides with section markers): - Use level-2 headings (##) for SECTION HEADING slides — these are section dividers. - Use level-3 headings (###) for regular slides within each section.
If HAS_SECTION_HEADINGS is false: - Use level-2 headings (##) with a descriptive title for each slide's content.
For each slide section, include:
- The heading
- The slide image reference immediately after the heading: 
- A timestamp link to the video (or [MM:SS] for local MP4s)
- The explanatory text
End with a ## Q&A section containing questions and answers, each question as a level-3 heading (###).
HEADING CAPITALIZATION: Capitalize the first letter like a normal sentence. Only capitalize proper nouns and acronyms elsewhere. - CORRECT: "Hybrid search combines keyword and vector retrieval" - WRONG: "Hybrid Search Combines Keyword And Vector Retrieval" (title case)
Example structure:
# Building intelligent agents with RAG
This talk introduces techniques for building AI agents...
## Hybrid search combines multiple retrieval methods

[Watch from 04:12](https://www.youtube.com/watch?v=VIDEO_ID&t=252s)
Hybrid search combines keyword search and vector search...
## Q&A
### How do I configure specific indexes as knowledge sources?
Answer text here...
WRITING GUIDELINES:
1. Write like speaker notes: state the actual information and explain how things work. Do NOT describe or analyze the talk from the outside.
2. Never narrate what speakers, slides, or the talk itself did. Forbidden patterns include "The speaker explains...", "This slide shows...", "The talk demonstrates...", "This section marks the shift to...", "The diagram illustrates...". Instead, just state the content directly.
3. Make every sentence information-dense without repetition.
4. Provide enough detail per slide that a reader does not need to watch the video.
5. Capture supplementary information from the talk that is NOT visible on the slides.
6. Use short words, fewer words. Get to the point.
7. Avoid multiple examples if one suffices. Cut transitional fluff.
8. Prefer flowing prose over bullet points.
9. Use simple language. No emojis. No hedge words unless exceptions matter.
10. Include relevant links from the slides where appropriate.
11. For YouTube videos, create timestamped links: [Watch from MM:SS](VIDEO_SOURCE&t=SECONDSs)
12. For local MP4 files, just provide timestamps in [MM:SS] format.
13. Reference slides as slide_images/slide_1.png, slide_images/slide_2.png, etc.
If SLIDES_HTML_CONTENT exists, use it to find URLs that should be included in the writeup.
After generating the write-up:
## headings in the generated markdown.Build a TOC: ```markdown ## Table of contents
## heading (after the # title and intro paragraph).Save the final write-up to <presentation_folder>/outputs/writeup.md.
<presentation_folder>/
├── presentation.md
└── outputs/
├── writeup.md ← Final output
├── transcript.txt ← Cached transcript
├── chapters.txt ← Cached video chapters
├── slide_ascii.md ← Extracted text per slide
├── outline.txt ← Cached slide outline
├── slides_content.md ← RevealJS extracted content (if applicable)
└── slide_images/
├── slide_1.png
├── slide_2.png
└── ...
LICENSESKILL.mdVendored from pamelafox/presentation-skills, commit 2b809b3a8d2f, path .agents/skills/generate-writeup, licence MIT. The upstream licence file ships inside the skill.