1# Generate slide decks | Codex use cases1# Generate slide decks | Codex use cases
2 2
3Codex use cases
4
5
6
7
8
9Codex use case
10
11# Generate slide decks
12
13Manipulate pptx files and use image generation to automate slide creation.
14
15Difficulty **Easy**
16
17Time horizon **30m**
18
19Use Codex to update existing presentations or build new decks by editing slides directly through code, generating visuals, and applying repeatable layout rules slide by slide.
20
21## Best for
22
23 - Teams turning notes or structured inputs into repeatable slide decks
24 - Creating new visual presentations from scratch
25- Rebuilding or extending decks from screenshots, PDFs, or reference presentations
26
27# Contents
28
3[← All use cases](https://developers.openai.com/codex/use-cases)29[← All use cases](https://developers.openai.com/codex/use-cases)
4 30
31Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/generate-slide-decks/?export=pdf)
32
5Use Codex to update existing presentations or build new decks by editing slides directly through code, generating visuals, and applying repeatable layout rules slide by slide.33Use Codex to update existing presentations or build new decks by editing slides directly through code, generating visuals, and applying repeatable layout rules slide by slide.
6 34
7Easy35Easy
20 48
21## Skills & Plugins49## Skills & Plugins
22 50
2351- [Slides](https://github.com/openai/skills/tree/main/skills/.curated/slides)- Slides
24 52
25 Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled helpers, and render and validation scripts for overflow, overlap, and font checks.53 Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled helpers, and render and validation scripts for overflow, overlap, and font checks.
2654- [ImageGen](https://github.com/openai/skills/tree/main/skills/.curated/imagegen)- ImageGen
27 55
28 Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction.56 Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction.
29 57
58| Skill | Why use it |
59| --- | --- |
60| Slides | Create and edit `.pptx` decks in JavaScript with PptxGenJS, bundled helpers, and render and validation scripts for overflow, overlap, and font checks. |
61| ImageGen | Generate illustrations, cover art, diagrams, and slide visuals that match one reusable visual direction. |
62
30## Starter prompt63## Starter prompt
31 64
3265Use $slides with $imagegen to edit this slide deck in the following way:Use the $slides and $imagegen skills to edit this slide deck in the following way:
66 - If present, add logo.png in the bottom right corner on every slide
67- On slides X, Y and Z, move the text to the left and use image generation to generate an illustration (style: abstract, digital art) on the right
68- Preserve text as text and simple charts as native PowerPoint charts where practical.
69 - Add these slides: [describe new slides here]
70- Use the existing branding on new slides and new text (colors, fonts, layout, etc.)
71- Render the updated deck to slide images, review the output, and fix layout issues before delivery.
72- Run overflow and font-substitution checks before delivery, especially if the deck is dense.
73- Save reusable prompts or generation notes when you create a batch of related images.
74 Output:
75 - A copy of the slide deck with the changes applied
76 - notes on which slides were generated, rewritten, or left unchanged
77
78[Open in the Codex app](codex://new?prompt=Use+the+%24slides+and+%24imagegen+skills+to+edit+this+slide+deck+in+the+following+way%3A%0A-+If+present%2C+add+logo.png+in+the+bottom+right+corner+on+every+slide%0A-+On+slides+X%2C+Y+and+Z%2C+move+the+text+to+the+left+and+use+image+generation+to+generate+an+illustration+%28style%3A+abstract%2C+digital+art%29+on+the+right%0A-+Preserve+text+as+text+and+simple+charts+as+native+PowerPoint+charts+where+practical.%0A-+Add+these+slides%3A+%5Bdescribe+new+slides+here%5D%0A-+Use+the+existing+branding+on+new+slides+and+new+text+%28colors%2C+fonts%2C+layout%2C+etc.%29+%0A-+Render+the+updated+deck+to+slide+images%2C+review+the+output%2C+and+fix+layout+issues+before+delivery.%0A-+Run+overflow+and+font-substitution+checks+before+delivery%2C+especially+if+the+deck+is+dense.%0A-+Save+reusable+prompts+or+generation+notes+when+you+create+a+batch+of+related+images.%0A%0AOutput%3A%0A-+A+copy+of+the+slide+deck+with+the+changes+applied%0A-+notes+on+which+slides+were+generated%2C+rewritten%2C+or+left+unchanged "Open in the Codex app")
79
80Use the $slides and $imagegen skills to edit this slide deck in the following way:
33 - If present, add logo.png in the bottom right corner on every slide81 - If present, add logo.png in the bottom right corner on every slide
34- On slides X, Y and Z, move the text to the left and use image generation to generate an illustration (style: abstract, digital art) on the right82- On slides X, Y and Z, move the text to the left and use image generation to generate an illustration (style: abstract, digital art) on the right
35- Preserve text as text and simple charts as native PowerPoint charts where practical.83- Preserve text as text and simple charts as native PowerPoint charts where practical.
44 92
45## Introduction93## Introduction
46 94
4795You can use Codex to manipulate PowerPoint decks in a systematic way, using the Slides skill to create and edit decks with PptxGenJS, and using image generation to generate visuals for the slides.You can use Codex to manipulate PowerPoint decks in a systematic way, using the slides system skill, which comes with Codex by default, to create and edit decks with PptxGenJS, and using image generation to generate visuals for the slides.
48 96
49Skills can be installed directly from the Codex app–see our [skills documentation](https://developers.openai.com/codex/skills) for more details.97Skills can be installed directly from the Codex app–see our [skills documentation](https://developers.openai.com/codex/skills) for more details.
50 98
54 102
55If a deck already exists, ask Codex to inspect it before making changes.103If a deck already exists, ask Codex to inspect it before making changes.
56 104
57105The slides skill is opinionated here: match the source aspect ratio before you rebuild layout, and default to 16:9 only when the source material does not already define the deck size. If the references are screenshots or a PDF, ask Codex to render or inspect them first so it can compare slide geometry visually instead of guessing.The slides system skill is opinionated here: match the source aspect ratio before you rebuild layout, and default to 16:9 only when the source material does not already define the deck size. If the references are screenshots or a PDF, ask Codex to render or inspect them first so it can compare slide geometry visually instead of guessing.
58 106
59## Keep the deck editable107## Keep the deck editable
60 108
64 112
65## Generate visuals intentionally113## Generate visuals intentionally
66 114
67115Image generation is most useful when the slides need a cover image, a concept illustration, or a lightweight diagram that would otherwise take manual design work. Ask Codex to define the visual direction first, then reuse that direction consistently across the whole deck.The imagegen system skill is already installed with Codex and is most useful when the slides need a cover image, a concept illustration, or a lightweight diagram that would otherwise take manual design work. Ask Codex to define the visual direction first, then reuse that direction consistently across the whole deck.
68 116
69When several slides need related visuals, have Codex save the prompts or generation notes it used. That makes the deck easier to extend later without starting over stylistically.117When several slides need related visuals, have Codex save the prompts or generation notes it used. That makes the deck easier to extend later without starting over stylistically.
70 118
72 120
73Deck automation works better when Codex treats each slide as its own decision. Some slides should preserve exact copy, some need a stronger headline and cleaner structure, and some should stay mostly untouched apart from asset cleanup or formatting fixes.121Deck automation works better when Codex treats each slide as its own decision. Some slides should preserve exact copy, some need a stronger headline and cleaner structure, and some should stay mostly untouched apart from asset cleanup or formatting fixes.
74 122
75123The slides skill also ships with bundled layout helpers. Ask Codex to copy those helpers into the working directory and reuse them instead of reimplementing spacing, text-sizing, and image-placement logic on every deck.The slides system skill also ships with bundled layout helpers. Ask Codex to copy those helpers into the working directory and reuse them instead of reimplementing spacing, text-sizing, and image-placement logic on every deck.
76 124
77## Validation before delivery125## Validation before delivery
78 126
79127Decks are easy to get almost right and still ship with clipped text, substituted fonts, or layout drift that only shows up after export. The slides skill includes scripts to render decks to per-slide PNGs, build a quick montage for review, detect overflow beyond the slide canvas, and report missing or substituted fonts.Decks are easy to get almost right and still ship with clipped text, substituted fonts, or layout drift that only shows up after export. The slides system skill includes scripts to render decks to per-slide PNGs, build a quick montage for review, detect overflow beyond the slide canvas, and report missing or substituted fonts.
80 128
81Ask Codex to use those checks before it hands back the final deck, especially when slides are dense or margins are tight.129Ask Codex to use those checks before it hands back the final deck, especially when slides are dense or margins are tight.
82 130
130 178
131Use Codex to gather approved new-hire context, stage tracker updates, draft team-by-team...179Use Codex to gather approved new-hire context, stage tracker updates, draft team-by-team...
132 180
133181Integrations Data](https://developers.openai.com/codex/use-cases/new-hire-onboarding)[Integrations Data](https://developers.openai.com/codex/use-cases/new-hire-onboarding)[
134 182
135183### Kick off coding tasks from Slack### Turn feedback into actions
136 184
137185Mention `@Codex` in Slack to start a task tied to the right repo and environment, then...Connect Codex to multiple data sources such as Slack, GitHub, Linear, or Google Drive to...
138 186
139187Integrations Workflow](https://developers.openai.com/codex/use-cases/slack-coding-tasks)[Data Integrations](https://developers.openai.com/codex/use-cases/feedback-synthesis)[
140 188
141189### Learn a new concept### Complete tasks from messages
142 190
143191Use Codex to study material such as research papers or courses, split the reading across...Use Computer Use to read one Messages thread, complete the task, and draft a reply.
144 192
145193Knowledge Work Data](https://developers.openai.com/codex/use-cases/learn-a-new-concept)Knowledge Work Integrations](https://developers.openai.com/codex/use-cases/complete-tasks-from-messages)