timyljob2011-sudo

ppt-icon-generator

办公效率v1.0.0
作者:timyljob2011-sudo更新于 2026-05-11@clawhub_timyljob2011-sudo/ppt-icon-generator
PPT 生成

据 AlphaMoat 统计,截至 2026-09,ppt-icon-generator 累计下载 1,206 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 4,934 位,在「办公效率」分类(435 个)中排名第 414 位。

累计安装
190
累计下载
1,206
星标
-
全站排名
#4,934
全站前 98% · 「办公效率」前 96%
平台累计安装累计下载星标评论
ClawHub ↗19772--
SkillHub ↗1901,206-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

流程涵盖 Iconify 检索下载、Python 图形或文字生成,也说明了借助外部 AI 工具处理自定义提示词的方式。查询或提示词可能发送至 Iconify、SimpleSVG 或 Copilot,避免加入敏感幻灯片内容。缺少转换依赖时可能只输出 SVG;使用前检查实际格式、尺寸和透明度。

资料发布于 2026-10-27

可以用来做什么

  • 准备演示文稿透明图标

什么时候用

  • 需要准备演示文稿透明图标时。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

为幻灯片查找图表图标,保存到我指定的位置,并验证交付格式和透明度。

月度数据趋势

累计下载1,206
2127461,2802026-03 · 累计下载 2862026-05 · 累计下载 5332026-06 · 累计下载 6072026-07 · 累计下载 7992026-08 · 累计下载 9172026-09 · 累计下载 1,20626-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,206—-
2026-08917+14.8%-
2026-07799+31.6%-
2026-06607+13.9%-
2026-05533—-
2026-03286—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

8.7 KB · ClawHub v1.0.0
---
name: ppt-icon-generator
description: |
  Generate or search PNG transparent icons for PowerPoint presentations.
  Use when: (1) Need icons for PPT slides, (2) Want custom icons from text prompts,
  (3) Need transparent PNG icons in specific styles (flat, line, filled, etc.).
  Supports icon search from Iconify API, SVG to PNG conversion, and AI-style icon generation.
---

# PPT Icon Generator
展开全部(共 322 行)

Generate professional PNG transparent icons for your PowerPoint presentations.

## Features

- 🔍 **Search Icons**: Search 200,000+ icons from Iconify API
- 🎨 **Generate Icons**: Create custom icons from text prompts using AI/Copilot
- 🖼️ **SVG to PNG**: Convert SVG icons to transparent PNG
- 📐 **Custom Size**: Generate icons in any size (default: 512x512)
- 🎯 **Multiple Styles**: Flat, line, filled, outline, duotone

## Quick Start

### Search and Download Icon

```bash
# Search for "chart" icons
python3 scripts/icon_search.py --query "chart" --limit 5

# Download first result as PNG
python3 scripts/icon_search.py --query "chart" --download --output ~/workspace/chart_icon.png
```

### Generate Custom Icon

```bash
# Generate a "rocket" icon with gradient style
python3 scripts/icon_generate.py --prompt "rocket launching with fire trail" --style gradient --output rocket.png

# Generate line-style icon
python3 scripts/icon_generate.py --prompt "data analytics dashboard" --style line --size 256
```

## Usage Methods

### Method 1: Search Existing Icons (Recommended)

Search from 200,000+ open source icons:

```javascript
// Search icons
{
  "tool": "exec",
  "command": "python3 /root/.openclaw/skills/ppt-icon-generator/scripts/icon_search.py --query 'analytics' --limit 10"
}

// Download specific icon
{
  "tool": "exec",
  "command": "python3 /root/.openclaw/skills/ppt-icon-generator/scripts/icon_search.py --query 'chart-line' --download --output /root/.openclaw/workspace/chart.png"
}
```

### Method 2: Generate with AI/Canvas

Use browser automation to generate icons via AI tools:

```javascript
// Use Copilot/ChatGPT to generate icon
{
  "tool": "browser",
  "action": "open",
  "targetUrl": "https://copilot.microsoft.com"
}

// Prompt example:
// "Generate a minimalist icon of [DESCRIPTION], transparent background, 
//  suitable for PowerPoint, flat design style, single color"
```

### Method 3: Create with Python (Pillow)

Generate simple geometric icons:

```bash
# Create basic shapes with transparency
python3 scripts/icon_generate.py --shape circle --color "#FF6B6B" --output icon.png

# Create text-based icon
python3 scripts/icon_generate.py --text "AI" --bg-gradient "#667eea,#764ba2" --output ai_icon.png
```

## Icon Search Examples

### Common PPT Icon Categories

```bash
# Business & Analytics
python3 scripts/icon_search.py --query "chart-bar" --download
python3 scripts/icon_search.py --query "trending-up" --download
python3 scripts/icon_search.py --query "pie-chart" --download

# Technology
python3 scripts/icon_search.py --query "cpu" --download
python3 scripts/icon_search.py --query "cloud" --download
python3 scripts/icon_search.py --query "database" --download

# Communication
python3 scripts/icon_search.py --query "message" --download
python3 scripts/icon_search.py --query "email" --download
python3 scripts/icon_search.py --query "share" --download

# UI Elements
python3 scripts/icon_search.py --query "check-circle" --download
python3 scripts/icon_search.py --query "alert" --download
python3 scripts/icon_search.py --query "settings" --download
```

## Icon Generation Examples

### From Text Prompt

```bash
# Generate abstract tech icon
python3 scripts/icon_generate.py \
  --prompt "neural network nodes connected" \
  --style flat \
  --color "#4ECDC4" \
  --output neural_icon.png

# Generate arrow icon
python3 scripts/icon_generate.py \
  --prompt "arrow pointing right with curved path" \
  --style line \
  --size 512 \
  --output arrow.png
```

### Simple Geometric Icons

```bash
# Solid circle icon
python3 scripts/icon_generate.py --shape circle --color "#FF6B6B" --output red_circle.png

# Square with rounded corners
python3 scripts/icon_generate.py --shape rounded-rect --color "#4ECDC4" --output teal_box.png

# Diamond shape
python3 scripts/icon_generate.py --shape diamond --color "#FFE66D" --output yellow_diamond.png
```

## Icon Styles for PPT

| Style | Use Case | Command |
|-------|----------|---------|
| Flat | Modern, clean slides | `--style flat` |
| Line | Minimalist, outline | `--style line` |
| Filled | Bold, emphasis | `--style filled` |
| Gradient | Eye-catching titles | `--style gradient` |
| Duotone | Professional reports | `--style duotone` |

## Workflow: Get Icon for PPT

### Step 1: Search or Describe

```bash
# Option A: Search existing icons
python3 scripts/icon_search.py --query "your-keyword" --limit 5

# Option B: Describe what you need
python3 scripts/icon_generate.py --prompt "your description" --preview
```

### Step 2: Download/Generate

```bash
# Download selected icon
python3 scripts/icon_search.py --query "selected-icon-name" --download --output my_icon.png

# Or generate custom
python3 scripts/icon_generate.py --prompt "description" --output my_icon.png
```

### Step 3: Verify and Use

```bash
# Check icon properties
python3 scripts/icon_verify.py --file my_icon.png

# Resize if needed
python3 scripts/icon_resize.py --input my_icon.png --size 256 --output my_icon_256.png
```

### Step 4: Send to User

```javascript
{
  "tool": "message",
  "action": "send",
  "filePath": "/root/.openclaw/workspace/my_icon.png",
  "filename": "my_ppt_icon.png"
}
```

## API Reference

### icon_search.py

```bash
python3 scripts/icon_search.py [options]

Options:
  --query TEXT        Search query (required)
  --limit N           Number of results (default: 10)
  --download          Download first result as PNG
  --output PATH       Output file path
  --style STYLE       Filter by style: flat, line, filled
  --color COLOR       Filter by color theme
```

### icon_generate.py

```bash
python3 scripts/icon_generate.py [options]

Options:
  --prompt TEXT       Description of icon to generate
  --shape SHAPE       Basic shape: circle, square, diamond, star
  --text TEXT         Text to render as icon
  --style STYLE       Style: flat, line, gradient, duotone
  --color COLOR       Primary color (hex)
  --size N            Output size in pixels (default: 512)
  --output PATH       Output file path
  --bg-color COLOR    Background color (default: transparent)
```

### icon_convert.py

```bash
python3 scripts/icon_convert.py [options]

Options:
  --input PATH        Input SVG file
  --output PATH       Output PNG file
  --size N            Output size (default: 512)
  --color COLOR       Override icon color
```

## Best Practices

1. **Size**: Use 512x512 for flexibility, resize in PPT
2. **Format**: Always PNG with transparency
3. **Style**: Match your PPT theme (flat for modern, line for minimal)
4. **Color**: Use brand colors or neutral (#333, #666, #999)
5. **Consistency**: Use same style throughout presentation

## Common PPT Icon Needs

| Use Case | Recommended Query |
|----------|-------------------|
| Section headers | `title`, `heading`, `flag` |
| Bullet points | `check`, `dot`, `star` |
| Process steps | `arrow-right`, `number-1`, `timeline` |
| Data charts | `chart`, `graph`, `analytics` |
| Contact info | `email`, `phone`, `location` |
| Social media | `twitter`, `linkedin`, `github` |

## Troubleshooting

### Icon not found
- Try synonyms: "chart" → "graph" → "analytics"
- Use broader terms: "email" instead of "gmail"

### Generated icon looks wrong
- Be more specific in prompt
- Try different style: `--style line` vs `--style flat`
- Adjust colors for better contrast

### PNG has white background
- Verify transparency is enabled
- Use PNG format (not JPG)
- Check with: `python3 scripts/icon_verify.py --file icon.png`

## Examples

### Example 1: Full Workflow

User: "I need an icon for AI analytics section in my PPT"

```bash
# Search relevant icons
python3 scripts/icon_search.py --query "ai-brain" --limit 5

# Download best match
python3 scripts/icon_search.py --query "brain-circuit" --download --output ai_icon.png

# Or generate custom
python3 scripts/icon_generate.py --prompt "AI brain with circuit patterns" --style gradient --output ai_custom.png
```

### Example 2: Batch Generate Icons

```bash
# Create icon set
for theme in "strategy" "growth" "innovation" "team"; do
  python3 scripts/icon_generate.py --prompt "$theme concept" --output "${theme}_icon.png"
done
```

### Example 3: Style Matching

```bash
# Generate icons matching your PPT theme color
python3 scripts/icon_generate.py --shape circle --color "#YOUR_BRAND_COLOR" --output brand_icon.png
```

## Links & Resources

- Iconify API: https://api.iconify.design/
- Icon Sets: Material Design, Fluent, Heroicons, Phosphor
- Color Picker: https://colorpicker.me/

「办公效率」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。