ppt-produce-bycodex
/install ppt-produce-bycodex
PPT Produce by Codex
Use this skill to run a disciplined enterprise-solution PPT production workflow: clarify project context, create a storyline and page plan, generate full-page PNG slides with imagegen/gpt-image-2, review quality, and assemble PPTX only when useful.
For the complete reusable playbook, read references/ppt-production-guide.md when planning or executing a real deck. Keep this SKILL.md as the quick operating procedure.
Required Intake
Before creating files or generating slides, confirm these fields. If any are missing and cannot be inferred from the current workspace, ask the user for them first.
- Project name
- Project root directory
- Solution topic or PPT title
- Target audience or customer type
- Current output version, such as
v1,v2, orv3 - Desired deliverables: PNG only, PPTX, outline MD, scheme MD, contact sheet, demo prototype, or a subset
- Available source materials: meeting notes, docs, screenshots, old PPT, reference images, brand assets, existing outline
If the user gives a project root, keep all new artifacts under \x3Cproject-root>/workspace/. Do not create root-level output/, outputs/, tmp/, or scripts/ folders.
Default Workspace Layout
Use this layout unless the project already has a compatible convention:
workspace/deliverables/for final outputsworkspace/assets/for reusable source assets and copied referencesworkspace/runs/for generation batches, staging outputs, backups, and contact sheetsworkspace/tmp/for temporary prompts, OCR, unpacked PPTX checks, and scratch scriptsworkspace/scripts/for reusable generation and verification scripts
Report full absolute paths for every created or modified file.
Workflow
- Inspect current files and existing versions. If a higher version directory exists than the user mentioned, ask which version is authoritative.
- Collect missing intake fields before generating.
- Read
references/ppt-production-guide.mdfor detailed guardrails. - Build or update the PPT storyline: background, positioning, overall architecture, core capabilities, scenarios, value, implementation path.
- Create a page plan with page title, page type, visible text, source assets, and generation method.
- Generate 2-4 sample pages before batching when a visual direction is not yet approved.
- Use small batches, staging folders, and contact sheets. Do not overwrite approved PNGs without a backup.
- Only assemble PPTX when the user asks or after a meaningful batch is confirmed; otherwise ask whether to generate PPTX.
- If business content changes, sync the scheme MD / PPT outline / PNG page content so future delivery and demos stay consistent.
Image Generation Rules
When generating or redrawing PPT PNG pages:
- Use the
imagegenskill at/Users/javastarboy/.codex/skills/.system/imagegen/SKILL.md. - Use
gpt-image-2unless the user specifies another image model. - Check
OPENAI_API_KEYandOPENAI_BASE_URLfrom~/.zshrc, then call/modelsbefore expensive batches. - Do not use low quality.
- Use at least
2048x1152 highfor normal 16:9 slides. - Use native
3840x2160 highfor complex architecture, dense diagrams, or key customer-facing pages. - Never upscale a local 2K image into 4K and call it final.
- Final pages must be full-page PNGs. Do not build final visual content with local HTML/CSS/Canvas/PPT elements.
- Do not render fixed page numbers, watermarks, prompt labels, task requirements, internal notes, or draft labels.
If a model returns unexpectedly small images below 2K without user permission, stop batch generation and warn that the provider/model route may be degraded.
If the same repair task returns response too large three times via different attempts, stop and create a handoff prompt instead of retrying indefinitely.
Local Repair Rules
For local fixes such as removing page numbers, repairing text, or changing a small region:
- Use
gpt-image-2 image editbased on the source image. - Do not cover bad regions with local translucent masks, solid blocks, pasted text, or screenshots.
- Repair the needed region with the model, then composite only that region back into the source.
- Verify dimensions, RGB/opaque output, no residual old text, and pixel-identical unchanged regions.
- Stage outputs under
workspace/runs/\x3Ctask>/orworkspace/tmp/\x3Ctask>/; overwrite final PNG only after review.
For title-style repairs, use a cropped title-header reference instead of a whole slide reference, to avoid reference-slide content leaking into the target page.
Prompt Discipline
Separate visible slide text from design instructions.
Use this prompt shape:
STRICT VISIBLE TEXT ONLY:
customer-visible short phrases only.
DESIGN BRIEF - DO NOT RENDER AS TEXT:
fragmented design instructions.
LAYOUT BRIEF - DO NOT RENDER AS TEXT:
layout and hierarchy.
VISUAL STYLE - DO NOT RENDER AS TEXT:
color, texture, title style.
CONTENT EMPHASIS - DO NOT RENDER AS TEXT:
business meaning to emphasize.
FORBIDDEN VISIBLE TEXT:
describe categories of forbidden text; avoid repeating long forbidden phrases.
Never let the slide show prompt field names, task wording, internal discussion, review notes, or "this page should..." language.
Visual Direction
Default to a premium enterprise/internet style:
- Light background, blue-white base
- Small accents in gold, orange, teal/green, or purple
- Clean, credible, restrained, technical but not flashy
- Unified left-aligned content-page title system
- Large readable diagrams/screenshots on image-heavy pages
Avoid cyber neon, heavy dark backgrounds, strong glow, cheap 3D stacks, one-note blue/purple gradients, dense grid backgrounds, oversized titles, and template-like layouts.
PPTX Policy
PPTX is a packaging artifact. It should contain only one full-slide PNG per page.
Do not rebuild PPTX after every small PNG change. For ongoing page edits, generate PNGs and contact sheets first, then ask whether to build PPTX.
When building PPTX, verify:
- Slide count and order
- One full-page picture per slide
- No local text boxes, shapes, notes, page numbers, or placeholder remnants
Useful Script
Use scripts/check_png_assets.py \x3Cpng-dir> to inspect PNG dimensions, mode, and alpha. This is a quick check only; still visually inspect contact sheets and key pages.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ppt-produce-bycodex - 安装完成后,直接呼叫该 Skill 的名称或使用
/ppt-produce-bycodex触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
ppt-produce-bycodex 是什么?
Create and iterate enterprise application software solution PPTs as full-page PNG slides and optional PPTX decks. Use when the user wants to start, design, g... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 48 次。
如何安装 ppt-produce-bycodex?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ppt-produce-bycodex」即可一键安装,无需额外配置。
ppt-produce-bycodex 是免费的吗?
是的,ppt-produce-bycodex 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ppt-produce-bycodex 支持哪些平台?
ppt-produce-bycodex 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ppt-produce-bycodex?
由 AGICaptain(@javastarboy)开发并维护,当前版本 v1.0.0。