Introduction¶
In environments like Cursor and Claude Code, users often ask, “Help me create a PPT about XX.” If the model only outputs an outline or Markdown, manual template application and export are still required, leading to a long workflow and inconsistent layouts. To enable an Agent to directly deliver a .pptx file that can be opened in PowerPoint or WPS, a reusable process is needed: planning slide types, writing structured content, and rendering with a script.
Below is an introduction to the SkillHub community skill ppt创作之神 (coordinates @user_65e10e1c/ppt-creater). It integrates the workflow of “Requirement Understanding → Slide Structure → JSON Content Definition → python-pptx Generation” into SKILL.md, accompanied by generation scripts and layout references. It is designed for on-demand installation and activation in clients that support Agent Skills.
What is this¶
ppt创作之神 is an Agent Skill designed for “creating presentations from scratch.” The current version is 1.0.0. It originates from the SkillHub community, falls under the office-efficiency category, and is published by user_65e10e1c (listed as author 浩然 on the SkillHub page). The SkillHub description calls it “a powerful tool for creating PPTs freely.” The skill’s metadata indicates it should be enabled in scenarios where users request the creation or generation of PPTs, PowerPoints, presentations, or slides.
The tag requires_api_key=false indicates no additional API Key is needed. On SkillHub, the skill has a rating of 100000 and 1427 downloads (based on platform display; figures are subject to change over time).
Official Links:
- Skill Page: https://www.skillhub.cn/skills/user_65e10e1c/ppt-creater
- API Coordinates: https://api.skillhub.cn/user_65e10e1c/ppt-creater
Core Features¶
Verified via skillhub search and the SKILL.md within the installation package, this skill possesses the following capabilities (all centered around using python-pptx to output native .pptx files):
- Create Presentations from Scratch: Plan the slide structure based on a topic or outline, then generate the file.
- Five Color Themes:
default,dark,warm,green,minimal(documented for default blue, dark, warm, green, and minimalist scenarios respectively). - Seven Slide Types:
title(cover),section(chapter divider),content(bullet points),two_column(dual-column comparison),quote(citation),table(table),closing(acknowledgments/conclusion). - Layout & Chinese Support: Supports 16:9 and 4:3 aspect ratios; defaults to “Microsoft YaHei” (微软雅黑) for Chinese presentations; supports adding speaker notes (
notesfield) to content slides. - Separation of Content and Rendering: The Agent first writes a JSON content definition, then calls
scripts/create_pptx.pyto generate the.pptx; for modifications, it is recommended to update the JSON and re-run the script. - Built-in Reference Docs:
references/design_guidelines.md(structure templates, slide count suggestions, design principles) andreferences/slide_types.md(JSON fields and examples for each slide type).
Common trigger phrases include: “Help me make a PPT,” “Create a presentation,” “Generate slides,” make a presentation, create slides, etc.
Installation and Activation¶
Before installation, the skillhub CLI must be available on your machine. If not installed, follow the official SkillHub instructions (full installation includes CLI and default Skills):
command -v skillhub && skillhub --version
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be loaded by the client. Common paths provided in SkillHub documentation are as follows:
| Client | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Command to install ppt创作之神 (consistent with skillhub search output):
skillhub install ppt-creater --namespace user_65e10e1c --dir ~/.cursor/skills/
Replace ~/.cursor/skills/ with the actual Agent skills path you are using. After installation, restart or refresh the Agent as required by your client to ensure the skill is indexed.
Before running the generation script, ensure python-pptx is installed in your current Python environment:
python3 -m pip install python-pptx
Typical Usage¶
The standard workflow defined in the skill documentation is as follows. It can be executed automatically by the Agent during a conversation or replicated manually.
1. Clarify Requirements¶
Specify the topic to the Agent; optionally add details such as the target audience, approximate slide count, theme color preference, or whether to use 16:9 or 4:3. If only a topic is provided, it defaults to approximately 8–12 slides, the default theme, and 16:9 aspect ratio.
2. Plan Slide Structure¶
Consult references/design_guidelines.md to select a structure template (e.g., business report, product introduction, academic, training) and mix slide types such as content, table, two_column, and quote.
3. Write JSON Content Definition¶
Write the complete definition to a temporary JSON file. Minimal structure example (see references/slide_types.md for field meanings):
{
"theme": "default",
"aspect_ratio": "16:9",
"slides": [
{"type": "title", "title": "季度业务回顾", "subtitle": "2026 Q3"},
{"type": "section", "title": "核心指标"},
{
"type": "content",
"title": "增长亮点",
"bullets": ["营收同比提升", {"text": "新客户占比", "level": 1}],
"notes": "此处展开口头说明"
},
{"type": "closing", "title": "谢谢", "subtitle": "Q&A"}
]
}
4. Call Script to Generate .pptx¶
Execute in the skill installation directory (replace paths with your actual paths):
python3 ~/.cursor/skills/@user_65e10e1c/ppt-creater/scripts/create_pptx.py \
/path/to/content.json \
/path/to/output.pptx
The script usage is: python create_pptx.py <content_json_path> <output_pptx_path>. Once generated, the Agent hands the file to the user and briefly explains the theme, slide count, and chapter structure.
You can also send a natural language request directly to the Agent, such as: “Using the default theme and 16:9, help me create a Chinese PPT of about 10 pages regarding a team OKR review, and generate a pptx.” After loading this skill, the Agent should produce the JSON and run the script according to the workflow above.
Suitability and Notes¶
Suitable for: Scenarios requiring a quick, editable .pptx where content is primarily points/tables/columns and where accepting the Agent’s layout based on JSON templates is acceptable; Chinese business reports, internal sharing, training outlines, etc.
Limitations and Notes:
- The output quality depends on the Agent’s content writing and structural planning within the JSON; complex animations and master slide-level customizations are not within the scope of the skill description.
- Some examples in
SKILL.mduse specific client Python absolute paths; in environments like Cursor, these should be changed to the localpython3and the actual skill installation directory. - Tables should be kept within the recommended scale (approx. 5–8 rows, max 5 columns), and bullet points should be concise to maintain layout readability.
- Page numbers are not automatically added to the cover and back cover; the script adds page numbers to other slides.
- When modifying generated files, prioritize editing the JSON and regenerating rather than manually editing the
.pptx, as this facilitates better collaboration with the Agent.
Conclusion¶
ppt创作之神 consolidates presentation creation into a fixed pipeline of “Structured JSON + python-pptx Script,” making it suitable for developers or office scenarios already utilizing SkillHub and Agent Skills. For installation and details, see the SkillHub skill page: https://www.skillhub.cn/skills/user_65e10e1c/ppt-creater ; API coordinates: https://api.skillhub.cn/user_65e10e1c/ppt-creater.