⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
codex-slides
Create, research, revise, restyle, present, inspect, and export Codex Slides slide decks from Codex, including scenario workflows, project Design Files, and always-on brand design systems. Use when the user asks for a presentation, PPT/PPTX, slide deck, research brief converted into slides, an existing deck edit, a marked-up slide revision, brand/style controls, project files, or to open and operate Codex Slides in the Codex in-editor Browser.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
Codex Slides is an open-source slide studio built for coding agents. Describe a deck, point it at a repo or a folder of files, and watch your local Codex research, outline, style, render, and export a presentation — every slide a full visual canvas, all of it visible and steerable, none of it a hidden background task.
Think of it as the open-source, agent-native alternative to Gamma and Tome — except it
lives inside the coding agent you already use, runs on your existing codex login with zero
extra API keys, and keeps every project on your own disk.
What you get, out of the box:
- 118 ready-made visual systems — 45 curated deck templates across 15 professional categories, plus 73 community styles across 12 groups (reports, infographics, diagrams, data & maps, dashboards, posters, product, brand, architecture, photography, editorial, illustration).
- 24 guided scenarios in 6 groups — zero-to-one decks, source-to-slides, data stories, deep research, redesign, localization, training, keynotes, and more.
- ⚡ Fast mode — renders every page in parallel (not one-by-one), so a 10+ slide deck lands in ~4–5 minutes while the outline and visual direction stay locked.
- Production export — real, presentation-ready PPTX and print-ready PDF with speaker notes preserved; 1K/2K/4K render quality and five aspect ratios (16:9, 4:3, 1:1, 9:16, 3:4).
- Zero extra keys — runs on your existing
codex login; every project stays on your disk.
Open Codex Slides in the Codex Browser and keep it visible.
Create a 12-slide market deck about 2026 humanoid robotics.
Let me confirm the questions, outline, and visual direction before rendering.
Try it in 60 seconds
codex plugin marketplace add nexu-io/codex-slides
codex plugin add codex-slides@codex-slides
Then start a new Codex task: “Open Codex Slides and build me a 6-slide deck about …” — and watch it happen live.
Like what you see? Give it a ⭐ — one click is the fastest way to help the next developer find Codex Slides.
Writing about Codex Slides? Everything a creator or reporter needs — boilerplate, stats, comparisons, an FAQ, ready-to-post copy in English / 中文 / 日本語, a video script, and an asset manifest — is in the Media & creator kit. Paste it into your agent and it can write the video or article for you.
Contents
- Why Codex Slides
- How it works
- See it inside Codex
- Examples
- Install in Codex
- Create your first deck
- Generate from files
- Modify an existing deck
- Features
- CLI and MCP
- Local development
- Desktop development and releases
- Roadmap
- Community style library and licenses
- Architecture and data
- Verification
- Troubleshooting
- Media & creator kit
- Star Codex Slides
- Contributing
- License
Why Codex Slides
Most AI slide generators hide the process behind one request and return a file. Codex Slides treats the presentation as a persistent, inspectable project you own end to end.
| Typical one-shot generator | Codex Slides in Codex |
|---|---|
| Wait for a hidden end-to-end task | Open the live product before work begins |
| Discover problems after export | Confirm requirements, outline, and style first |
| Restart when the result is wrong | Continue editing the same saved project |
| Re-upload context every time | Keep Design Files and brand rules with the project |
| Rebuild a successful visual direction | Save a project as a reusable visual-system template |
| Describe visual bugs in prose | Mark directly on the slide |
| Separate app and agent histories | Codex and the Browser operate one shared project |
| Bring your own API keys and billing | Runs on your existing codex login, zero extra keys |
Codex Slides is image-native: each slide is composed as a full visual canvas. That makes it strong for visual fidelity and rapid iteration. Exported PPTX files contain full-slide images rather than individually editable PowerPoint shapes.
How it works
Codex Slides keeps the entire chain live and steerable — from a rough idea to a finished, exportable deck.
Codex conversation
│
▼
Open the Codex Slides home in the Codex Browser
│
▼
Create a durable project
│
├── Clarify the brief
├── Optional source-backed research
├── Review and revise the outline
├── Choose a visual direction
├── Watch slides render progressively
└── Review the finished canvas
│
├── Chat edits and queued follow-ups
├── Add / duplicate / move / delete / transition
├── Mark-based slide edits
├── Design Files and @ references
├── Save as a reusable project template
├── Brand & Design System
├── Play mode
└── PDF / PPTX export
Projects are written to disk throughout the workflow. Opening the same project from Codex and another browser stays synchronized; rendering pages refresh from the canonical project state, and interrupted generation can resume safely.
See it inside Codex
Everything happens in a live, Browser-first workspace — not a black box. Start from a prompt, a proven visual direction, or a purpose-built workflow, then stay in the same durable project through questions, research, outline, generation, editing, presenting, and export.
// HOW IT'S BUILT
// FILES
7 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
skills/codex-slides/SKILL.md12 KB9153fe82b76cupstream ↗
--- name: codex-slides description: Create, research, revise, restyle, present, inspect, and export Codex Slides slide decks from Codex, including scenario workflows, project Design Files, and always-on brand design systems. Use when the user asks for a presentation, PPT/PPTX, slide deck, research brief converted into slides, an existing deck edit, a marked-up slide revision, brand/style controls, project files, or to open and operate Codex Slides in the Codex in-editor Browser. --- # Codex Slides Run Codex Slides as an interactive product inside Codex. The live Browser workspace is the primary experience; MCP and the bundled CLI are transports for opening the workspace and performing deterministic operations, not a reason to hide the presentation workflow in a long-running Codex turn. ## Browser-first default For every new deck request, unless the user explicitly asks for a headless, unattended, one-call, or CLI-only run: 1. Call `open_codex_slides` / CLI `open` **without** a project id, immediately navigate the returned URL in Codex's in-editor Browser, and verify that the Codex Slides home/create screen is visible. 2. Keep the Browser open. Enter the user's request in the home composer, attach or assign source files in the UI, and submit it there. This creates a durable project before clarification starts. If UI submission is not reliable, use `start_project` / CLI `start-project` only as a deterministic fallback, then navigate its returned project URL immediately. 3. Continue in the live project workspace. Let Codex Slides show and own each checkpoint: requirements/clarifying questions, research progress, editable outline confirmation, visual-inspiration or style selection, and rendering. Answer or manipulate each step in the Browser; when a choice materially changes the result and the user's prompt does not resolve it, leave that checkpoint visible and ask the user. 4. During research and rendering, keep the project workspace visible so the user sees progress and can steer. Do not leave Codex showing only a generic "working" message while a hidden tool completes the whole deck. 5. After rendering, inspect the deck in the same Browser workspace. Use its agent composer, slide controls, mark mode, Play, Design Files, and brand system for follow-up work. Export only after visual review. Do not call `deep_research`, `create_outline`, `rank_inspiration`, `render_deck`, or `create_deck` before opening the Browser for a normal deck request. Do not default to `create_deck`; it is the explicit unattended fast path. A user's request such as "make a six-slide deck and show me" still uses the Browser-first guided flow unless they specifically ask Codex to finish it in the background without checkpoints. ## Choose a transport 1. Use the `codex_slides` MCP tools when they are exposed in the current session and a structured tool call is convenient. 2. Otherwise run `scripts/codex-slides.mjs`. Pass inputs with `--json`, `--input-file`, or command flags. It installs, builds, and starts the local app when necessary. 3. Do not treat MCP as a prerequisite. Both transports use the same API and return the same project URLs. Every Browser-capable response includes a `browserHandoff`. Follow its exact URL instead of rebuilding one, because it can focus a slide, panel, version, mode, checkpoint, conversation, or durable run. Run this to discover the portable command surface: ```bash node <skill-dir>/scripts/codex-slides.mjs capabilities ``` Read [references/COMMANDS.md](references/COMMANDS.md) when selecting commands, constructing JSON inputs, or mapping a CLI command to an MCP tool. Read [references/CAPABILITY_MATRIX.md](references/CAPABILITY_MATRIX.md) when auditing a newly added product feature or changing the Browser/CLI/MCP contract. ## Build a deck - Discover workflow presets with `scenarios` / `list_scenarios`. A scenario owns its default page count, aspect, research behavior, model instruction, and required/optional source slots. Pass its `scenarioId` to `onboard`, `research`, `create`, or `outline`; do not re-create the scenario prompt by hand. - Upload slot files with `upload-material` / `upload_material`, then pass both `materialIds` and `materialContexts` (`id`, `name`, `role`). Required slots must be satisfied before creation. Keep content sources, datasets, brand assets, templates, and visual references in their declared roles. - Use the Browser-first guided flow above by default. The Browser UI drives the staged `clarify -> outline -> inspire -> deck` state and persists the project before expensive work starts. - Search the shared community style library with `templates` / `list_templates` (`query` and `communityGroup`), then use `inspiration` / `rank_inspiration` when the topic and outline should semantically rank those directions. A chosen community style is both prompt context and the first visual reference image. - Use `start-project` / `start_project` only when Codex needs a deterministic fallback to create the same durable project shell before returning to the UI. - Use `create` / `create_deck` only when the user explicitly requests an unattended one-call result or the current Codex surface has no Browser. - The lower-level `onboard`, `research`, `outline`, `revise-outline`, `inspiration`, and `render` operations are for CLI automation, recovery, and deterministic mutations. Keep the corresponding Browser project open when using them interactively. - For navigation-independent Deck Agent, outline, or render work, use `start_project_run` / CLI `run-start`. Retain its `runId`; use `get_project_run`, `wait_project_run`, or `cancel_project_run` (CLI `run-status`, `run-wait`, `run-cancel`) after navigation or reconnect. - Preserve the Markdown research brief and its source links. Do not call a brief source-backed when it contains no source links. - Upload logos, screenshots, PDFs, or other references with `upload-material` before creation, editing, or restyling, then pass the returned material ids. ## Operate Design Files - Use `design-files` / `list_design_files` to inspect the generated and uploaded project file inventory. Use `read-design-file` / `read_design_file` for text and the returned Browser deep link for visual or binary files. - In the Browser, every selected Design File exposes its absolute local path for copying and a direct download action. CLI/MCP file-list responses include the same `absolutePath` and a `downloadUrl` for automation. - Use `write-design-file` / `write_design_file` only when the user asked to replace an existing editable file. Use `upload-design-file` / `upload_design_file` to add a local file to the project workspace. - When an outline or deck edit should use project files as evidence, pass their returned paths as `designFilePaths` to `revise-outline` / `revise_outline` or `edit` / `edit_deck`. This is the Codex equivalent of selecting a Design File with `@` in the Browser composer. ## Reuse project templates - Use `project-templates`, action `list`, or `list_project_templates` before creating with a reusable project template. Pass the returned id as `projectTemplateId`; do not substitute a built-in `template` id. - Use `project-templates`, action `save`, or `save_project_as_template` only when the user wants to preserve an existing project's visual system. The snapshot includes its format, base template/style, brand system, brand assets, and up to six visual references, but not the source project's deck content. - Deleting a saved template does not mutate projects already created from it, because assets and brand rules are copied into each new project. ## Maintain the brand design system - Call `get-brand-system` / `get_brand_design_system` before changing an existing project's always-on rules. It returns normalized brand identity, style, colors, typography, effects, spacing, radii, and brand assets. - Stage new logos or product images with `upload-material`, then merge a partial update with `set-brand-system` / `update_brand_design_system`. Brand updates preserve untouched sections. Redrawing existing slides is explicit; default to saving without redraw unless the user requested application to the current deck. - A brand design system is project-wide context for outline generation, slide generation, chat planning, and later edits. Do not replace it with a one-off free-text style when the project already has one. ## Edit an existing deck - Inspect with `list` and `get` before changing an unknown project. - Use `edit` for natural-language add/rewrite/redraw/optimize requests. - Use `slide` for deterministic add, duplicate, move, delete, or transition changes. - Use `regenerate` for one slide and `restyle` for the whole deck. - Use `upload-slide` for a finished local PNG. - Use `mark-edit` when the user supplies an annotated PNG and wants a clean regenerated slide. - Use `speaker-notes` / `get_speaker_notes` to inspect the talk track, `action:set` / `update_speaker_notes` to write or clear exact notes, and `action:generate` / `generate_speaker_notes` to ask the project's selected agent for one slide or a coherent full-deck talk track. Notes stay off-canvas, appear in presenter mode, and export as native PowerPoint speaker notes. - In the Browser, use the project header's Version entry to inspect immutable deck snapshots and their originating prompts. Each version owns its slide images, transitions, and notes, so preview, Play, and PDF/PPTX export use that exact snapshot. Restoring never overwrites history; it creates a new current version linked to the selected source version. Every AI command or manual action that changes a rendered deck must create a version; one multi-step AI command may update one grouped version. Conversation-only turns, navigation, and saves whose deck content is unchanged do not create empty versions. Keep durable edits scoped to the project the user named. If no project was named and multiple projects exist, inspect the recent list before choosing. ## Route to focused workflow skills - Use the `codex-slides-structured-intake` sibling for ambiguous or scenario-led new-deck requirements. - Use the `codex-slides-verification` sibling after creation, rendering, editing, restyling, version restore, speaker-note changes, or export. - Use the `codex-slides-known-errors` sibling when the runtime, MCP, durable run, Browser handoff, project resume, render, Design Files, or export fails. ## Open and verify in Codex Browser Open the Browser **before** creating a new deck and keep it open throughout the workflow. After any programmatic mutation, navigate or reload the project URL and inspect the visible result. Do not stop after printing the URL when the Browser capability is available. Preserve exact handoff query parameters: `slide`, `panel`, `version`, `mode`, `checkpoint`, `conversation`, and `run`. Presenter mode intentionally leaves one visible user click because browsers require a gesture to open its second window. Use Browser view `scenarios` for the workflow catalog, `design-files` for the file workspace, and `brand-system` for the visual-system editor. Use the normal workspace for Play from current/beginning, dual-window presenter mode, speaker notes editing or AI generation, slide navigation, direct on-canvas marking, and layout inspection. If the current Codex surface has no in-app Browser session, return the local URL and state that limitation instead of claiming it opened. ## Export only after review Use `export` / `export_deck` with `pdf` or `pptx` after the requested visual result is ready. Return the download URL and keep the project preview URL available for follow-up edits. ## Runtime Use Node.js 20 or newer. Override the default app URL with `CODEX_SLIDES_URL`; override the source checkout with `CODEX_SLIDES_HOME`.skills/codex-slides/scripts/codex-slides.mjs42 KB9828cb5d5423upstream ↗
Contents are not inlined in the catalog. Open the upstream file.
skills/codex-slides/scripts/probe.mjs2.8 KB5ae4dc45e5ccupstream ↗
#!/usr/bin/env node import { spawnSync } from "node:child_process"; import { dirname, join } from "node:path"; import { fileURLToPath } from "node:url"; const SCRIPT_DIR = dirname(fileURLToPath(import.meta.url)); const CLI = join(SCRIPT_DIR, "codex-slides.mjs"); const live = process.argv.includes("--live"); function call(command, input = {}) { const result = spawnSync(process.execPath, [CLI, command, "--json", JSON.stringify(input)], { encoding: "utf8", timeout: 120_000, env: process.env, }); if (result.error) throw result.error; if (result.status !== 0) throw new Error(result.stdout || result.stderr || `${command} failed`); const output = JSON.parse(result.stdout); if (!output.ok) throw new Error(output.error || `${command} failed`); return output; } const capabilities = call("capabilities"); if (capabilities.commands.length !== 34) { throw new Error(`Expected 34 commands, got ${capabilities.commands.length}.`); } if (capabilities.capabilities.length < 36) { throw new Error(`Expected at least 36 capability surfaces, got ${capabilities.capabilities.length}.`); } const summary = { commands: capabilities.commands.length, capabilities: capabilities.capabilities.length, live: false, }; if (live) { const projects = call("list"); const templates = call("templates"); const projectTemplates = call("project-templates"); const scenarios = call("scenarios"); const opened = call("open", { view: "scenarios", scenarioId: "new-deck" }); if (!Array.isArray(projects.projects)) throw new Error("Project list is missing."); if (templates.categories?.length !== 15 || templates.templates?.length !== 45) { throw new Error(`Expected 15 categories and 45 templates, got ${templates.categories?.length}/${templates.templates?.length}.`); } if (!Array.isArray(projectTemplates.projectTemplates)) throw new Error("Project template list is missing."); if (scenarios.groups?.length !== 6 || scenarios.scenarios?.length !== 24) { throw new Error(`Expected 6 groups and 24 scenarios, got ${scenarios.groups?.length}/${scenarios.scenarios?.length}.`); } if (!opened.url?.startsWith("http://127.0.0.1:4311")) throw new Error("Browser URL is missing."); if (!opened.url.includes("view=scenarios") || !opened.url.includes("scenario=new-deck")) { throw new Error("Scenario Browser deep link is missing."); } if (!opened.browserHandoff?.required || opened.browserHandoff.url !== opened.url) { throw new Error("Browser handoff contract is missing."); } Object.assign(summary, { live: true, projects: projects.projects.length, categories: templates.categories.length, templates: templates.templates.length, scenarioGroups: scenarios.groups.length, scenarios: scenarios.scenarios.length, browserUrl: opened.url, }); } process.stdout.write(`${JSON.stringify(summary, null, 2)}\n`);skills/codex-slides/references/CAPABILITY_MATRIX.md6.8 KBf26bb343f9d2upstream ↗
# Codex Slides capability coverage This is the release checklist for keeping the product UI, Codex in-editor Browser, portable Agent Skill CLI, and typed MCP server aligned. A product capability is not Codex-ready until its row has a Browser path and/or a direct CLI + MCP operation. | Product capability | Codex Browser entry | Skill CLI | MCP tool | |---|---|---|---| | Open create or project workspace | `open`, view `workspace` | `open` | `open_codex_slides` | | Start durable project before clarification | Home composer or `?resume=<id>` | `start-project` | `start_project` | | Start a navigation-independent Deck Agent, outline, or render job | Live project activity | `run-start` | `start_project_run` | | Read or wait for a durable job after navigation/reconnect | Live project activity | `run-status` / `run-wait` | `get_project_run` / `wait_project_run` | | Cancel an active durable job | Stop action in Deck Agent | `run-cancel` | `cancel_project_run` | | Browse 24 scenarios in 6 groups | `open`, view `scenarios` | `scenarios` | `list_scenarios` | | Preselect a scenario and apply its defaults | `scenarioId` deep link | `create` / `outline` with `scenarioId` | `create_deck` / `create_outline` with `scenarioId` | | Generate scenario-aware onboarding | Scenario composer | `onboard` with `scenarioId` | `get_onboarding_questions` with `scenarioId` | | Assign uploaded files to scenario slots | Scenario file-slot controls | `upload-material`, then `materialContexts` | `upload_material`, then `materialContexts` | | Run scenario-aware sourced research | Research UI | `research` with `scenarioId` | `deep_research` with `scenarioId` | | Create or revise an outline | Outline workspace | `outline`, `revise-outline` | `create_outline`, `revise_outline` | | Rank and choose visual inspiration | Inspiration dialog | `inspiration` | `rank_inspiration` | | Render a confirmed draft | Live project workspace | `render` | `render_deck` | | Explicit unattended one-call deck | Open result after completion | `create` | `create_deck` | | List and inspect projects | Home and project workspace | `list` / `get` | `list_projects` / `get_project` | | Browse, search, and match 70+ attributed community styles | Home/project Community Browser | `templates` with `communityGroup` / `query`; `inspiration` for semantic ranking | `list_templates` with `communityGroup` / `query`; `rank_inspiration` | | Browse saved project visual systems | Home Templates tab / composer picker | `project-templates`, `action:list` | `list_project_templates` | | Save a project as a reusable template | Project header Save as template | `project-templates`, `action:save` | `save_project_as_template` | | Delete a saved project template | Home Templates tab | `project-templates`, `action:delete` | `delete_project_template` | | Create with a saved project template | Composer template picker | `start-project` / `create` / `outline` with `projectTemplateId` | `start_project` / `create_deck` / `create_outline` with `projectTemplateId` | | Open project Design Files | `open`, view `design-files` | `design-files` | `list_design_files` | | Copy a Design File path or download it | Design File viewer toolbar | `design-files` response `absolutePath` / `downloadUrl` | `list_design_files` response `absolutePath` / `downloadUrl` | | Read a Design File | Focused `filePath` deep link | `read-design-file` | `read_design_file` | | Edit an existing text Design File | Design Files editor | `write-design-file` | `write_design_file` | | Upload into Design Files | Design Files upload | `upload-design-file` | `upload_design_file` | | Reference Design Files in agent chat | Composer `@` picker | `designFilePaths` on `edit` / `revise-outline` | `designFilePaths` on `edit_deck` / `revise_outline` | | Inspect structured tool/todo/file activity | Agent activity cards | `open` | `open_codex_slides` | | Inspect the brand design system | `open`, view `brand-system` | `get-brand-system` | `get_brand_design_system` | | Merge brand, color, type, effects, spacing, radii | Brand & Design panel | `set-brand-system` | `update_brand_design_system` | | Attach persistent logo/product references | Brand assets tray | `upload-material`, then `set-brand-system` | `upload_material`, then `update_brand_design_system` | | Save brand rules without replacing slides | Brand panel Save | `set-brand-system`, `redraw:false` | `update_brand_design_system`, `redraw:false` | | Apply brand rules to existing slides | Brand panel Save & redraw | `set-brand-system`, `redraw:true` | `update_brand_design_system`, `redraw:true` | | Natural-language deck editing | Deck Agent | `edit` | `edit_deck` | | Queue project-chat turns; edit text/images/files, reorder, delete, or prioritize before serial execution | Deck Agent queue | — interactive Browser session control | — interactive Browser session control | | Whole-deck template/style restyle | Brand/template UI | `restyle` | `restyle_deck` | | Add, duplicate, move, delete, or transition slides | Slide controls | `slide` | `manage_slide` | | Generate or regenerate one slide | Slide/agent controls | `regenerate` | `regenerate_slide` | | Reopen the exact changed slide, panel, version, checkpoint, conversation, mode, or run | URL focus parameters | Every Browser-capable response returns `browserHandoff` | Every Browser-capable result returns `structuredContent.browserHandoff` | | Read per-slide speaker notes | Notes strip / presenter view | `speaker-notes`, `action:get` | `get_speaker_notes` | | Write or clear speaker notes | Inline notes editor | `speaker-notes`, `action:set` | `update_speaker_notes` | | Generate speaker notes with the project agent | Notes AI action | `speaker-notes`, `action:generate` | `generate_speaker_notes` | | Upload a reference or finished slide | Material/slide controls | `upload-material` / `upload-slide` | `upload_material` / `upload_slide_image` | | Apply a marked-up slide edit | Mark canvas | `mark-edit` | `mark_edit_slide` | | Automatically version every rendered-deck AI/manual change; browse immutable versions, inspect prompts, preview/play, restore as a new current version, and export that exact PDF/PPTX | Project Version history dialog | Mutating commands share the same version-aware project APIs | Mutating tools share the same version-aware project APIs | | Play from current slide or the beginning | Project Play menu | `open` | `open_codex_slides` | | Dual-window presenter mode with notes and timer | Project Play menu | `open` | `open_codex_slides` | | Export PDF or PPTX | Export menu | `export` | `export_deck` | | Run the same local-first product as a desktop app | Electron window | `electron:dev` / `electron:dist` from checkout | — packaged product transport | Run `npm run check:skill`, `npm run check:mcp`, `npm run typecheck`, `npm run check:i18n`, and `npm run build` after changing any row. When a live Browser session is available, also open all four Browser views and verify their visible state.skills/codex-slides/references/COMMANDS.md9.8 KBcbf1f43a82cfupstream ↗
# Codex Slides command reference The portable CLI is: ```bash node <skill-dir>/scripts/codex-slides.mjs <command> --json '<object>' ``` Use `--json -` to read JSON from stdin, `--input-file input.json` for a file, or flags such as `--project-id abc --index 2`. Every invocation prints one JSON object. Success responses contain `"ok": true`; failures contain `"ok": false` and exit non-zero. ## Command map | CLI command | MCP tool | Important input | |---|---|---| | `capabilities` | `get_capabilities` | none | | `open` | `open_codex_slides` | optional `projectId`, `view`, `filePath`, `scenarioId` | | `start-project` | `start_project` | `topic`; optional deck configuration including `projectTemplateId`; creates only a durable project shell and Browser continuation URL | | `run-start` | `start_project_run` | `projectId`, `kind` (`chat`, `outline`, `render`); non-render runs require `instruction`; optional slide, conversation, material, and Design File context | | `run-status` | `get_project_run` | `projectId`; optional `runId` | | `run-wait` | `wait_project_run` | `projectId`, `runId`; optional `timeoutSeconds`, `pollIntervalMs` | | `run-cancel` | `cancel_project_run` | `projectId`; optional active `runId` | | `onboard` | `get_onboarding_questions` | `topic`; optional `scenarioId`, `uiLocale` | | `research` | `deep_research` | `topic`, optional `rounds`, `scenarioId` | | `create` | `create_deck` | `topic`; optional `scenarioId`, `projectTemplateId`, `pages`, `aspect`, `language`, `style`, `template`, `resolution`, `materialIds`, `materialContexts`, `designSystem`, `fast`, `research`, `researchDoc`, `rounds` | | `outline` | `create_outline` | same planning inputs as `create` | | `revise-outline` | `revise_outline` | `projectId` plus `instruction` or `pages`; optional `designFilePaths` | | `inspiration` | `rank_inspiration` | `topic` or `outlineTitles` | | `render` | `render_deck` | `projectId` | | `list` | `list_projects` | none | | `get` | `get_project` | `projectId`, optional `includeChat` | | `speaker-notes` | `get_speaker_notes` / `update_speaker_notes` / `generate_speaker_notes` | `projectId`, `action` (`get`, `set`, or `generate`); optional `index`, `note`, `notes`, `overwrite`, `instruction` | | `templates` | `list_templates` | optional `categoryId`, `communityGroup`, `query`; returns curated templates, community styles, and source/license metadata | | `project-templates` | `list_project_templates` / `save_project_as_template` / `delete_project_template` | `action` (`list`, `save`, or `delete`); save uses `projectId`, optional `name` / `description`; delete uses `templateId` | | `scenarios` | `list_scenarios` | optional `group`, `query`, `featured`, `scenarioId` | | `design-files` | `list_design_files` | `projectId`; optional focused `filePath`; results include `absolutePath` and `downloadUrl` | | `read-design-file` | `read_design_file` | `projectId`, `filePath` | | `write-design-file` | `write_design_file` | `projectId`, `filePath`, complete `content` | | `upload-design-file` | `upload_design_file` | `projectId`, local `filePath` | | `get-brand-system` | `get_brand_design_system` | `projectId` | | `set-brand-system` | `update_brand_design_system` | `projectId`; partial `designSystem`, optional `template`, `materialIds`, `brandAssetMaterialIds`, `clear`, `redraw` | | `edit` | `edit_deck` | `projectId`, `instruction`; optional `slideIndex`, `materialIds`, `designFilePaths` | | `restyle` | `restyle_deck` | `projectId`; optional `template`, `style`, `materialIds`, `redraw` | | `slide` | `manage_slide` | `projectId`, `action`; `move` uses `index` and `toIndex`; other index fields depend on action | | `regenerate` | `regenerate_slide` | `projectId`, `index`, optional `instruction` | | `upload-material` | `upload_material` | absolute or workspace-relative `filePath` | | `upload-slide` | `upload_slide_image` | `projectId`, `index`, PNG `imagePath`, optional `title` | | `mark-edit` | `mark_edit_slide` | `projectId`, `index`, annotated PNG `annotatedImagePath`, optional `note` | | `export` | `export_deck` | `projectId`, `format` (`pdf` or `pptx`) | ## Examples Open the product before starting a normal interactive workflow: ```bash node <skill-dir>/scripts/codex-slides.mjs open ``` Navigate the returned URL in the Codex Browser, submit the request in the home composer, and continue through clarification, outline confirmation, style selection, and rendering there. If UI submission needs a deterministic fallback, create only the project shell and immediately navigate its URL: ```bash node <skill-dir>/scripts/codex-slides.mjs start-project --json '{ "topic": "2026 humanoid robot market", "pages": 6, "language": "zh" }' ``` The `create` command below is an explicit unattended/headless fast path, not the default Codex user experience. Start a durable render, leave or reopen the project, then wait on the same id: ```bash node <skill-dir>/scripts/codex-slides.mjs run-start --json '{ "projectId":"PROJECT_ID", "kind":"render" }' node <skill-dir>/scripts/codex-slides.mjs run-wait --json '{ "projectId":"PROJECT_ID", "runId":"RUN_ID", "timeoutSeconds":120 }' ``` Every Browser-capable result includes `browserHandoff`. Navigate its exact URL; do not drop focus parameters such as `slide`, `panel`, `version`, `mode`, `checkpoint`, `conversation`, or `run`. Discover scenarios, stage required files, and create with semantic roles: ```bash node <skill-dir>/scripts/codex-slides.mjs scenarios \ --json '{"query":"data insights"}' node <skill-dir>/scripts/codex-slides.mjs upload-material \ --json '{"filePath":"./metrics.xlsx"}' node <skill-dir>/scripts/codex-slides.mjs outline --json '{ "topic": "Explain this quarter performance", "scenarioId": "data-insights", "materialIds": ["MATERIAL_ID"], "materialContexts": [ {"id":"MATERIAL_ID","name":"metrics.xlsx","role":"Dataset"} ] }' ``` Create a researched six-slide deck without interactive checkpoints: ```bash node <skill-dir>/scripts/codex-slides.mjs create --json '{ "topic": "2026 humanoid robot market", "pages": 6, "research": true, "language": "zh-CN" }' ``` Save a visual system and consume it in a new project: ```bash node <skill-dir>/scripts/codex-slides.mjs project-templates --json '{ "action":"save", "projectId":"SOURCE_PROJECT_ID", "name":"Executive launch system" }' node <skill-dir>/scripts/codex-slides.mjs start-project --json '{ "topic":"Create the next launch deck", "projectTemplateId":"PROJECT_TEMPLATE_ID" }' ``` Create and review an outline before rendering: ```bash node <skill-dir>/scripts/codex-slides.mjs outline --json '{ "topic": "Product launch plan", "pages": 8, "aspect": "16:9" }' node <skill-dir>/scripts/codex-slides.mjs revise-outline --json '{ "projectId": "PROJECT_ID", "instruction": "Move the market proof before the product roadmap" }' node <skill-dir>/scripts/codex-slides.mjs render \ --json '{"projectId":"PROJECT_ID"}' ``` Open the project in the in-editor Browser: ```bash node <skill-dir>/scripts/codex-slides.mjs open \ --json '{"projectId":"PROJECT_ID"}' ``` Use the returned `url` as the Browser navigation target. The `open` command starts the app but intentionally does not control a particular browser client; the Codex in-app Browser capability performs that final navigation. Deep-link to new Browser surfaces: ```bash node <skill-dir>/scripts/codex-slides.mjs open \ --json '{"view":"scenarios","scenarioId":"market-research"}' node <skill-dir>/scripts/codex-slides.mjs open \ --json '{"projectId":"PROJECT_ID","view":"design-files","filePath":"generated/outline.md"}' node <skill-dir>/scripts/codex-slides.mjs open \ --json '{"projectId":"PROJECT_ID","view":"brand-system"}' ``` Read a Design File, use it in an edit, then merge brand rules: ```bash node <skill-dir>/scripts/codex-slides.mjs read-design-file \ --json '{"projectId":"PROJECT_ID","filePath":"uploaded/brief.md"}' node <skill-dir>/scripts/codex-slides.mjs edit --json '{ "projectId":"PROJECT_ID", "instruction":"Use the referenced brief to tighten the recommendation", "designFilePaths":["uploaded/brief.md"] }' node <skill-dir>/scripts/codex-slides.mjs set-brand-system --json '{ "projectId":"PROJECT_ID", "designSystem":{ "brand":{"name":"Acme","voice":"Direct, expert, optimistic"}, "colors":{"primary":"#173B57","accent":"#FF6B35"} }, "redraw":false }' ``` Edit, mark-edit, then export: ```bash node <skill-dir>/scripts/codex-slides.mjs edit --json '{ "projectId": "PROJECT_ID", "instruction": "Make slide 2 warmer and simplify its comparison chart", "slideIndex": 2 }' node <skill-dir>/scripts/codex-slides.mjs mark-edit --json '{ "projectId": "PROJECT_ID", "index": 2, "annotatedImagePath": "/absolute/path/slide-2-marked.png", "note": "Follow the red annotations" }' node <skill-dir>/scripts/codex-slides.mjs export \ --json '{"projectId":"PROJECT_ID","format":"pptx"}' ``` Read, author, or generate presenter notes without redrawing slides: ```bash node <skill-dir>/scripts/codex-slides.mjs speaker-notes --json '{ "projectId":"PROJECT_ID", "action":"get" }' node <skill-dir>/scripts/codex-slides.mjs speaker-notes --json '{ "projectId":"PROJECT_ID", "action":"set", "index":2, "note":"Open with the customer problem, then connect it to the metric on screen." }' node <skill-dir>/scripts/codex-slides.mjs speaker-notes --json '{ "projectId":"PROJECT_ID", "action":"generate", "instruction":"Write a concise 12-minute executive talk track" }' ``` ## Environment - `CODEX_SLIDES_URL`: API and Browser base URL; default `http://127.0.0.1:4311`. - `CODEX_SLIDES_HOME`: source checkout. Resolution also checks `~/plugins/codex-slides`, the skill's containing repo, and the current directory. - `CODEX_SLIDES_LOG`: auto-start log; default is the operating system temp directory. The CLI uses only Node built-ins plus platform `fetch`, `FormData`, and `Blob`. It does not import the MCP SDK.skills/codex-slides/agents/openai.yaml304 Bbf374abbd9ceupstream ↗
interface: display_name: "Codex Slides" short_description: "Operate scenarios, Design Files, brand systems, and decks" default_prompt: "Use $codex-slides to choose the right scenario, use my Design Files and brand system, create or edit the presentation, and show the result in the Codex Browser."README.mdupstream ↗
Contents are not inlined in the catalog. Open the upstream file.
Plain-text copy, no login: /skill-bundles/nexu-io-codex-slides-skills-codex-slides.md