Agent skill

Image-Based PPT Deck Generator

by ningzimu in ningzimu/codex-ppt-skill

Builds visually unified PowerPoint decks from articles, reports, papers, notes or outlines, with every slide generated as a full 16:9 image and assembled into a .pptx.

MITAuto-check: notesDocuments & Office

Install Image-Based PPT Deck Generator

skills CLI
$ npx skills add ningzimu/codex-ppt-skill --skill codex-ppt -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ningzimu/codex-ppt-skill codex-ppt --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ningzimu/codex-ppt-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex-ppt .claude/skills/codex-ppt && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codex-ppt
GitHub stars
6.4k
Token cost
~2.6k tokens
SKILL.md length
1,191 words
Files
42 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Builds visually unified PowerPoint decks from articles, reports, papers, notes or outlines, with every slide generated as a full 16:9 image and assembled into a .pptx.

  • Works in 6 steps: Prepare source, outline, style, and… → Generate and approve one sample slide. → Prepare slide jobs and slide state. → …
  • Turning an article, report or paper into a visually consistent slide deck
  • SKILL.md covers Overview, Hard Constraints, Visible Progress and Default Workflow, plus 4 more sections
  • Producing a presentation where full-slide illustrated pages are acceptable

What it does

Each slide in the deck is a single full-slide 16:9 image produced by an image-generation backend, and the images are assembled into a `.pptx` file with `scripts/assemble_ppt.py`. That makes the deck visually uniform but means text boxes, charts and shapes are not separately editable, so the skill says not to use it when they must be. It prefers the agent's built-in image tool and falls back to `scripts/image_gen.py` only when the built-in one is unavailable or you ask for API or CLI mode.

The workflow is gated. You approve the source, outline, style and backend first, then one sample slide, and only then is the full deck generated, with each remaining slide handed to a subagent when subagents exist while the main agent keeps state, quality checks, speaker notes and assembly. Dispatch and results are recorded with the bundled scripts. Drawing slides with Pillow, SVG, HTML or python-pptx layouts counts as a failure, not a fallback, and a missing backend stops the run with a reported blocker. Docs cover a style library, user-supplied assets and progress reporting.

When your agent uses it

  • Turning an article, report or paper into a visually consistent slide deck
  • Producing a presentation where full-slide illustrated pages are acceptable
  • Building a deck in a chosen visual style, approving one sample slide first

Example prompts

  • “Turn ./reports/review.md into a short deck in a hand-drawn whiteboard style.”
  • “Make a presentation from this research paper outline and show me a sample slide before you generate the rest.”
  • “Build a teaching slide deck from my lecture notes in ./notes/biology.md in the classroom courseware style.”

Requirements

  • An image generation tool available to the agent, or an image API set up for `scripts/image_gen.py`
  • Python, for the assembly script

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Prepare source, outline, style, and backend decisions.
  2. Generate and approve one sample slide.
  3. Prepare slide jobs and slide state.
  4. Dispatch slide subagents.
  5. Record generated slide results.
  6. QA, repair, notes, and PPT assembly.

What it can do on your machine

Read from SKILL.md and the folder at commit 6d76c0e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Image-Based PPT Deck Generator loads about 2.6k tokens when it runs, and up to ~21k if it reads all its reference files. Until then it costs about 29 tokens; SKILL.md has 1,191 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~21k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:151
    guration.md`: API key, base URL, model, `.env`; read only when config is needed.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ningzimu/codex-ppt-skill at commit 6d76c0e, republished under its MIT licence (© ningzimu). 1,191 words, ~2,598 tokens.

Download SKILL.mdSave it as .claude/skills/codex-ppt/SKILL.md (or your agent's skills folder). This skill also uses 41 other files; get the full folder from GitHub.
name
codex-ppt
description
Generate visually unified image-based PPT/PPTX decks from articles, reports, papers, notes, or outlines.

Codex PPT

Overview

This skill creates image-based PowerPoint decks from source material. Each slide is a complete 16:9 generated image. Final images are assembled into .pptx with scripts/assemble_ppt.py.

Use this when the user wants a visually unified presentation and accepts full-slide image pages. Do not use it when every textbox, chart, or shape must remain separately editable.

Prefer the built-in image generation/editing tool. Use scripts/image_gen.py only when the built-in backend is unavailable, lacks a required capability, or the user explicitly asks for API/CLI mode.

Hard Constraints

  • Read the relevant Reference Map files before each phase. This file is the orchestration contract; detailed rules live in docs/ and worker prompts in prompts/.
  • Respect approval gates. Do not create final deck_spec.json, speech.md, prompt jobs, slide images, or .pptx before the approvals in docs/workflow-gates-and-progress.md.
  • After the user approves the sample slide and authorizes full-deck generation, every remaining slide image job must be dispatched to a slide subagent whenever subagents are available.
  • The main agent owns orchestration, prompt jobs, state recording, QA, speaker notes, and assembly. Do not silently replace available slide subagents with sequential production.
  • Every final origin_image/slide_XX.png must be generated by the selected image backend: built-in image generation/editing tool or scripts/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 confirmation. Do not let subagents switch backend for convenience.
  • After sample approval, record how the approved sample was generated and pass that exact method to every slide subagent.
  • Slide dispatch and result state must be recorded with the bundled scripts. Chat messages alone do not make a slide dispatched or complete.
  • If a required subagent, image backend, or 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:

  1. Prepare source, outline, style, and backend decisions.
  2. Generate and approve one sample slide.
  3. Prepare slide jobs and slide state.
  4. Dispatch slide subagents.
  5. Record generated slide results.
  6. QA, repair, notes, and PPT assembly.

Do not mark a step complete from chat alone; use real files or script-recorded state.

Default Workflow

  1. Understand the source content.

    • Identify topic, audience, goal, page count, style/brand constraints, and sections to include or exclude.
    • If no page count is specified, choose a practical count. Typical decks are 8-12 slides.
  2. Plan the deck outline.

    • Before writing or updating outline.md, read docs/workflow-gates-and-progress.md and docs/outline-style-and-sample.md.
    • Draft slide roles and required source images. Ask for confirmation, then stop before style, backend, sample, or downstream artifacts until approved.
  3. Confirm a unified visual style.

    • Before offering style options or using files from references/, read docs/outline-style-and-sample.md.
    • Offer 2-3 concrete style directions, recommend one, wait for confirmation, then keep one visual identity while varying layouts by page role.
  4. Confirm the image backend.

    • Before generating any slide image, read docs/backend-selection.md.
    • Check whether a built-in image tool is callable, state what you checked, name the backend, explain fallback status, and wait for confirmation.
    • If CLI/API fallback is selected, read docs/cli-api-fallback.md. Read docs/image-model-configuration.md only after config errors or explicit API-setting requests.
  5. Generate one sample slide for approval.

    • Before generating or approving the sample slide, read docs/outline-style-and-sample.md.
    • Generate exactly one representative sample after outline, style, and backend are confirmed. Do not generate the full deck until approved.
    • After approval, record sample_generation_method in deck_spec.json so jobs and subagents inherit the same path.
  6. Create the project directory.

    • Before initializing folders or assembling files, read docs/project-assembly-and-reporting.md.
    • If no destination is specified, use the current working directory or the source file directory.
  7. Prepare user-supplied assets.

    • Before using paper figures, charts, screenshots, logos, or other required assets, read docs/user-supplied-assets.md.
    • Treat required assets as strict inputs and confirm slide-to-asset mapping before generation.
  8. Generate all slide images.

    • Before full-deck image generation, read docs/slide-generation-and-subagents.md.
    • Create per-slide jobs with scripts/prepare_slide_prompts.py or saved prompts/slide_XX.json files.
    • Every final image must come from the selected backend and be recorded with bundled state scripts.
  9. Dispatch slide subagents.

    • Before dispatching or replacing slide workers, read docs/slide-generation-and-subagents.md and prompts/slide-worker.md.
    • Use one subagent per remaining slide job whenever possible. If required subagents cannot be spawned, stop and report a blocker unless the user changes the workflow.
  10. 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.
  11. Write speaker notes and assemble the PPT.

    • Before writing speech.md or running assembly, read docs/project-assembly-and-reporting.md.
    • Make sure outline.md reflects the final confirmed deck outline. Use speech.md headings that map to Slide N.
    • Before assembly, ensure slide_jobs.json shows generated slides as recorded and approved samples as accepted. If any slide is pending, dispatched, or blocked, stop.
  12. Report the result.

    • Use the final report checklist in docs/project-assembly-and-reporting.md.
    • Include paths, slide count, backend used, recorded-result status, and any limitations or blockers.
  13. Save reusable styles.

    • If asked to save the current deck style or a supplied image/PDF/PPT/PPTX style, read docs/style-library.md.
    • If the final deck used a custom or adapted style, proactively offer to save it in the final report, per docs/project-assembly-and-reporting.md. User custom styles are stored in ${CODEX_PPT_HOME:-~/.codex-ppt-skill}/references/, outside the skill install.
Show full SKILL.md (279 more words)Show less

Subagent Dispatch

Slide subagents are mandatory after sample approval whenever the runtime can spawn them. The main agent prepares jobs and records state; each worker handles exactly one prompts/slide_XX.json job and returns only selected image path, backend, and QA note.

Use docs/slide-generation-and-subagents.md for dispatch, commands, result recording, blockers, and backend provenance. Use prompts/slide-worker.md as the handoff template.

Subagents must not edit outline.md, deck_spec.json, other slide jobs, origin_image/, speech.md, or the final .pptx. The parent records outputs and assembles.

Acceptance Criteria

  • Output is a valid .pptx.
  • Each expected final slide image exists under origin_image/slide_XX.png.
  • Every final slide image was generated by the confirmed backend and recorded through record_slide_result.py, except an approved sample marked accepted by run state.
  • outline.md reflects the approved deck outline.
  • speech.md exists when speaker notes are expected, and assembly writes those notes into the PPT.
  • slide_jobs.json and slide_run_state.json reflect the final state.
  • 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: backend decision rules and confirmation text.
  • 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-and-subagents.md: jobs, dispatch, result recording, blockers, provenance.
  • docs/cli-api-fallback.md: fallback runtime, generation/edit commands, image limits, troubleshooting.
  • docs/image-model-configuration.md: API key, base URL, model, .env; read only when config is needed.
  • docs/project-assembly-and-reporting.md: project directory, notes, assembly, final report, prompting principles.
  • prompts/slide-worker.md: slide subagent handoff template.
  • references/*.md: built-in visual style references. User custom styles live in ${CODEX_PPT_HOME:-~/.codex-ppt-skill}/references/ and take priority over built-in styles with the same name.

Documentation and Updates

For source, docs, install, config, and examples, see ningzimu/codex-ppt-skill.

© ningzimu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 41 other files (scripts, references) in skills/codex-ppt of ningzimu/codex-ppt-skill.

  • SKILL.md
  • .clawhubignore
  • docs/backend-selection.md
  • docs/cli-api-fallback.md
  • docs/image-model-configuration.md
  • docs/outline-style-and-sample.md
  • docs/project-assembly-and-reporting.md
  • docs/slide-generation-and-subagents.md
  • docs/style-library.md
  • docs/user-supplied-assets.md
  • docs/workflow-gates-and-progress.md
  • prompts/slide-worker.md
  • references/党政红风格.md
  • references/创意杂志风.md
  • references/复古扁平插画风.md
  • references/手绘技术解释风.md
  • references/手绘白板风.md
  • references/教学课件风.md
  • … and 24 more

Open the folder on GitHubat commit 6d76c0e

Compare with similar skills

Image-Based PPT Deck Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Image-Based PPT Deck Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Image-Based PPT Deck Generator this skillningzimu/codex-ppt-skill6.4k—~2.6kAutomated safety check: NotesMIT
Slide Deck Image GeneratorSpaceZephyr/design-buddy174—~6.5kAutomated safety check: PassNone
Nano BananaEvoScientist/EvoSkills4752 repos~3.5kAutomated safety check: PassApache-2.0
Gpt Image 2 Paper Ppt Imagesdracohu2025-cloud/draco-skills-collection227—~3.9kAutomated safety check: PassMIT
Gpt Image2 PptJuneYaooo/gpt-image2-ppt-skills1.3k—~8.9kAutomated safety check: NotesApache-2.0
Xiaobei Skill Academic Paper To Pptxiao24bei/xiaobei-skill582—~4.4kAutomated safety check: PassApache-2.0

Similar skills

  • Slide Deck Image Generator

    SpaceZephyr/design-buddy

    Turns written content into designed slide images from an outline, merges them into PPTX or PDF, and can borrow styles from a registry of brand design systems.

    174 GitHub stars~6.5k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Nano Banana

    EvoScientist/EvoSkills

    Generate professional presentation slides and high-quality illustrations using Gemini image generation API (Nano Banana 2), with interactive browser-based review and iterative editing.

    475 GitHub starsUsed in 2 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Gpt Image 2 Paper Ppt Images

    dracohu2025-cloud/draco-skills-collection

    A skill your agent uses when generating PPT-style image slides, poetic presentation covers, quiet paper-texture visual pages, report pages, invitations, social cards, or slide-image sets with…

    227 GitHub stars~3.9k tokensUpdated 21 days ago
    Documents & OfficeAuto-check passed
  • Gpt Image2 Ppt

    JuneYaooo/gpt-image2-ppt-skills

    Generate visually striking PPT slides via OpenAI's gpt-image-2 -- use any style in styles/<collection/STYLEID.md or mimic a user-supplied .pptx template; outputs high-res slide PNGs and a 16:9 .pptx.

    1.3k GitHub stars~8.9k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes
  • A skill your agent uses for 小北在读研 / XiaoBei academic paper-to-PPT workflows: generate thesis-defense or project-report decks from uploaded papers, literature, reports, technical documents, and…

    582 GitHub stars~4.4k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Ppt Image2 Editable Rebuild

    wwe-dog/ppt-image2-editable-rebuild

    Create editable PowerPoint decks or pages from image2/imagegen reference PNGs while keeping text and structure editable.

    200 GitHub stars~2.2k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed

Questions about Image-Based PPT Deck Generator

What does Image-Based PPT Deck Generator do?

Builds visually unified PowerPoint decks from articles, reports, papers, notes or outlines, with every slide generated as a full 16:9 image and assembled into a .pptx. py`. That makes the deck visually uniform but means text boxes, charts and shapes are not separately editable, so the skill says not to use it when they must be.

When should I use Image-Based PPT Deck Generator?

Image-Based PPT Deck Generator fits situations like: turning an article, report or paper into a visually consistent slide deck; producing a presentation where full-slide illustrated pages are acceptable; building a deck in a chosen visual style, approving one sample slide first.

How do I install Image-Based PPT Deck Generator in Claude Code?

Run `npx skills add ningzimu/codex-ppt-skill --skill codex-ppt -a claude-code`. Or copy the skill folder (skills/codex-ppt in ningzimu/codex-ppt-skill) into .claude/skills/codex-ppt in your project. Claude Code loads it when a task matches its description.

How do I install Image-Based PPT Deck Generator in Codex?

Run `npx skills add ningzimu/codex-ppt-skill --skill codex-ppt -a codex`. Or copy the skill folder (skills/codex-ppt in ningzimu/codex-ppt-skill) into .agents/skills/codex-ppt in your project. Codex loads it when a task matches its description.

Can I use Image-Based PPT Deck Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ningzimu/codex-ppt-skill --skill codex-ppt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-ppt, .gemini/skills/codex-ppt, .github/skills/codex-ppt and .opencode/skills/codex-ppt in your project.

What does Image-Based PPT Deck Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: Image-Based PPT Deck Generator is instructions for the agent only. Our summary lists: An image generation tool available to the agent, or an image API set up for `scripts/image_gen.py`; Python, for the assembly script.

Does Image-Based PPT Deck Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Image-Based PPT Deck Generator safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Image-Based PPT Deck Generator use?

Image-Based PPT Deck Generator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Image-Based PPT Deck Generator use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 19k tokens, read only when the agent opens those files.

What are the alternatives to Image-Based PPT Deck Generator?

Skills that share tags, products or a category with Image-Based PPT Deck Generator: Slide Deck Image Generator (SpaceZephyr/design-buddy, 174 stars), Nano Banana (EvoScientist/EvoSkills, 475 stars), Gpt Image 2 Paper Ppt Images (dracohu2025-cloud/draco-skills-collection, 227 stars) and Gpt Image2 Ppt (JuneYaooo/gpt-image2-ppt-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Image-Based PPT Deck Generator?

ningzimu (a GitHub user) maintains it in ningzimu/codex-ppt-skill, which has 6,406 GitHub stars. The repository was last updated on October 2, 2026.

Source: ningzimu/codex-ppt-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.