Generates a clean 16:9 PNG thumbnail of a specific slide from a OneDrive or Office Online presentation link by using a headless browser to screenshot the rendered slide canvas. It works even when the original PPTX file is not directly downloadable.
Say it in your own words; the assistant finds this recipe by itself. Examples:
Use this skill when you need a quick visual preview or thumbnail image of a single slide from a shared OneDrive/PowerPoint link. It is ideal for creating title slide images for talks or blog posts where the full deck cannot be downloaded. It is also suitable when you need a lightweight image asset rather than the entire presentation file.
Run the thumbnail_of_pptx.py script to capture a slide thumbnail from a OneDrive/Office presentation link:
uv run .agents/skills/thumbnail-of-pptx/thumbnail_of_pptx.py <url> <output_path>
url (required): A OneDrive sharing link, or an aka.ms short link that
redirects to one (e.g. https://aka.ms/my-talk-slides). The link must open
the Office Online / PowerPoint web viewer.output_path (required): Path to write the PNG thumbnail (e.g.
thumbnail.png). Parent directories are created if needed.--slide N (optional): 1-based slide number to capture. Defaults to 1, the
title slide.--scale N (optional): Device scale factor for a crisper image. Defaults to
2.--wait MS (optional): Milliseconds to wait for the slide to render before
screenshotting. Defaults to 9000. Increase for large decks or slow networks.A single PNG image of the requested slide, cropped to the slide canvas (roughly 16:9, no PowerPoint viewer UI).
Playwright browsers must be installed:
uv run playwright install chromium
aka.ms
redirects to the real OneDrive viewer).wacIframe, with a fallback that finds any
frame containing a <canvas>).N by focusing the canvas and pressing the
right-arrow key.<canvas> so the output contains only the
slide, not the surrounding viewer chrome.fetch-slides when you need the
full deck as a PDF (requires LibreOffice for PPTX), and this skill when you
just want a lightweight thumbnail image of one slide and the file may not be
downloadable.LICENSESKILL.mdthumbnail_of_pptx.pyVendored from pamelafox/presentation-skills, commit 2b809b3a8d2f, path .agents/skills/thumbnail-of-pptx, licence MIT. The upstream licence file ships inside the skill.