SKILL.md--- name: codex-ppt description: Generate visually unified image-based PPT/PPTX decks from articles, reports, papers, notes, or outlines. metadata: openclaw: requires: bins: - python3 primaryEnv: OPENAI_API_KEY envVars: - name: OPENAI_API_KEY required: false description: API key for CLI fallback. - name: OPENAI_BASE_URL required: false description: API base URL. - name: CODEX_PPT_IMAGE_MODEL required: false description: Image model, defaults to gpt-image-2.5-flare. - name: CODEX_PPT_HOME required: false description: Runtime home override. homepage: https://github.com/ningzimu/codex-ppt-skill --- # 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