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.
npx skills add https://github.com/nexu-io/codex-slides --skill 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.
For every new deck request, unless the user explicitly asks for a headless,
unattended, one-call, or CLI-only run:
open_codex_slides / CLI open without a project id, immediatelynavigate the returned URL in Codex's in-editor Browser, and verify that the
Codex Slides home/create screen is visible.
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.
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.
user sees progress and can steer. Do not leave Codex showing only a generic
"working" message while a hidden tool completes the whole deck.
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.
codex_slides MCP tools when they are exposed in the currentsession and a structured tool call is convenient.
scripts/codex-slides.mjs. Pass inputs with --json,--input-file, or command flags. It installs, builds, and starts the local
app when necessary.
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:
node <skill-dir>/scripts/codex-slides.mjs capabilities
Read references/COMMANDS.md when selecting commands,
constructing JSON inputs, or mapping a CLI command to an MCP tool.
Read references/CAPABILITY_MATRIX.md when
auditing a newly added product feature or changing the Browser/CLI/MCP contract.
scenarios / list_scenarios. A scenario ownsits 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-material / upload_material, then pass bothmaterialIds 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.
staged clarify -> outline -> inspire -> deck state and persists the project
before expensive work starts.
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.
start-project / start_project only when Codex needs a deterministicfallback to create the same durable project shell before returning to the UI.
create / create_deck only when the user explicitly requests anunattended one-call result or the current Codex surface has no Browser.
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.
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.
brief source-backed when it contains no source links.
upload-materialbefore creation, editing, or restyling, then pass the returned material ids.
design-files / list_design_files to inspect the generated and uploadedproject file inventory. Use read-design-file / read_design_file for text
and the returned Browser deep link for visual or binary files.
copying and a direct download action. CLI/MCP file-list responses include the
same absolutePath and a downloadUrl for automation.
write-design-file / write_design_file only when the user asked toreplace an existing editable file. Use upload-design-file /
upload_design_file to add a local file to the project workspace.
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.
project-templates, action list, or list_project_templates beforecreating with a reusable project template. Pass the returned id as
projectTemplateId; do not substitute a built-in template id.
project-templates, action save, or save_project_as_template only whenthe 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.
because assets and brand rules are copied into each new project.
get-brand-system / get_brand_design_system before changing anexisting project's always-on rules. It returns normalized brand identity,
style, colors, typography, effects, spacing, radii, and brand assets.
upload-material, then merge a partialupdate 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.
generation, chat planning, and later edits. Do not replace it with a one-off
free-text style when the project already has one.
list and get before changing an unknown project.edit for natural-language add/rewrite/redraw/optimize requests.slide for deterministic add, duplicate, move, delete, or transition changes.regenerate for one slide and restyle for the whole deck.upload-slide for a finished local PNG.mark-edit when the user supplies an annotated PNG and wants a cleanregenerated slide.
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.
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.
codex-slides-structured-intake sibling for ambiguous orscenario-led new-deck requirements.
codex-slides-verification sibling after creation, rendering,editing, restyling, version restore, speaker-note changes, or export.
codex-slides-known-errors sibling when the runtime, MCP, durablerun, Browser handoff, project resume, render, Design Files, or export fails.
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.
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.
Use Node.js 20 or newer. Override the default app URL with
CODEX_SLIDES_URL; override the source checkout with CODEX_SLIDES_HOME.
新功能设计探索流程。当用户有模糊想法要做新功能/新模块时使用。通过"需求收敛 → 技术调研 → ASCII 批量探索 → HTML 设计稿 → 全状态覆盖 → 需求总结"的结构化流程,从模糊想法产出可交付的设计参考文档,作为 PRD 阶段的输入。
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), PlantUML, footnotes, alerts, infographics, and optional bottom citations for external links. Use when user asks for "markdown to html", "convert md to html", "md 转 html", "微信外链转底部引用", or needs styled HTML output from markdown.
DEFAULT poster pipeline — build an academic conference poster (ICML/NeurIPS/ICLR/CVPR/...) as a single HTML/CSS file with measurement-driven hard gates, real paper figures, a two-hue design-token system, and print-ready PDF via headless Chromium. Use when the user says \"做海报\", \"poster\", \"conference poster\", \"paper poster\", or asks to design/redo a research poster.
DEFAULT poster pipeline — build an academic conference poster (ICML/NeurIPS/ICLR/CVPR/...) as a single HTML/CSS file with measurement-driven hard gates, real paper figures, a two-hue design-token system, and print-ready PDF via headless Chromium. Use when the user says \"做海报\", \"poster\", \"conference poster\", \"paper poster\", or asks to design/redo a research poster. Supersedes the retired LaTeX /paper-poster.
Research latest UI/UX trends from Dribbble and design communities. Use when starting a design project to understand current visual trends, color palettes, and layout patterns.
A research-journal aesthetic printed on warm stone — authoritative, editorial, almost achromatic. Pages live on warm ivory parchment (never pure white), with near-black slate as the dominant ink.
Paper-textured, print-inspired design with minimal colors, clean serif/sans typography, and tactile surface qualities.
A playful, joyful, two-color risograph print aesthetic built on a single warm off-white paper surface running through every section
Take nexu-io/codex-slides from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.