ai-image-ppt
Skill16 starsChanged 7 days agoMITView on GitHub
Generate visually unified image-based PPT/PPTX decks from articles, reports, papers, notes, or outlines.
- Reads credentials
In this repository13 other files it gives its agents.
- ai-detectorSkill
- ai-documentsSkill
- ai-sheetsSkill
- browser-automationSkill
- data-analysisSkill
- deep-researchSkill
- mindmapSkill
- page-seo-checkerSkill
- page-seo-generator-i18nSkill
- page-seo-generatorSkill
- seo-image-generatorSkill
- seo-keyword-difficultySkill
- transcriptSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 7 are distinctive, and 18 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
18
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use this for visually unified PowerPoint decks whose slides contain full-slide images.
- Very specific: line 14
If a built-in image generation tool is available, select it directly as the image backend without reading docs/backend-selection.md, …
- Very specific: line 19
Read the relevant Reference Map files before each phase.
- Distinctive: line 24
After sample approval, generate remaining slides in batches of at most 6 concurrent image calls in the main agent using the selected …
- Very specific: line 26
Every final origin_image/slide_XX.png must be generated by the selected image backend: built-in image generation/editing tool or …
- Distinctive: line 29
After sample approval, record the sample generation method and retain its backend and visual settings.
- Distinctive: line 31
If the selected image backend or a required-image path is unavailable, stop and report a blocker with the slide id and evidence.
- Very specific: line 47
Use the gate evidence in docs/workflow-gates-and-progress.md for confirmation steps and actual output files for production steps.
- Very specific: line 52
Read docs/workflow-gates-and-progress.md and docs/outline-style-and-sample.md.
- Very specific: line 57
Read docs/project-assembly-and-reporting.md before initializing folders and docs/user-supplied-assets.md before using source images.
- Very specific: line 64
Write outline.md with the confirmed settings, titles, key points, page roles, and required image mappings.
- Very specific: line 67
If a built-in image generation tool is available, select it directly.
- Very specific: line 71
Read docs/outline-style-and-sample.md and generate one representative slide after the outline and style are approved and the backend is …
- Very specific: line 77
Create deck_spec.json, including the approved sample method and approved_style_reference.
- Very specific: line 79
Run prepare_slide_prompts.py once after recording the accepted sample's actual method and style reference.
- Very specific: line 82
Read prompts/slide-generation.md and execute jobs whose expected final images are missing in batches of at most 6 concurrent image calls in …
- Distinctive: line 84
Keep the backend and visual identity fixed.
- Very specific: line 88
Before QA or assembly, read docs/project-assembly-and-reporting.md.
- Distinctive: line 93
Write speaker notes and assemble the PPT.
- Very specific: line 94
Before writing speech.md or running assembly, read docs/project-assembly-and-reporting.md.
- Very specific: line 95
Make sure outline.md reflects the final confirmed deck outline.
- Very specific: line 96
Before assembly, check every expected image path from deck_spec.json.
- Very specific: line 100
Use the final report checklist in docs/project-assembly-and-reporting.md.
- Distinctive: line 112
Every final slide image comes from the selected image backend, including the reused approved sample.
- Distinctive: line 116
If blocked, the final response identifies phase, slide id, evidence path, and unfinished reason.
≈ “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
AI Image PPT
Overview
This skill creates image-based PowerPoint decks from source material. Each slide is a complete generated image, defaulting to 16:9. Supported ratios are 16:9 (default), 4:3, 1:1, 3:4, 9:16, and 21:9. If another supported ratio is requested, use it consistently in prompts, image dimensions, and PPT assembly. Final images are assembled into .pptx with scripts/assemble_ppt.py.
Use this for visually unified PowerPoint decks whose slides contain full-slide images. The deliverable is a .pptx file; image-based describes slide construction, not an alternative delivery format. Do not use it when every textbox, chart, or shape must remain separately editable.
If a built-in image generation tool is available, select it directly as the image backend without reading docs/backend-selection.md, docs/cli-api-fallback.md, or docs/image-model-configuration.md. Otherwise, read those three files and then select the image backend. Backend selection does not require user confirmation.
Hard Constraints
- Assemble and deliver
.pptxby default; do not ask users to choose between slide images and PPTX. Images are intermediate assets or supplementary deliverables unless the user explicitly requests images only. - Read the relevant
Reference Mapfiles before each phase. This file is the orchestration contract; detailed rules live indocs/and per-slide guidance inprompts/. - For every script used in this workflow, learn usage from the relevant documentation first. If it does not answer the concrete question, run the script's
--help(and subcommand--helpwhen applicable). Read source only after both documentation and help are unavailable, fail, or leave that same question unresolved; then inspect only the relevant sections. An execution error alone does not bypass this order. - First confirm visual style, audience, scenario, tone, and slide count together, reusing explicitly specified or clearly inferable values without confirmation. Require outline and sample confirmation afterward. Skip sample confirmation also when inspection verifies consistency with a user-provided style reference image. Otherwise waive confirmation only on explicit user request, following
docs/workflow-gates-and-progress.md; never infer a waiver from silence or a general creation request. - Confirmation means asking about unresolved settings or the displayed outline/sample and waiting for the user's actual selection or affirmative reply. Prefer an available built-in question tool; otherwise ask in chat. Group unresolved settings within the tool's limits, with concise choices and a recommended option. Show the outline/sample before offering approval or revision choices. Preselected defaults, tool completion, and timeouts do not count as approval.
- Respect approval gates. Do not create final
deck_spec.json,speech.md, prompt jobs, slide images, or.pptxbefore the approvals indocs/workflow-gates-and-progress.md. - After sample approval, generate remaining slides in batches of at most 6 concurrent image calls in the main agent using the selected backend. Do not delegate slide generation to subagents.
- The main agent owns prompt jobs, generation, image saving, QA, notes, and assembly.
- Every final
origin_image/slide_XX.pngmust be generated by the selected image backend: built-in image generation/editing tool orscripts/image_gen.py. - Local drawing, Pillow, SVG, HTML/CSS/canvas screenshots, python-pptx/PptxGenJS layouts, and manual overlays are failure modes, not fallbacks.
- The selected image backend must stay fixed after backend selection. Do not switch backend for convenience.
- After sample approval, record the sample generation method and retain its backend and visual settings; allow generation/edit mode to vary with image-input and repair needs.
- A slide is generated successfully if and only if its expected
origin_image/slide_XX.pngfile exists. Do not create separate task-state files. - If the selected image backend or a required-image path is unavailable, stop and report a blocker with the slide id and evidence. Do not create a lower-quality replacement.
Visible Progress
For non-trivial decks, keep a user-visible checklist with one active step. Canonical completion evidence is in docs/workflow-gates-and-progress.md.
Default visible steps:
- Confirm style, audience, scenario, tone, and slide count.
- Prepare source, outline, and backend decisions.
- Generate and approve one sample slide.
- Prepare slide prompts.
- Generate images in batches in the main agent (up to 6 concurrent calls).
- Save generated slide images.
- QA, repair, notes, and PPT assembly.
Use the gate evidence in docs/workflow-gates-and-progress.md for confirmation steps and actual output files for production steps.
Default Workflow
- Confirm style, audience, scenario, tone, and slide count.
- Read
docs/workflow-gates-and-progress.mdanddocs/outline-style-and-sample.md. - Reuse explicit choices and settings clearly inferable from the user's request; briefly state inferred settings and ask only about missing or ambiguous values together, preferably using an available built-in question tool, with a recommended combination. Audience examples: students, teachers, colleagues. Scenario examples: teaching slides, picture books, work summaries, business reports. Tone examples: neutral, friendly, professional, educational, technical, academic.
- Reference images resolve visual style only. Never infer audience, scenario, tone, or slide count from their content, appearance, or quantity; use the user's written instructions for those settings and ask when unresolved. Resolve this gate before source preparation and outlining; record the settings in
outline.mdonce the project exists.
- Read
- Prepare source material, project directory, and assets.
- Read
docs/project-assembly-and-reporting.mdbefore initializing folders anddocs/user-supplied-assets.mdbefore using source images. - Identify topic, goal, language, and required or excluded content using the confirmed audience, scenario, and tone; retain the confirmed slide count.
- Choose the output directory and initialize the project folders before writing the outline or generating a sample. Use the current working directory or source directory when no destination is given.
- Extract and inspect required assets, recording their paths and roles. Folder initialization does not authorize downstream production.
- Read
- Plan and confirm the outline.
- Read
docs/workflow-gates-and-progress.mdanddocs/outline-style-and-sample.md. - Write
outline.mdwith the confirmed settings, titles, key points, page roles, and required image mappings. Present it and ask for outline approval, preferably using an available built-in question tool; wait for an affirmative reply before generation, unless the user explicitly waived confirmation.
- Read
- Select the image backend.
- If a built-in image generation tool is available, select it directly. Do not read
docs/backend-selection.md,docs/cli-api-fallback.md, ordocs/image-model-configuration.mdon this path. - Otherwise, read those three files, then select the image backend.
- If a built-in image generation tool is available, select it directly. Do not read
- Generate and approve one sample.
- Read
docs/outline-style-and-sample.mdand generate one representative slide after the outline and style are approved and the backend is selected. - Compose the sample prompt directly from the confirmed outline, style, and required references; do not run
prepare_slide_prompts.pyto prepare the sample. - Save it under its final
origin_image/slide_XX.pngname. Show the sample inline with Markdown image syntax, not a plain link, and ask for approval, preferably using an available built-in question tool; wait for an affirmative reply before full production unless the user explicitly waived sample confirmation or inspection verifies that the sample matches a user-provided style reference image; apply the checks indocs/outline-style-and-sample.md.
- Read
- Prepare the deck specification and jobs.
- Read
docs/slide-generation.md. - Create
deck_spec.json, including the approved sample method andapproved_style_reference. Keep the approved sample image at its final path. - Carry audience, scenario, and tone into
deck_contextso every slide job inherits them; use the confirmed style instyleand tone in speaker notes. - Run
prepare_slide_prompts.pyonce after recording the accepted sample's actual method and style reference. Rebuild jobs only when the spec changes. Reuse the approved sample: its final image already exists.
- Read
- Generate and save each remaining slide.
- Read
prompts/slide-generation.mdand execute jobs whose expected final images are missing in batches of at most 6 concurrent image calls in the main agent. Do not delegate. - For each job, call the selected backend, inspect the candidate, repair as needed, and save or copy the chosen generated image to its expected
origin_image/slide_XX.pngpath. Finish and save all results in the current batch before launching the next batch. - Keep the backend and visual identity fixed. Choose generation or editing according to required image inputs and repair needs; sample mode is provenance, not a mandatory mode for every call.
- On failure, report the page and reason; leave its final image absent. After the cause is resolved, retry the missing page without any state reset.
- Read
- Quality check and repair.
- Before QA or assembly, read
docs/project-assembly-and-reporting.md. - Inspect every slide before assembly: text, outline match, truncation, style, unwanted page numbers, overlaps, and required assets.
- Regenerate severe failures with a tighter prompt. Use backend editing for localized issues when available.
- For CLI/API fallback edit commands, read
docs/cli-api-fallback.md. Replace the final slide only after validating the edited output.
- Before QA or assembly, read
- Write speaker notes and assemble the PPT.
- Before writing
speech.mdor running assembly, readdocs/project-assembly-and-reporting.md. - Make sure
outline.mdreflects the final confirmed deck outline. Usespeech.mdheadings that map toSlide N. - Before assembly, check every expected image path from
deck_spec.json. Stop if any image is missing; do not rely on file count alone. - Complete image QA, repairs, and notes before assembly; follow the assembly and rebuild rules in
docs/project-assembly-and-reporting.md.
- Before writing
- Report the result.
- Use the final report checklist in
docs/project-assembly-and-reporting.md. - Include paths, slide count, generated/missing slide counts, and any limitations or blockers.
- Use the final report checklist in
Main-Agent Generation
Execute saved slide jobs directly in the main agent in batches of at most 6 concurrent image calls, using the selected backend and approved visual settings. Each call handles one slide. Wait for every call in a batch to finish, inspect and save each result, then start the next batch only if all expected images in that batch exist. Repairs and retries count toward the same limit. Use smaller batches or serial calls if the runtime/backend cannot parallelize. Do not create subagents.
Acceptance Criteria
- Output is a valid
.pptx. - Each expected final slide image exists under
origin_image/slide_XX.png. - Every final slide image comes from the selected image backend, including the reused approved sample.
outline.mdreflects the approved deck outline.speech.mdexists when speaker notes are expected, and assembly writes those notes into the PPT.- Required source images are visibly represented, or a blocker is reported.
- If blocked, the final response identifies phase, slide id, evidence path, and unfinished reason; do not call the deck complete.
Reference Map
docs/workflow-gates-and-progress.md: approval gates, progress, completion evidence.docs/backend-selection.md: read when no built-in image generation tool is available.docs/outline-style-and-sample.md: outline, style, sample rules, prompt examples.docs/user-supplied-assets.md: strict handling for required source assets.docs/slide-generation.md: prompts, batched generation, image saving, and retries.docs/cli-api-fallback.md: read when no built-in image generation tool is available; runtime, commands, limits, troubleshooting.docs/image-model-configuration.md: read when no built-in image generation tool is available; API key, base URL, model,.env.docs/project-assembly-and-reporting.md: project directory, notes, assembly, final report, prompting principles.prompts/slide-generation.md: main-agent per-slide checklist.references/*.md: built-in visual style references.
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.

