SkillsReviewed · XiaomiMiMo

pptx-official

pptx-official is a PowerPoint skill for AI assistants and developers that requires scripting tools and careful review of the finished slides. It bundles guidance and local utilities for creating, editing, extracting and rendering .pptx files.

Researched 17 Nov 2026

In short.

pptx-official is a PowerPoint skill for AI assistants and developers, but its generated and edited slides need careful review before delivery. The MiMo Code bundle combines Python and JavaScript authoring recipes with text extraction, XML editing, rendering and optional browser preview. Its cleanup and cloning utilities have consequential edge cases; nothing was executed, so output quality, performance and compatibility across presentation apps remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is packages/cli/src/skill/builtin/.bundle/pptx-official at commit c34db3645db4ffdf7f2b29a788bd76d9ec3be531: SKILL.md, create.md, edit.md, read.md, ten Python scripts, two TypeScript scripts and the local Apache-2.0 notice. The repository-level MIT LICENSE is included as a related notice outside that folder. The rest of MiMo-Code, third-party library implementations, external binaries and model/provider behavior are outside scope. The findings describe supplied documentation and source code; installation, generation, rendering, preview operation, performance and compatibility across presentation apps were not exercised.

The overview

identity

pptx-official is bundled inside XiaomiMiMo/MiMo-Code. Its package consists of assistant instructions, creation/editing/reading guides, Python command-line helpers and a Bun-based preview service. The original source folder is [https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/pptx-official].

Its scope is Microsoft PowerPoint .pptx files: producing decks, filling templates, inspecting existing presentations and exporting previews. Microsoft authorship or endorsement is not established by the supplied evidence.

assessment

The package is a useful candidate when you want a coding assistant to generate repeatable reports, populate an existing presentation template or extract slide content. Its practical strength is the combination of task guidance, code recipes and file utilities.

Reliability is not established by the documentation alone. The diagnostic script checks archive integrity, required parts and XML parsing, with optional library checks. It does not launch PowerPoint, inspect appearance or prove that a presentation will open without repairs. No scripts were executed or presentation outputs assessed.

users

Developers automating recurring reports, analysts working from structured data and teams maintaining branded templates are plausible users. Beginners using a coding assistant get a decision matrix and examples, but installing dependencies, resolving font problems and interpreting XML errors still require technical support.

The guides favor python-pptx for repeatable, data-driven work and template filling, and PptxGenJS for custom layouts, icons and formulas. The browser preview is specifically intended for the MiMo Code command-line environment; embedded graphical hosts are directed toward their own preview mechanisms.

capabilities

Authoring recipes cover text, shapes, pictures, tables, charts, speaker notes, slide masters and typography. Editing guidance covers placeholder replacement, slide ordering and deletion, and direct XML changes for features outside the higher-level libraries.

The extraction script follows presentation order and can include speaker notes and table cells. Separate utilities convert decks to PDF or slide images and create numbered thumbnail sheets. The optional preview service watches a presentation and refreshes a browser PDF viewer after conversion.

Using it

requirements

The Python setup example initializes Python 3.12 through uv and installs python-pptx, lxml and Pillow; defusedxml is recommended for manual XML work. Basic text extraction and some diagnostic checks can use the standard library. The JavaScript route uses Bun and PptxGenJS, with React, sharp, react-icons and MathJax added for the relevant visual features.

PDF conversion requires LibreOffice. Image rendering normally also requires Poppler, with a pypdfium2 fallback when the bundled MIMO_PYTHON interpreter is configured. Live preview additionally requires Bun. Required fonts must be available on the viewing or rendering machine; the guide notes that python-pptx does not embed them.

Exact dependency versions, minimum hardware requirements and a verified operating-system compatibility matrix are not supplied.

mechanism

A .pptx file is handled as a ZIP package containing XML parts and relationships connecting slides, layouts, notes and media. The extraction helper expands that package and rejects paths that escape its destination directory. The assembly helper writes the directory back into a ZIP, placing the content-types manifest first.

Slide insertion creates a slide part, relationship and content-type entry, then prints an ordering entry that the caller must add to presentation.xml. Cloning copies slide XML and its relationships while sharing existing target parts, including notes and charts. Changes to a shared part can therefore affect both slides.

Rendering invokes LibreOffice as an external process, then rasterizes its PDF output. The Python bridge creates a separate LibreOffice profile for each conversion. Preview uses a background Bun process and WebSocket messages to refresh the browser.

setup

Acquire the complete skill folder and keep its scripts together: the PDF, image and contact-sheet wrappers import the neighboring soffice_bridge.py helper. Choose the Python or JavaScript authoring route before installing dependencies. Registration instructions for assistant hosts outside MiMo Code are not established here.

For MiMo's bundled runtime, the guide substitutes MIMO_PYTHON for uv-run Python commands and exposes bundled JavaScript dependencies through MIMO_NODE and MIMO_NODE_MODULES. The Python rendering bridge recognizes MIMO_SOFFICE.

The separate Bun preview server searches fixed locations and PATH for LibreOffice but does not read MIMO_SOFFICE. A working bundled Python rendering configuration therefore does not by itself establish that live preview will work.

example

An illustrative task is updating a recurring product-review deck while keeping its template. From the skill directory, uv run scripts/contact_sheet.py template.pptx --cols 3 provides a visual overview, while uv run scripts/dump_text.py template.pptx --notes --numbered exports its text. The editing guide then shows replacement within individual text runs to retain their formatting.

After saving a separate filled.pptx, the documented checks include uv run scripts/diagnose.py filled.pptx and uv run scripts/render_slides.py filled.pptx --out qa/. Review the rendered slides and text for overflow, missing content and leftover placeholders. This sequence is illustrative; no deck was created, rendered or checked.

Assessment & evidence

limitations

Legacy .ppt files require conversion first. Macros, .pptm, encrypted decks, native Keynote files and live PowerPoint automation are outside the documented scope. Font substitution and differences between presentation viewers can change appearance; compatibility across those viewers has not been demonstrated.

diagnose.py checks ZIP integrity, required parts, XML parsing and optional library loading. These checks do not establish complete schema validity, correct relationships throughout every object or visual correctness. Optional checks silently disappear when their libraries are unavailable. Text extraction reads stored XML text; image-based text recognition is not implemented.

There is a destructive cleanup edge case in prune.py: when _rels/.rels is missing, its reachable-part set is empty, after which on-disk slides and media can be marked for deletion. Its guard against an empty slide list does not cover that situation. This follows from the supplied code; it was not reproduced by execution.

Image conversion uses a same-stem PDF in the output directory and deletes that intermediate file by default. The Poppler path also returns all matching slide images already in that directory, which can include stale outputs. Fresh output directories and copies of source decks are advisable.

The preview launcher stores its PID state per directory rather than per presentation. Multiple decks in the same folder can consequently be associated with the same running preview process.

reasoning

The design suggests repeatability is its main advantage: scripts make deck structure explicit, and template filling can reuse an existing visual system. This is an inference from the supplied examples, not a measured productivity gain.

The documented progression from template replacement to slide surgery and then raw XML makes practical sense because each step exposes more package structure. That control brings responsibility: replacing an entire text frame can discard mixed formatting, and cloning complex slides requires understanding shared relationships. Rendering provides another view of the result, but its LibreOffice output still needs comparison with the intended presentation app.

alternatives

Using python-pptx or PptxGenJS directly is a narrower option when authoring is the only requirement. This skill adds assistant task routing, recipes, editing guidance and supporting utilities. Its guides distinguish the two libraries by workflow, but supply no comparative performance or quality measurements.

For live PowerPoint control, the skill points toward dedicated COM or AppleScript automation libraries. For native .key files, it points toward Keynote or LibreOffice. These are documented directions, not assessed substitutes with verified feature parity.

evidence

The source material contains four guidance files, ten Python scripts, two TypeScript scripts and a local licence notice, accompanied by the repository's root licence. The code supports specific findings about command options, file handling, dependency lookup and shared presentation parts.

No execution logs, generated presentations, visual inspection results or independent benchmarks are supplied. The documentation's broad claims about viewer compatibility and generation speed therefore remain unverified. Nothing was executed, and no end-to-end presentation task was assessed.

Access & freshness

costs

The evidence supplies no purchase price, subscription schedule, model tariff or measured running cost for this skill. Total cost is unknown. Setup time and local computing resources are required, while any assistant service, stock imagery or image-generation charges depend on the services chosen.

The guide recommends drawing many visuals in code and limiting image-generation calls, but it provides no measured savings or reliable per-deck cost.

rights

The skill-local notice declares Apache-2.0 and credits The Fresh PPTX Skill contributors. It links to the full licence rather than reproducing its complete terms [http://www.apache.org/licenses/LICENSE-2.0]. A separate repository-level MIT notice credits MiMo Code, Xiaomi Corporation and opencode; that notice requires retaining its copyright and permission text in copies or substantial portions.

The local attribution identifies separate licences for python-pptx, PptxGenJS, lxml and Pillow. LibreOffice and Poppler are described as external binaries under MPL 2.0 and GPL respectively. Their applicable terms remain relevant when installing or redistributing them. Permissions for additional templates, images or fonts are not established by the skill's software licence.

freshness

The resource snapshot is repository commit c34db3645db4ffdf7f2b29a788bd76d9ec3be531, captured on 17 November 2026. Its fixed entry-point source is [https://raw.githubusercontent.com/XiaomiMiMo/MiMo-Code/c34db3645db4ffdf7f2b29a788bd76d9ec3be531/packages/cli/src/skill/builtin/.bundle/pptx-official/SKILL.md].

No semantic release version, dependency lockfile or later change history is supplied for this folder. Compatibility with subsequently released package versions and changes after this snapshot are unknown.

actions

Obtain the complete original folder at the fixed revision [https://github.com/XiaomiMiMo/MiMo-Code/tree/c34db3645db4ffdf7f2b29a788bd76d9ec3be531/packages/cli/src/skill/builtin/.bundle/pptx-official], retaining its local licence and the accompanying repository notice. Choose the authoring route that matches your existing environment.

Before adopting it for deliverables, use a disposable copy of a representative deck containing your actual fonts, charts, notes and template features. Run diagnostics with the optional checking libraries installed, render into a fresh directory and open the result in the intended presentation app. Check shared charts and notes after cloning.

Before any cleanup, verify that package manifests and root relationships are present and inspect uv run scripts/prune.py unpacked/ --dry-run on a copy. These are recommended next steps; their outcomes remain unknown.

Evidence for this report

LICENSEnotice · checked 2026-11-17