Preface¶
In environments like Cursor and Claude Code, asking a model to “write a presentation outline” is not difficult. However, turning that outline into an openable .pptx file with a consistent color scheme and several fixed layouts usually requires writing custom scripts or manually applying templates. If you want an Agent to assemble title pages, bullet slides, feature grids, and comparison pages according to agreed-upon APIs, and save the files locally, you can install a Skill built around the python-pptx library. This article introduces the purpose and usage of the SkillHub community skill commind-ppt-maker (located at @user_d4bb7d8a/commind-ppt-maker, currently version 1.0.0).
What This Is¶
commind-ppt-maker is a community skill on SkillHub categorized under office-efficiency (source: community, publisher: user_d4bb7d8a). The skill package includes SKILL.md documentation and ppt_maker.py implementation: it generates 16:9 presentations based on python-pptx and Pillow, with a built-in PresentationBuilder and multiple theme color schemes. The SkillHub page marks it as requires_api_key=false, meaning installation and execution do not depend on any additional API keys. At the time of writing, the store page shows a rating of 100000 and 906 downloads (installation count is 0, as per the SkillHub page).
Official links:
- API page: https://api.skillhub.cn/user_d4bb7d8a/commind-ppt-maker
- Store page: https://www.skillhub.cn/skills/user_d4bb7d8a/commind-ppt-maker
Core Features¶
The following capabilities are derived from the SKILL.md and ppt_maker.py within the skill package. After installing this Skill, the Agent should call the scripts or APIs according to the conventions defined therein.
Layouts and Slide Types¶
- Title Slide:
add_title_slide(title, subtitle), featuring a gradient background and decorative elements under the tech theme. - Content Slide:
add_content_slide(title, bullets, icon="", description=""), showing a bulleted list. - Feature Grid:
add_feature_grid(features, title="Core Features"), wherefeaturesis a list of(title, description)tuples, rendered as a default three-column card layout. - Comparison Slide:
add_comparison_slide(title, left_title, left_items, right_title, right_items), presenting two columns of bullet points side by side. - Image Slide:
add_image_slide(title, image_path, description=""), inserting local images scaled proportionally. - Closing Slide:
add_closing_slide(title, subtitle=""). - HTML Related:
add_html_snapshot(title, html_content, description="")displays an HTML text summary on the slide (code comments note that full HTML embedding requires additional handling; currently it is a preview of the first 500 characters, not a browser-rendered screenshot).
Themes¶
The Theme enum offers three styles (in ppt_maker.py):
Theme.TECH: Tech style (deep blue + cyan accent)Theme.MODERN: Modern minimalist (grayscale + orange accent)Theme.CORPORATE: Corporate style (blue and white color scheme)
The command line allows selection via --theme tech|modern|corporate.
Command Line Shortcuts¶
Besides the Python API, the script supports:
- Using
--title,--content(bullet points separated by|), and--outputto generate a single-page content PPT. - Using
--openclawto call the built-in example flowcreate_openclow_presentation()to generate an OpenClaw introduction deck (the example default save path is a Windows desktop path; on Linux, you need to modify the source code or use the API to assemble it yourself).
Installation and Activation¶
1. Install the SkillHub CLI (if not already installed)¶
First, check if the CLI is available:
command -v skillhub && skillhub --version
If not installed, follow the official SkillHub instructions to execute (full installation example):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install the skill into the current Agent’s skills directory¶
SkillHub requires using --dir to point to the skills directory recognized by your current client during installation. Otherwise, it may land in ./skills/ by default and not be loaded. Common paths (from https://skillhub.cn/install/skillhub.md):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project directory
Example installation command (replace the directory with your environment’s path):
skillhub install @user_d4bb7d8a/commind-ppt-maker --dir ~/.cursor/skills
You can also ask the AI in the conversation to follow the store prompts: install @user_d4bb7d8a/commind-ppt-maker according to https://skillhub.cn/install/skillhub.md.
3. Install Python dependencies¶
Runtime dependencies specified in the skill documentation:
pip3 install python-pptx pillow
After installation, the skill directory should contain ppt_maker.py, allowing the Agent to run scripts or import ppt_maker within that directory.
Typical Usage¶
Command Line: Single-Page Bullets¶
Execute within the skill directory (adjust the path according to your local installation location):
python3 ppt_maker.py --title "Presentation Title" --content "Content1|Content2|Content3" --output demo.pptx
Optional theme:
python3 ppt_maker.py -t "Section Title" -c "Point1|Point2" -o demo.pptx --theme corporate
Python API: Multi-Page Structure¶
A minimal workflow consistent with SKILL.md:
from ppt_maker import PresentationBuilder
builder = PresentationBuilder()
builder.add_title_slide("Title", "Subtitle")
builder.add_content_slide("Section Title", ["Point1", "Point2", "Point3"])
builder.add_feature_grid([("Feature1", "Description1"), ("Feature2", "Description2")])
builder.save("output.pptx")
Using the tech theme and referencing the official example (excerpt):
from ppt_maker import PresentationBuilder, Theme
prs = PresentationBuilder(theme=Theme.TECH)
prs.add_title_slide("OpenClaw", "Your Cross-Platform AI Personal Assistant")
prs.add_content_slide("What is OpenClaw?", [
"Open-source, free self-hosted AI gateway",
"Connects to WhatsApp, Telegram, Discord and other platforms",
"Data fully under your control"
], icon="🤖")
prs.add_feature_grid([
("Multi-Channel Gateway", "One Gateway connecting multiple platforms simultaneously"),
("Plugin Extensions", "Supports Mattermost and other plugins"),
("Multi-Agent Routing", "Isolated session spaces"),
("Mobile Nodes", "Pair iOS/Android devices")
])
prs.save("OpenClaw_Introduction.pptx")
Note: The icon parameter in the example is concatenated into the title text. If your writing guidelines prohibit emojis, you can pass an empty string or a plain text marker.
Use Cases and Considerations¶
Who It’s For
- Developers or office productivity users who need to quickly produce
.pptxfiles within Agent sessions without writingpython-pptxlayout code from scratch every time. - Reports, internal sharing sessions, product one-pagers, and other documents with fixed structures that can be broken down into “Title + Bullets + Feature Grid / Comparison”.
Limitations and Notes
- Layouts are code-preset, not freely drag-and-drop like in PowerPoint Designer. Complex animations or master-level enterprise templates require extending
PresentationBuilderyourself. add_html_snapshotis not true HTML rendering; long HTML will be truncated into a text preview. If you must embed web effects, take a screenshot first and then useadd_image_slide.- The
--openclawexample’s default output path points to the Windows desktop. Running it directly on Linux/macOS may fail or write to an invalid path. It is recommended to use the API instead and specify a locally writable path. - The skill is community-published; quality and future updates depend on the publisher. You can verify the version and download count on the SkillHub store page before installing.
- Before modifying or running
ppt_maker.py, ensure that the Python environment andpip3 install python-pptx pilloware complete.
Conclusion¶
commind-ppt-maker encapsulates common PPT slide types into PresentationBuilder, allowing an Agent to generate themed .pptx files with a few API calls or a single CLI command after installing the Skill and Python dependencies. If you want to perform office productivity automation in environments like Cursor, you can install @user_d4bb7d8a/commind-ppt-maker from SkillHub and use it in conjunction with the official page and the SKILL.md in the package.
- Store: https://www.skillhub.cn/skills/user_d4bb7d8a/commind-ppt-maker
- API: https://api.skillhub.cn/user_d4bb7d8a/commind-ppt-maker