SuperAPI AI Directory

ppt-maker

General & other

View repository

Updated 10-15 17:26

About this skill


name: ppt-maker description: "Professional-grade one-click PPT generation. Create slides in Markdown, with support for automatic charts (pie/bar/line), multiple themes, ordered/unordered lists, quote blocks, code blocks, tables, and automatic recognition of thank-you pages."

PPT Maker - Professional-grade PPT Generation Tool

Use Markdown to automatically create beautiful PPTs,Table data is automatically converted into charts, with support for multiple themes and smart layouts.

Quick Start

node ~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js -i input.md -o output.pptx -t ocean

Command Parameters

Parameter Description Required
-i, --input Input Markdown file path ✅
-o, --output Output PPTX file path (automatically appends the .pptx extension) ✅
-t, --theme Theme name, defaults to ocean ❌
-l, --list List all available themes ❌
-h, --help Show help information ❌

Supported Themes

Theme Style Use Case
ocean Blue Ocean Tech/Professional
sunset Orange Red Sunset Warm/Creative
purple Violet Creative/Design
luxury Black Gold Luxury High-end/Luxurious
midnight Midnight Dark Presentation/Impactful
classic Classic Green Business/Formal

Markdown Syntax Reference

Page Type

# 大标题           → 封面页(第一张幻灯片)
副标题文字          → 封面副标题

## 章节标题         → 内容页
## 感谢聆听         → 结束页(自动居中大字布局)

Automatically recognized ending page keywords: Thanks, Thank you, thank, thanks, Q&A, Questions and Answers, End, The End, Goodbye, Contact Information

Content Elements

### 小标题           → 页内加粗小标题

- 无序列表项1        → 带圆点的无序列表
- 无序列表项2

1. 有序列表项1       → 带编号圆圈的有序列表
2. 有序列表项2

> 引用文字           → 带左侧竖条的引用块

普通文字             → 正文段落

Table

| 列1 | 列2 | 列3 |
|-----|-----|-----|
| 内容 | 内容 | 内容 |

When a table contains numeric columnsAutomatically detectwhether to convert it to a chart (see chart rules below). If it contains no numeric values or does not match the chart rules, it remains displayed as a table (with alternating row background colors).

Code Block

```python
print("Hello World")
```

Displayed with a dark background + monospace font + rounded border.

⭐ Automatic Chart Generation

Core Feature: In the ## heading,### subheading, or body text before a table, if it contains specific keywords, the table below it is automatically converted into the corresponding chart.

Chart Types and Keywords

Chart Type Trigger Keywords
🥧 Pie Chart pie chart, pie, proportion, ratio, share, composition, makeup, percentage, weight, pie
📊 Bar Chart bar, bar chart, column, ranking, top, comparison, compare, distribution, sales, amount, quantity, performance, output, revenue, bar
📈 Line Chart line, line chart, trend, growth, change, movement, curve, time, monthly, quarterly, annual, line, trend

Smart Inference (when there are no keywords)

  • If the sum of the numeric column is between 80 and 120 → automatically identify as apie chart(proportion data)
  • If there are ≥2 numeric points → generate by default abar chart
  • Supports multiple numeric columns → automatically generatesmulti-seriescharts

Numeric Parsing

Automatically cleans interfering characters in cells; all of the following formats can be recognized correctly:

  • 100万 ¥250 $1,200 30% 85元 1200亿

Chart Examples

Pie Chart Example

## 销售占比分析
### 各产品销售占比饼图
| 产品 | 占比(%) |
|------|---------|
| 大米 | 30 |
| 高粱 | 50 |
| 小麦 | 20 |

Bar chart example

## 各产品销售额对比
### 年度销售额柱状图
| 产品 | 销售额(万元) |
|------|-------------|
| 大米 | 100 |
| 高粱 | 250 |
| 小麦 | 130 |

Line chart example

## 月度销售趋势
### 销售额变化趋势折线图
| 月份 | 销售额(万元) |
|------|-------------|
| 1月 | 35 |
| 2月 | 42 |
| 3月 | 58 |
| 4月 | 72 |

Tables not converted to charts (no numeric columns or non-chart scenarios)

## 工作计划
| 季度 | 目标 | 负责人 |
|------|------|--------|
| Q1 | 完成招聘 | 张经理 |
| Q2 | 市场拓展 | 李经理 |

Usage example

Provide a markdown file, such as input.md, then generate via the command

node ~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js -i input.md -o output.pptx -t ocean

Markdown prompt example

# 2026年度总结报告
北灵聊AI · 年度工作汇报

## 销售占比分析
### 各产品占比饼图
| 产品 | 占比(%) |
|------|---------|
| 大米 | 30 |
| 高粱 | 40 |
| 小麦 | 20 |
| 玉米 | 10 |

## 销售额对比
### 各产品销售额柱状图
| 产品 | 销售额(万元) |
|------|-------------|
| 大米 | 100 |
| 高粱 | 250 |
| 小麦 | 130 |

## 月度趋势
### 全年销售额变化趋势折线图
| 月份 | 销售额(万元) |
|------|-------------|
| 1月 | 35 |
| 6月 | 72 |
| 12月 | 102 |

## 核心成果
### 业务拓展
- 新增客户 126 家,同比增长 35%
- 开拓西南市场,覆盖 4 个新省份

### 团队建设
1. 团队扩充至 28 人
2. 组织培训 12 场
3. 员工满意度达 92%

> 全年目标超额完成,总销售额突破 560 万元

## 感谢聆听
北灵聊AI
期待2027再创佳绩!

Natural language prompt example

请使用 ppt-maker 技能,为我生成一份“2026生成式AI行业发展与企业落地趋势”的汇报型幻灯片,整体风格专业、简洁、科技感强,讲解人是北灵聊AI。

封面是2026生成式AI行业发展与企业落地趋势,副标题写“模型能力升级、企业应用加速与商业化观察”,并显示讲解人“北灵聊AI”。

第一页是企业采用生成式AI的主要应用场景分布,用饼状图展示,其中知识助手占比32,智能客服占比24,内容生成占比18,研发提效占比16,数据分析占比10。

第二页是企业AI项目预算投入对比,用柱状图展示,其中大模型平台建设预算380万,AI代码助手预算300万,AI办公助手预算260万,AI智能客服预算220万,AI营销内容生成预算180万。

第三页是2026年企业生成式AI项目推进热度趋势,用折线图展示,其中Q1热度指数48,Q2热度指数63,Q3热度指数78,Q4热度指数92。

最后一页是感谢,标题写“感谢聆听”,副标题写“欢迎交流生成式AI与企业应用实践”。

Supported command line

# 查看帮助
node ~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js -h

# 列出所有主题
node ~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js -l

# 海洋蓝主题(默认)
node ~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js -i slides.md -o demo.pptx

# 深夜科技主题
node ~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js -i slides.md -o demo.pptx -t midnight

# 黑金奢华主题
node ~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js -i slides.md -o demo.pptx -t luxury

Layout features

Page types

  • Cover page — Large title + subtitle + decorative vertical bar on the left
  • Content page — Title bar background + body area + page number
  • Ending page — Centered large text + decorative color block + top and bottom decorative lines

Decorative elements

  • Top theme-color accent bar
  • Left sidebar decorative line
  • Light-colored title bar background
  • Cover vertical line decoration + bottom horizontal line

Content rendering

  • Unordered list: theme-color dots
  • Ordered list: theme-color numbered circles
  • Blockquote: left vertical bar + light background + italic
  • Code block: dark background + monospace font + rounded corners
  • Table: header background color + alternating row shading
  • Charts and remaining content displayed side by side (pie chart on the right/bar and line charts narrowed with content on the right)

Notes

  1. Markdown format requirements: Must start with # as the cover page,## starts a new page
  2. Chart trigger: Keywords written in ## titles or ### subtitles are most reliable
  3. Table format: The first row is the header, the second row is the separator row |---|---|, and the third row onward is data
  4. Numeric columns: A chart is triggered only when the second column onward of the table contains parseable numbers
  5. Output format: Automatically append .pptx suffix
  6. Inline formatting: **粗体** *斜体* ~~删除线~~ etc. are automatically cleaned to plain text

File location

  • Script:~/.openclaw/workspace/skills/ppt-maker/scripts/ppt-maker.js
  • Dependencies:pptxgenjs(installed)