Preface¶
When using an Agent to modify PowerPoint, the common approach involves parsing the .pptx file (essentially ZIP + XML) and writing it back, or regenerating content page by page based on a template. If details such as layout, gradients, animations, or complex shapes are lost during conversion, manual correction is required. If your requirement is “I still need this file, just unify the font colors, paragraph spacing, or overall look,” a more stable path is to let the locally installed PowerPoint open the original file via the COM interface, modify properties, and save it. The following introduces PPT Global Beautification (@user_bd21c5dc/ppt-win32com-editor) on SkillHub, which integrates this path into an Agent Skill for triggered in-place editing during conversations.
What is this¶
PPT Global Beautification is a community-sourced Agent Skill categorized under office-efficiency. The current version is 1.0.0, published by user_bd21c5dc. It utilizes win32com to call the PowerPoint COM interface to perform in-place modifications on existing .pptx files, striving to preserve the original layout, images, shapes, gradient backgrounds, and effects. The Skill tags indicate requires_api_key=false, meaning no additional API Key is needed after installation.
Unlike generating presentations from scratch: the official description explicitly states that the pptx-generator skill should be used for creating new PPTs; this Skill is dedicated to editing existing files and does not rebuild them.
On SkillHub, this Skill has a rating of 100000 and 60479 downloads (data is subject to the SkillHub page).
Core Features¶
The following capabilities are derived from the official description; fine-grained APIs or script names not appearing in the materials are not expanded upon.
- In-place Modification: Directly opens the user-specified
.pptx, modifying style and layout-related properties on the original file, rather than exporting and importing or redrawing the entire presentation. - Preserve Visual Assets: Emphasizes retaining layouts, images, shapes, gradient backgrounds, and effects, suitable for requirements like “only modifying the text layer style without touching the structure.”
- Common Beautification Dimensions: Oriented towards modifying, beautifying, adjusting, or optimizing PPTs, as well as changing fonts, colors, paragraph spacing, etc.; also applicable to instructions like “editing PowerPoint based on the original file.”
- Trigger Boundary: When the user intent is to create a new presentation, pptx-generator should be used instead to avoid confusion with this Skill’s responsibilities.
Installation and Enablement¶
The installation process follows the official SkillHub instructions: first prepare the CLI according to SkillHub Installation and Priority Source Configuration, then install the Skill into the skills directory recognizable by the current Agent.
1. Check or install skillhub CLI¶
command -v skillhub && skillhub --version
If not installed, you can use the official script (full installation includes default Skills; add --cli-only if only the CLI is needed):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install this Skill¶
The installation prompt provided on the SkillHub page is: Please install @user_bd21c5dc/ppt-win32com-editor according to https://skillhub.cn/install/skillhub.md.
When installing via the command line, you must use --dir to point to the skills directory of the current environment; otherwise, it defaults to ./skills/, which the Agent may not be able to read. For example:
skillhub install user_bd21c5dc/ppt-win32com-editor --dir ~/.cursor/skills/
Common paths for various clients (excerpted from SkillHub installation documentation, choose one based on the Agent you actually use):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
If the Agent does not immediately recognize the new Skill after installation, restart or refresh the skills configuration according to the instructions of the client being used.
Typical Usage¶
The official page does not provide independent code examples; usage is mainly reflected in when to enable the Skill and the task description given to the Agent. The reproducible interaction method is as follows:
- Place the
.pptxto be processed in a path accessible to the Agent, and specify the file location and goal in the conversation (e.g., unifying title fonts, body text colors, spacing before and after paragraphs). - Use intent expressions consistent with the official description, such as: “Beautify this PPT,” “Adjust fonts and paragraph spacing,” or “Optimize PowerPoint based on the original file.”
- After the Agent loads PPT Global Beautification, it should open the file via the local PowerPoint COM and save it; you must have Microsoft PowerPoint installed locally, and the runtime environment must support win32com (usually Windows).
If the requirement is to “create a new presentation from scratch,” switch to pptx-generator in the conversation and do not rely on this Skill.
Applicable Scenarios and Notes¶
Who is it for
- Those who need to batch or globally adjust styles such as fonts, colors, and paragraph spacing while preserving the original layout and assets.
- Users already using Agents that support Skills (like Cursor, Claude Code, Codex) in a Windows + PowerPoint installed environment.
Limitations and Notes
- Platform: Relies on win32com and PowerPoint COM; the materials do not describe an equivalent path for macOS or Linux; availability in non-Windows environments needs to be evaluated independently.
- Responsibility Boundary: Only edits existing
.pptxfiles; use pptx-generator for creating new files. - Automation Risks: COM drives a real PowerPoint process; it is recommended to back up the original file before large-scale modifications and test runs on a copy.
- Installation Path: Ensure to use
skillhub install ... --dir <correct skills directory>, otherwise the Skill will not be loaded by the current Agent.
Conclusion¶
PPT Global Beautification encapsulates “Open original pptx → Modify styles via COM → Save” into a Skill, complementing reconstruction-style generation: use COM in-place modification when layout and effects need to be preserved, and use pptx-generator when writing scripts from scratch. Official Skill page and coordinates:
- SkillHub: https://www.skillhub.cn/skills/user_bd21c5dc/ppt-win32com-editor
- Coordinate:
@user_bd21c5dc/ppt-win32com-editor - API Entry: https://api.skillhub.cn/user_bd21c5dc/ppt-win32com-editor