generate-writeup
Skill129 starsChanged 7 months agoMITView on GitHub
Generate an annotated blog-style write-up from a presentation's slides and video recording. Orchestrates the full pipeline: fetching slides, converting to images, extracting transcript, generating chapters, outlining slides, and producing the final annotated markdown. USE FOR: write-up, blog post, presentation summary, annotated write-up, generate writeup.
In this repository15 other files it gives its agents.
- capture-video-framesSkill
- convert-slides-to-imagesSkill
- discussion-commenterSkill
- extract-slide-textSkill
- extract-transcriptSkill
- fetch-slidesSkill
- generate-images-maiSkill
- make-revealjs-presentationSkill
- make-speaker-promo-cardsSkill
- outline-slidesSkill
- pdf-to-markdownSkill
- review-presentationSkill
- thumbnail-of-pptxSkill
- youtube-descriptionSkill
- youtube-live-chatSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. About 0 are common, 22 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Follow these steps in order.
- Distinctive: line 42
If Slides in presentation.md is a URL, fetch and convert to PDF:
- Distinctive: line 47
If slides is a local file path (relative to the presentation folder), use it directly.
- Distinctive: line 62
If Transcript is specified in presentation.md, read from that path (relative to presentation folder).
- Very specific: line 63
If <presentation_folder>/outputs/transcript.txt exists, use the cached version.
- Very specific: line 71
If <presentation_folder>/outputs/chapters.txt exists, use the cached version.
- Distinctive: line 73
Read the transcript from Step 3.
- Distinctive: line 74
Write a brief summary paragraph (2-3 sentences) describing what the video is about.
- Distinctive: line 75
Create a list of timestamped chapters in "MM:SS - Chapter Title" format covering the main topics.
- Very specific: line 93
Read <presentation_folder>/outputs/slide_ascii.md (from Step 5) as ground truth for each slide's text content.
- Distinctive: line 94
Look at each slide image and write a one-sentence summary.
- Very specific: line 110
Check if SLIDES_HTML_CONTENT contains "SECTION HEADING" markers → HAS_SECTION_HEADINGS
- Distinctive: line 114
Create an annotated blog post that explains the content of each slide.
- Distinctive: line 117
Start with a level-1 heading (#) containing the talk title.
- Distinctive: line 118
Follow with an overview paragraph introducing the talk.
- Distinctive: line 119
Do NOT include a table of contents — it will be generated automatically.
- Very specific: line 121
If HAS_SECTION_HEADINGS is true (RevealJS slides with section markers):
- Distinctive: line 122
Use level-2 headings (##) for SECTION HEADING slides — these are section dividers.
- Distinctive: line 123
Use level-3 headings (###) for regular slides within each section.
- Very specific: line 125
If HAS_SECTION_HEADINGS is false:
- Distinctive: line 126
Use level-2 headings (##) with a descriptive title for each slide's content.
- Distinctive: line 162
Write like speaker notes: state the actual information and explain how things work.
- Distinctive: line 163
Never narrate what speakers, slides, or the talk itself did.
- Distinctive: line 167
Use short words, fewer words.
- Distinctive: line 168
Avoid multiple examples if one suffices.
- Distinctive: line 169
Prefer flowing prose over bullet points.
- Distinctive: line 170
Use simple language. No emojis.
- Very specific: line 176
If SLIDES_HTML_CONTENT exists, use it to find URLs that should be included in the writeup.
- Distinctive: line 180
After generating the write-up:
- Distinctive: line 185
Remove special characters (keep alphanumeric, spaces, hyphens)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate annotated write-up from a presentation
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.
presentation.md format
# Talk title
- **Date:** 2026-01-15
- **Video:** https://www.youtube.com/watch?v=VIDEO_ID
- **Slides:** slides.pdf
- **Transcript:** transcript.txt
## Notes
Extra notes hereRequired 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.
Pipeline
This pipeline uses scripts from sibling skills (fetch-slides, convert-slides-to-images, extract-transcript, extract-slide-text), which must be installed alongside this skill. Script paths below are relative to this skill's directory.
Follow these steps in order. Cache all intermediate outputs in <presentation_folder>/outputs/ so subsequent runs skip completed steps.
Step 1: Resolve slides
- If Slides in presentation.md is a URL, fetch and convert to PDF:
This producesuv run ../fetch-slides/fetch_slides.py <url> <presentation_folder>/outputsslides.pdf(andslides_content.mdfor RevealJS URLs). - If slides is a local file path (relative to the presentation folder), use it directly.
- Skip if
<presentation_folder>/outputs/slides.pdfalready exists.
Step 2: Convert slides to images
Split the PDF into individual PNGs:
uv run ../convert-slides-to-images/convert_slides_to_images.py <pdf_path> <presentation_folder>/outputs/slide_imagesSkip if <presentation_folder>/outputs/slide_images/ already contains slide_*.png files.
Step 3: Extract transcript
- If Transcript is specified in presentation.md, read from that path (relative to presentation folder).
- If
<presentation_folder>/outputs/transcript.txtexists, use the cached version. - Otherwise, extract from YouTube:
uv run ../extract-transcript/extract_transcript.py <youtube_url> <presentation_folder>/outputs/transcript.txt
Step 4: Generate video chapters
If <presentation_folder>/outputs/chapters.txt exists, use the cached version. Otherwise:
- Read the transcript from Step 3.
- Write a brief summary paragraph (2-3 sentences) describing what the video is about.
- Create a list of timestamped chapters in "MM:SS - Chapter Title" format covering the main topics.
- Save to
<presentation_folder>/outputs/chapters.txt.
Step 5: Extract slide text
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 ../extract-slide-text/extract_slide_text.py <pdf_path> <presentation_folder>/outputs/slide_ascii.md <presentation_folder>/outputs/slide_imagesSkip if <presentation_folder>/outputs/slide_ascii.md already exists.
Step 6: Outline slides
If <presentation_folder>/outputs/outline.txt exists, use the cached version. Otherwise:
- Find all
slide_*.pngfiles in<presentation_folder>/outputs/slide_images/, sorted numerically. - Read
<presentation_folder>/outputs/slide_ascii.md(from Step 5) as ground truth for each slide's text content. - Look at each slide image and write a one-sentence summary. Base the summary primarily on the extracted text from slide_ascii.md, using the image only for visual context (diagrams, layout, screenshots).
- For large presentations (50+ slides), work in batches of 50.
- Save to
<presentation_folder>/outputs/outline.txt.
Step 7: Generate the annotated write-up
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 fromslide_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.mdIS_LOCAL_VIDEO— true if VIDEO_SOURCE is a local MP4 fileSLIDES_HTML_CONTENT— Contents ofslides_content.mdif 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:
- Start with a level-1 heading (#) containing the talk title.
- Follow with an overview paragraph introducing the talk.
- 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:
- Write like speaker notes: state the actual information and explain how things work. Do NOT describe or analyze the talk from the outside.
- 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.
- Make every sentence information-dense without repetition.
- Provide enough detail per slide that a reader does not need to watch the video.
- Capture supplementary information from the talk that is NOT visible on the slides.
- Use short words, fewer words. Get to the point.
- Avoid multiple examples if one suffices. Cut transitional fluff.
- Prefer flowing prose over bullet points.
- Use simple language. No emojis. No hedge words unless exceptions matter.
- Include relevant links from the slides where appropriate.
- For YouTube videos, create timestamped links:
[Watch from MM:SS](VIDEO_SOURCE&t=SECONDSs) - For local MP4 files, just provide timestamps in
[MM:SS]format. - 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.
Step 8: Insert table of contents
After generating the write-up:
- Find all
##headings in the generated markdown. - For each heading, create an anchor link:
- Convert to lowercase
- Remove special characters (keep alphanumeric, spaces, hyphens)
- Replace spaces with hyphens
- Collapse multiple hyphens
- Build a TOC:
## Table of contents - [Heading text](#anchor-link) - [Another heading](#another-heading) - Insert the TOC before the first
##heading (after the#title and intro paragraph).
Step 9: Save output
Save the final write-up to <presentation_folder>/outputs/writeup.md.
Output structure
<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
└── ...Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

