agentCLAWHUBUnverified

Markdown to PPT (Smart Layout)

智能 Markdown 转 PPT。自动分析内容结构、智能分页、详细设计每页布局、自动生成/搜索配图。支持 Slidev/HTML/PPTX 多格式输出。| Intelligent Markdown to PPT with auto-layout and image generation. Skill: Markdown to PPT (Smart Layout) Owner: neutronstar238 Summary: 智能 Markdown 转 PPT。自动分析内容结构、智能分页、详细设计每页布局、自动生成/搜索配图。支持 Slidev/HTML/PPTX 多格式输出。| Intelligent Markdown to PPT with auto-layout and image generation. Tags: latest:1.1.0 Version history: v1.1.0 | 2026-04-08T09:21:03.901Z | user v1.1: 新增智能布局分析、10+ 布局模板、自动配图(Unsplash 搜索)、layout-plan.json 布局方案输出 v1.0.0 | 2026-04-08T09:02:40.450Z | user Initial release: Conv

OpenClaw

Rank

62

Safety

84

Downloads

4.3k

Updated

Oct 9, 2026

Version

1.1.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 4.3K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
4.3K downloadsadoption · observed Oct 9, 2026
Latest release
1.1.0release · observed Apr 8, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17bfpfw8q2rn967kf22peydd584eczj:md-to-ppt
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-neutronstar238-md-to-ppt/snapshot"

Documentation

CLAWHUB

29,480 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: md-to-ppt
description: "智能 Markdown 转 PPT。自动分析内容结构、智能分页、详细设计每页布局、自动生成/搜索配图。支持 Slidev/HTML/PPTX 多格式输出。| Intelligent Markdown to PPT with auto-layout and image generation."
version: "1.1.0"
license: MIT
user-invocable: true
allowed-tools: Read, Write, Edit, Bash, Message, WebSearch, WebFetch, Canvas
---

# 📊 智能 Markdown 转精美 PPT

**核心升级 v1.1.0**:
- 🤖 **智能内容分析** - 自动识别内容类型和优先级
- 📐 **自动布局设计** - 根据内容量智能分页和布局
- 🖼️ **自动配图** - 生成插图或从网络搜索下载
- 🎨 **布局模板** - 10+ 种专业布局模板

---

## 🎯 工作流程

```
用户输入 Markdown
      ↓
【阶段 1】内容分析
  - 识别主题和核心观点
  - 评估内容量和复杂度
  - 确定目标受众和场景
      ↓
【阶段 2】智能分页
  - 根据内容类型自动分组
  - 每页一个核心观点
  - 避免信息过载
      ↓
【阶段 3】布局设计
  - 为每页选择最佳布局
  - 安排标题/正文/图片位置
  - 设计视觉层次
      ↓
【阶段 4】自动配图
  - 生成 AI 插图 或
  - 从网络搜索相关图片
  - 优化图片尺寸和位置
      ↓
【阶段 5】生成 PPT
  - 应用主题模板
  - 渲染最终效果
  - 提供预览和导出
```

---

## 📐 智能分页规则

### 分页触发条件

| 条件 | 阈值 | 处理 |
|------|------|------|
| 列表项数量 | > 5 项 | 拆分为多页 |
| 文字数量 | > 100 字/页 | 拆分或精简 |
| 代码块 | > 15 行 | 单独一页 |
| 多个一级标题 | 每个标题新页 | 自动分页 |
| 表格 | > 5 行 | 单独一页 |

### 内容分组策略

```
输入内容分析
      ↓
识别内容块类型:
├─ 标题块 (# 标题 + 副标题)
├─ 列表块 (- 列表项)
├─ 引用块 (> 引用)
├─ 代码块 (```code```)
├─ 表格块 (|table|)
└─ 图片块 (![img](url))
      ↓
分组规则:
- 每个一级标题 = 独立章节
- 每 3-5 个列表项 = 一页
- 每个代码块 = 单独一页(如>15 行)
- 每个表格 = 单独一页
- 引用可与其他内容合并
```

---

## 🎨 布局模板库

### 模板 1:标题页 (Title)
```
┌─────────────────────────────┐
│                             │
│         主标题              │
│         副标题              │
│                             │
│      作者 | 日期            │
│                             │
└─────────────────────────────┘
适用:封面、章节起始页
```

### 模板 2:要点列表 (Bullet List)
```
┌─────────────────────────────┐
│  标题                       │
├─────────────────────────────┤
│  • 要点 1                   │
│  • 要点 2                   │
│  • 要点 3                   │
│  • 要点 4                   │
│           [配图]            │
└─────────────────────────────┘
适用:功能列表、优势说明
```

### 模板 3:左右对比 (Two Column)
```
┌─────────────────────────────┐
│  标题                       │
├──────────────┬──────────────┤
│   左侧内容   │   右侧内容   │
│   (Before)   │   (After)    │
│              │              │
└──────────────┴──────────────┘
适用:对比、前后变化、优劣分析
```

### 模板 4:数据表格 (Data Table)
```
┌─────────────────────────────┐
│  数据概览                   │
├─────────────────────────────┤
│  ┌─────┬─────┬─────┐       │
│  │ A   │ B   │ C   │       │
│  ├─────┼─────┼─────┤       │
│  │ 1   │ 2   │ 3   │       │
│  └─────┴─────┴─────┘       │
│        [图表可视化]         │
└─────────────────────────────┘
适用:数据展示、对比分析
```

### 模板 5:代码展示 (Code)
```
┌─────────────────────────────┐
│  功能说明                   │
├─────────────────────────────┤
│  ```python                  │
│  def hello():              │
│      print("World")        │
│  ```                        │
│                             │
│  [代码说明/输出结果]        │
└─────────────────────────────┘
适用:技术分享、Demo 演示
```

### 模板 6:引用强调 (Quote)
```
┌─────────────────────────────┐
│                             │
│    "重要引用内容"           │
│             

output/README.md

# Presentation

使用 Slidev 创建的演示文稿

## 预览

```bash
npx slidew dev
```

## 导出

```bash
# 导出为 PDF
npx slidew export

# 导出为 PPTX
npx slidew export --format pptx

# 导出为 HTML
npx slidew export --format html
```

## 主题

- 名称:科技紫
- 主色:#7c3aed
- 辅色:#a78bfa
- 风格:modern

## 编辑

修改 `slides.md` 文件来更新内容
修改 `style.css` 文件来调整样式

README.md

# 📊 Markdown to PPT

将 Markdown 文档转换为精美 PPT 演示文稿的 OpenClaw Skill。

## ✨ 特性

- 🎨 **9 种专业主题** - 商务/科技/创意风格
- 📄 **多格式输出** - Slidev / HTML / PPTX
- 🤖 **智能分页** - 自动识别标题层级
- 📝 **演讲备注** - 支持演讲者备注
- 🎯 **快速预览** - 一键启动本地预览

## 🚀 快速开始

### 1. 安装依赖

```bash
# Slidev(推荐)
npm install -g @slidev/cli

# PPTX 导出(可选)
pip3 install python-pptx
```

### 2. 使用技能

在 OpenClaw 中触发:

```
/md_to_ppt ./docs/presentation.md --theme tech-purple
```

### 3. 预览结果

```bash
cd ./slides/output
npx slidew dev
```

## 📋 命令行参数

| 参数 | 简写 | 说明 | 默认值 |
|------|------|------|--------|
| --input | -i | 输入 Markdown 文件 | 必填 |
| --output | -o | 输出目录 | ./output |
| --theme | -t | 主题名称 | business-blue |
| --format | -f | 输出格式 | slidev |
| --title | | PPT 标题 | 自动生成 |
| --author | | 作者名 | 空 |

## 🎨 可用主题

### 商务系列
- `business-blue` - 商务蓝(专业稳重)
- `business-gray` - 高级灰(内部汇报)
- `business-gold` - 黑金(高端发布)

### 科技系列
- `tech-purple` - 科技紫(现代感)
- `tech-dark` - 暗黑模式(开发者大会)
- `tech-light` - 科技蓝白(技术文档)

### 创意系列
- `creative-orange` - 创意橙(活力动感)
- `creative-green` - 清新绿(环保健康)
- `creative-pink` - 粉彩(生活方式)

## 📝 Markdown 语法

### 基础语法

```markdown
# 幻灯片标题

## 副标题

- 列表项 1
- 列表项 2

> 引用内容

**加粗** *斜体* `代码`

![图片](./image.png)
```

### 手动分页

```markdown
---

# 新的一页
```

### 演讲备注

```markdown
<!--
演讲备注:
这里写演讲提示
-->
```

### 特殊布局

```markdown
<!-- layout: two-column -->
# 双栏布局
```

## 📁 输出结构

### Slidev 格式

```
slides/output/
├── slides.md      # 主文件
├── style.css      # 自定义样式
└── README.md      # 使用说明
```

### HTML 格式

```
output/
└── presentation.html  # 单文件 HTML
```

## 💡 使用示例

### 示例 1:转换现有文档

```bash
python3 scripts/md_to_ppt.py \
  -i ./docs/product-intro.md \
  -o ./slides/product \
  -t tech-purple \
  -f slidev
```

### 示例 2:生成 HTML

```bash
python3 scripts/md_to_ppt.py \
  -i ./docs/report.md \
  -o ./output/report.html \
  -t business-blue \
  -f html
```

### 示例 3:自定义标题

```bash
python3 scripts/md_to_ppt.py \
  -i ./docs/demo.md \
  -t creative-orange \
  --title "2026 产品发布会" \
  --author "张三"
```

## 🛠️ 故障排除

### 问题 1:Slidev 无法启动
```bash
# 确保已安装 Node.js 16+
node --version

# 重新安装 Slidev
npm install -g @slidev/cli
```

### 问题 2:中文显示异常
```bash
# 确保文件编码为 UTF-8
file -I your-file.md

# 使用支持中文的字体
# 在 style.css 中添加:
body { font-family: "Noto Sans SC", sans-serif; }
```

### 问题 3:图片不显示
```bash
# 确保图片路径相对于 Markdown 文件
# 使用相对路径:
![图片](./assets/image.png)
```

## 📦 依赖清单

```json
{
  "node": ["@slidev/cli ^0.40.0"],
  "python": ["python-pptx (可选)"]
}
```

## 🎯 最佳实践

1. **每页一个核心观点** - 避免信息过载
2. **列表项不超过 5 个** - 保持简洁
3. **代码块控制在 20 行内** - 便于阅读
4. **多用图表少用文字** - 视觉化表达
5. **添加演讲备注** - 提醒自己重点

## 📞 支持

- 问题反馈:GitHub Issues
- 文档:`./docs/usage.md`
- 示例:`./templates/example.md`

---

**版本**: 1.0.0  
**作者**: 太子 @neutronstar238  
**许可**: MIT

_meta.json

{
  "ownerId": "kn73qvd340h1j293pdfajdtr7584ennt",
  "slug": "md-to-ppt",
  "version": "1.1.0",
  "publishedAt": 1775640063901
}

output/slides.md

---
# Presentation
theme: default
background: #0f172a
textColor: #f8fafc
class: text-center
highlighter: shiki
lineNumbers: false
author: 
date: 2026-04-08
---

<!--
background: #7c3aed
-->

# Presentation

<div class="text-sm opacity-75">Presented by AI</div>
<div class="text-sm opacity-75">2026-04-08</div>


<!--
background:
  gradient: 'linear'
  from: '#7c3aed'
  to: '#a78bfa'
-->

# 产品介绍

**让每个人都能轻松创建精美演示文稿**

---


<!--
background:
  gradient: 'linear'
  from: '#7c3aed'
  to: '#a78bfa'
-->

# 市场痛点

- 传统工具效率低下
- 协作成本高
- 学习曲线陡峭
> 制作 PPT 太麻烦了!

---


<!--
background:
  gradient: 'linear'
  from: '#7c3aed'
  to: '#a78bfa'
-->

# 解决方案

**Markdown → PPT 一键转换**
- 🚀 快速:3 秒生成
- 🎨 智能:自动美化
- 📱 多端:随时编辑
- 🔗 集成:无缝协作

---


<!--
background:
  gradient: 'linear'
  from: '#7c3aed'
  to: '#a78bfa'
-->

# 产品优势

## 效率对比

| 使用前 | 使用后 |
|--------|--------|
| 2 小时 | 15 分钟 |
| 手动排版 | 自动美化 |
| 容易出错 | 格式统一 |

---


<!--
background:
  gradient: 'linear'
  from: '#7c3aed'
  to: '#a78bfa'
-->

# 技术架构

```python
def convert_md_to_ppt(markdown):
    slides = parse(markdown)
    design = apply_theme(slides)
    return export(design)
```
简单三步,快速转换

---


<!--
background:
  gradient: 'linear'
  from: '#7c3aed'
  to: '#a78bfa'
-->

# 用户案例

**某科技公司**
- 使用前:制作 PPT 需要 2 小时
- 使用后:仅需 15 分钟
- 效率提升:87%

---


<!--
background:
  gradient: 'linear'
  from: '#7c3aed'
  to: '#a78bfa'
-->

# 联系方式

- 📧 [email protected]
- 🌐 www.example.com
- 💬 @username

<!--
Notes:
演讲备注:
最后感谢大家的聆听
欢迎提问和交流
-->

---
Github ReposUpdated 2h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/neutronstar238/skills/md-to-ppt",
      "sourceUrl": "https://clawhub.ai/neutronstar238/skills/md-to-ppt",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T05:43:28.993Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-neutronstar238-md-to-ppt/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-neutronstar238-md-to-ppt/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T05:43:28.993Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "4.3K downloads",
      "href": "https://clawhub.ai/neutronstar238/md-to-ppt",
      "sourceUrl": "https://clawhub.ai/neutronstar238/md-to-ppt",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T05:43:28.993Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.1.0",
      "href": "https://clawhub.ai/neutronstar238/md-to-ppt",
      "sourceUrl": "https://clawhub.ai/neutronstar238/md-to-ppt",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-08T09:21:03.901Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-neutronstar238-md-to-ppt/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-neutronstar238-md-to-ppt/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.1.0",
      "description": "v1.1: 新增智能布局分析、10+ 布局模板、自动配图(Unsplash 搜索)、layout-plan.json 布局方案输出",
      "href": "https://clawhub.ai/neutronstar238/md-to-ppt",
      "sourceUrl": "https://clawhub.ai/neutronstar238/md-to-ppt",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-08T09:21:03.901Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to Markdown to PPT (Smart Layout) and adjacent AI workflows.