Xpersona
T

Tech Report PPT Generator

CLAWHUB · Unverified

AI 驱动的技术洞察 PPT 生成器 Skill: Tech Report PPT Generator Owner: xieyuantao7 Summary: AI 驱动的技术洞察 PPT 生成器 Tags: latest:1.2.1 Version history: v1.2.1 | 2026-04-06T00:37:53.943Z | user Major refactor: agent process split into a 5-step modular script flow, new file structure, and clear technical/formatting standards. - Implemented modular 5-step flow: search, extract insights, content generation, optimization, and PPT output, each as an explicit

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

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

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174fxh08pa9jahvc0rj674xk1843r35:generate-insight-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-xieyuantao7-generate-insight-ppt/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

62,198 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: ppt_insight_generator
description: "AI 驱动的技术洞察 PPT 生成器"
---

# PPT Insight Generator - Agent 工作指南

> 这是 Agent 的内部执行指南。README.md 是用户面向的使用说明。

## 一、文件结构

```
skill/
├── SKILL.md                    ← Agent 工作指南(本文档)
├── README.md                    ← 用户使用说明
├── lib/
│   ├── config.js               # 配置(配色、路径、目录结构)
│   ├── logger.js               # 日志记录工具
│   └── file_utils.js           # 文件操作工具
└── scripts/
    ├── 01_search_and_collect.js # Step 1: 搜索 + 内容抽取
    ├── 02_extract_insights.js   # Step 2: 洞察提炼
    ├── 03_generate_content.js   # Step 3: 目录 + 内容生成
    ├── 04_optimize_content.js   # Step 4: 反思优化
    ├── 05_generate_ppt.js       # Step 5: PPT 生成
    └── run_all.js              # 一键执行
```

## 二、会话目录

```
D:\techinsight\reports\insight_{session-id}\n├── collected/           # Step 1 输出
│   ├── search_results.json
│   ├── web_pages/       # 抽取的网页内容 (.md)
│   └── papers/          # 下载的 PDF
├── insights/            # Step 2 输出
│   ├── insights.json    # 洞察清单
│   ├── key_stats.json   # 关键指标
│   └── evidence.json    # 证据清单
├── content/             # Step 3-4 输出
│   ├── outline.json     # 目录结构
│   ├── slides/          # 原始页面内容
│   ├── optimized_slides/ # 优化后内容
│   └── tech_points.json # 技术点清单
└── output/              # Step 5 输出
    └── *.pptx
```

## 三、五步执行流程

```
① 搜索收集  →  ② 洞察提炼  →  ③ 目录内容  →  ④ 反思优化  →  ⑤ 生成PPT
```

---

## Step 1: 搜索 + 内容抽取

### 1.1 搜索渠道

| 渠道 | 用途 | 搜索语法 |
|------|------|----------|
| GitHub | 项目数据、技术栈 | `"[主题]" site:github.com` |
| Hacker News | 技术趋势 | `"[主题]" site:news.ycombinator.com` |
| Stack Overflow | 实战问题 | `"[主题]" site:stackoverflow.com` |
| 知乎 | 中文分析 | `"[主题]" site:zhihu.com` |
| ArXiv | 学术论文 | `"[主题]" site:arxiv.org` |
| 新闻 | 最新动态 | 直接搜索 |

### 1.2 执行搜索

使用 browser_use、news、research 等 skill 执行搜索。

### 1.3 抽取并保存内容

对每个搜索结果:
1. 抽取网页正文内容
2. 保存为 `collected/web_pages/{序号}_{来源}_{标题}.md`
3. 论文下载到 `collected/papers/`

---

## Step 2: 洞察提炼

### 2.1 洞察类型

| 类型 | 提炼要点 |
|------|----------|
| fact | 客观数据、统计数字 |
| trend | 发展轨迹、增长曲线 |
| technical | 关键技术创新、效果 |
| comparison | 竞品差异、方案优劣 |
| causal | 原因分析、影响评估 |
| recommendation | 行动方案、最佳实践 |

### 2.2 输出格式

```json
{
  "insights": [
    {
      "type": "trend",
      "title": "洞察标题",
      "statement": "核心观点陈述",
      "evidence": ["证据1", "证据2"],
      "data": { "source": "来源", "value": "数值" },
      "confidence": "high"
    }
  ],
  "keyStats": [
    { "label": "指标名", "value": "数值", "trend": "up", "source": "来源" }
  ]
}
```

---

## Step 3: 目录 + 内容生成

### 3.1 推荐目录结构

```
├── 封面页
├── 目录页
├── 执行摘要        ← 关键指标 + 核心发现
├── 技术架构图      ← 全局视角
├── 核心技术点 A    ← 每个技术点一页(至少3个)
├── 核心技术点 B
├── 核心技术点 C
├── 对比分析
└── 总结页
```

### 3.2 识别关键技术点

| 类型 | 展开方向 |
|------|----------|
| 架构/设计 | 分层图、组件关系 |
| 算法/机制 | 原理、效果对比 |
| 接口/API | 调用方式、示例 |
| 实现细节 | 代码片段、执行流程 |

### 3.3 技术点页面结构

```
【背景】为什么重要?(50-100字)
【原理】技术机制说明(150-300字)
【细节】实现细节(200-400字)

README.md

# PPT Insight Generator

AI 驱动的技术洞察 PPT 生成器。**深红色主题 (#C00000) + 白色背景**,全流程自动化。

---

## 安装

```bash
npm install pptxgenjs
```

---

## 快速开始

### 一键生成(推荐)

```bash
node scripts/run_all.js --topic "Claude Code 技术洞察" --slides 10
```

### 分步执行

```bash
# Step 1: 搜索
node scripts/01_search_and_collect.js --topic "Claude Code" --session-id "abc123"

# Step 2: 洞察提炼
node scripts/02_extract_insights.js --session-id "abc123"

# Step 3: 内容生成
node scripts/03_generate_content.js --session-id "abc123" --slides 10

# Step 4: 优化
node scripts/04_optimize_content.js --session-id "abc123"

# Step 5: PPT 生成
node scripts/05_generate_ppt.js --session-id "abc123" --output "report.pptx"
```

---

## 输出目录

```
D:\techinsight\reports\insight_{session-id}\
├── collected/          # 搜索结果
│   ├── web_pages/     # 抽取的网页内容
│   └── papers/        # 下载的 PDF
├── insights/          # 洞察提炼
├── content/           # 内容 + 目录
│   ├── outline.json
│   └── slides/
└── output/            # 最终 PPT
    └── *.pptx
```

---

## 参数说明

| 参数 | 说明 | 示例 |
|------|------|------|
| `--topic` | 主题 | `"Claude Code"` |
| `--slides` | 目标页数 | `10` |
| `--session-id` | 会话 ID | `"abc123"` |
| `--output` | 输出文件名 | `"report.pptx"` |
| `--from-step` | 从第几步开始 | `3` |
| `--only-step` | 只执行某一步 | `5` |

### 断点续传

```bash
# 从第 3 步开始
node scripts/run_all.js --session-id "abc123" --from-step 3

# 只执行第 5 步
node scripts/run_all.js --session-id "abc123" --only-step 5
```

---

## PPT 页面类型

| 类型 | 说明 |
|------|------|
| cover | 封面页 |
| toc | 目录页 |
| executive_summary | 执行摘要 |
| tech_overview | 技术全景图 |
| tech_point | 技术点展开 |
| comparison | 对比分析 |
| summary | 总结页 |

---

## 配色方案

| 用途 | 色值 |
|------|------|
| 主色(标题) | `#C00000` |
| 辅助色 | `#C41E3A` |
| 强调色 | `#D4AF37` |
| 背景 | `#FFFFFF` |
| 正文 | `#1A1A1A` |

---

## 故障排除

**pptxgenjs 未安装**
```bash
npm install pptxgenjs
```

**中文显示异常**
确保系统安装了「微软雅黑」字体。

**PPT 无法打开**
检查 Node.js 版本(建议 v16+),重新安装 pptxgenjs。

---

*最后更新:2026 年 4 月*

scripts/README.md

# PPT Insight Generator 脚本集

## 目录结构

```
scripts/
├── 01_search_and_collect.js   # Step 1: 搜索 + 内容抽取 + 文档下载
├── 02_extract_insights.js     # Step 2: 从收集内容中提炼洞察
├── 03_generate_content.js     # Step 3: 生成目录 + 结构化内容
├── 04_optimize_content.js     # Step 4: 反思优化内容
├── 05_generate_ppt.js         # Step 5: PPT 生成 (Node.js)
├── 05_generate_ppt_v2.py      # PPT 生成 (Python, 优化版)
└── run_all.js                 # 一键执行完整流程
```

## 快速开始

### Python 版本(推荐)

```bash
# 生成 PPT
python scripts/05_generate_ppt_v2.py --session-id "abc123" --output "report.pptx"

# 或直接运行(需要已生成 content/slides/)
python scripts/05_generate_ppt_v2.py
```

### Node.js 版本

```bash
node scripts/run_all.js --topic "Claude Code 技术洞察" --slides 10 --output "report.pptx"
```

### 分步执行

```bash
# Step 1: 搜索
node scripts/01_search_and_collect.js --topic "Claude Code" --session-id "abc123"

# Step 2: 洞察提炼
node scripts/02_extract_insights.js --session-id "abc123"

# Step 3: 内容生成
node scripts/03_generate_content.js --session-id "abc123" --slides 10

# Step 4: 优化
node scripts/04_optimize_content.js --session-id "abc123"

# Step 5: PPT 生成
node scripts/05_generate_ppt.js --session-id "abc123" --output "report.pptx"
```

### 断点续传

```bash
# 从第 3 步开始
node scripts/run_all.js --session-id "abc123" --from-step 3

# 只执行第 5 步
node scripts/run_all.js --session-id "abc123" --only-step 5
```

## 依赖

### Python 版本
```bash
pip install python-pptx
```

### Node.js 版本
```bash
npm install pptxgenjs
```

_meta.json

{
  "ownerId": "kn777ytd9kewqmfrr0mfn2gx6582k5mw",
  "slug": "generate-insight-ppt",
  "version": "1.2.1",
  "publishedAt": 1775435873943
}

skill-card.md

## Description:

Automates technical report generation by collecting research material, extracting insights, drafting slide content, optimizing it, and producing a PowerPoint deck.

This skill is ready for commercial/non-commercial use.

## Publisher:

[xieyuantao7](https://clawhub.ai/user/xieyuantao7)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, analysts, and technical teams use this skill to turn a research topic into a structured technical insight presentation with collected sources, extracted insights, generated slide content, and a final PPTX file.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: URL fetching during collection can reach untrusted or internal network resources.

Mitigation: Run the skill with limited network access, allowlist trusted sources, and avoid allowing untrusted URLs to drive downloads.

Risk: Session-file handling may write outside the intended report folder.

Mitigation: Use simple alphanumeric session IDs and inspect configured output paths before execution.

Risk: Runtime dependencies may vary if installed without version pinning.

Mitigation: Pin and review presentation-generation dependencies in an isolated environment before use.

## Reference(s):

- [Tech Report PPT Generator on ClawHub](https://clawhub.ai/xieyuantao7/skills/generate-insight-ppt)
- [User README](artifact/README.md)
- [Scripts README](artifact/scripts/README.md)

## Skill Output:

**Output Type(s):** [Files, Markdown, JSON, Shell commands, Configuration]

**Output Format:** [PowerPoint files with Markdown and JSON intermediate artifacts]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces collected web-page Markdown, insight and outline JSON, slide content files, logs, and PPTX output under a session directory.]

## Skill Version(s):

1.2.1 (source: ClawHub release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Tech Report PPT Generator and adjacent AI workflows.