Agent skill

AI Ppt Generator

by LeoYeAI in LeoYeAI/openclaw-master-skills

Generate PPT with Baidu AI. An agent skill from LeoYeAI/openclaw-master-skills.

MITAuto-check passedDocuments & Office

Install AI Ppt Generator

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill ai-ppt-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills ai-ppt-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-ppt-generator .claude/skills/ai-ppt-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-ppt-generator
GitHub stars
2.2k
Token cost
~786 tokens
SKILL.md length
293 words
Files
4 (incl. scripts)
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

Generate PPT with Baidu AI. An agent skill from LeoYeAI/openclaw-master-skills.

  • Works in 4 steps: User provides PPT topic → Agent asks: "Want to choose a template… → If yes → Show styles from… → …
  • Tasks that involve PowerPoint presentations
  • SKILL.md covers Smart Workflow, Intelligent Template Selection, Scripts and Key Features, plus 4 more sections
  • Runs Python scripts from its folder; calls python3; reaches image0.bj.bcebos.com

What it does

AI Ppt Generator is an agent skill from LeoYeAI/openclaw-master-skills. Generate PPT with Baidu AI. Smart template selection based on content.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/generate_ppt.py`, `scripts/ppt_theme_list.py` and `scripts/random_ppt_theme.py`).

It sits in Documents & Office, covering PowerPoint presentations. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • Tasks that involve PowerPoint presentations

Example prompts

  • “/ai-ppt-generator”

Requirements

  • Python 3
  • A credential in BAIDU_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. User provides PPT topic
  2. Agent asks: "Want to choose a template style?"
  3. If yes → Show styles from ppt_theme_list.py → User picks → Use generate_ppt.py with chosen tpl_id and real style_id
  4. If no → Use random_ppt_theme.py (auto-selects appropriate template based on topic content)

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • image0.bj.bcebos.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI Ppt Generator loads about 786 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 293 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~786

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 293 words, ~786 tokens.

Download SKILL.mdSave it as .claude/skills/ai-ppt-generator/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
ai-ppt-generator
description
Generate PPT with Baidu AI. Smart template selection based on content.

AI PPT Generator

Generate PPT using Baidu AI with intelligent template selection.

Smart Workflow

  1. User provides PPT topic
  2. Agent asks: "Want to choose a template style?"
  3. If yes → Show styles from ppt_theme_list.py → User picks → Use generate_ppt.py with chosen tpl_id and real style_id
  4. If no → Use random_ppt_theme.py (auto-selects appropriate template based on topic content)

Intelligent Template Selection

random_ppt_theme.py analyzes the topic and suggests appropriate template:

  • Business topics → 企业商务 style
  • Technology topics → 未来科技 style
  • Education topics → 卡通手绘 style
  • Creative topics → 创意趣味 style
  • Cultural topics → 中国风 or 文化艺术 style
  • Year-end reports → 年终总结 style
  • Minimalist design → 扁平简约 style
  • Artistic content → 文艺清新 style

Scripts

  • scripts/ppt_theme_list.py - List all available templates with style_id and tpl_id
  • scripts/random_ppt_theme.py - Smart template selection + generate PPT
  • scripts/generate_ppt.py - Generate PPT with specific template (uses real style_id and tpl_id from API)

Key Features

  • Smart categorization: Analyzes topic content to suggest appropriate style
  • Fallback logic: If template not found, automatically uses random selection
  • Complete parameters: Properly passes both style_id and tpl_id to API

Usage Examples

bash
# List all templates with IDs
python3 scripts/ppt_theme_list.py

# Smart automatic selection (recommended for most users)
python3 scripts/random_ppt_theme.py --query "人工智能发展趋势报告"

# Specific template with proper style_id
python3 scripts/generate_ppt.py --query "儿童英语课件" --tpl_id 106

# Specific template with auto-suggested category
python3 scripts/random_ppt_theme.py --query "企业年度总结" --category "企业商务"

Agent Steps

  1. Get PPT topic from user
  2. Ask: "Want to choose a template style?"
  3. If user says YES:
    • Run ppt_theme_list.py to show available templates
    • User selects a template (note the tpl_id)
    • Run generate_ppt.py --query "TOPIC" --tpl_id ID
  4. If user says NO:
    • Run random_ppt_theme.py --query "TOPIC"
    • Script will auto-select appropriate template based on topic
  5. Set timeout to 300 seconds (PPT generation takes 2-5 minutes)
  6. Monitor output, wait for is_end: true to get final PPT URL

Output Examples

During generation:

json
{"status": "PPT生成中", "run_time": 45}

Final result:

json
{
  "status": "PPT导出结束", 
  "is_end": true, 
  "data": {"ppt_url": "https://image0.bj.bcebos.com/...ppt"}
}

Technical Notes

  • API integration: Fetches real style_id from Baidu API for each template
  • Error handling: If template not found, falls back to random selection
  • Timeout: Generation takes 2-5 minutes, set sufficient timeout
  • Streaming: Uses streaming API, wait for is_end: true before considering complete

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/ai-ppt-generator of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • scripts/generate_ppt.py
  • scripts/ppt_theme_list.py
  • scripts/random_ppt_theme.py

Open the folder on GitHubat commit e5199b5

Compare with similar skills

AI Ppt Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI Ppt Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Ppt Generator this skillLeoYeAI/openclaw-master-skills2.2k—~786Automated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Image To Editable Pptningzimu/image-to-editable-ppt-skill2.9k—~4.3kAutomated safety check: PassMIT
GenOffice Document CLIgenspark-ai/genoffice9.2k—~19kAutomated safety check: PassApache-2.0
PPTX PostersK-Dense-AI/claude-scientific-writer2.4k2 repos~2.7kAutomated safety check: NotesMIT
Slidesfcakyon/claude-codex-settings1.2k1 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Image To Editable Ppt

    ningzimu/image-to-editable-ppt-skill

    Rebuild slide images, scanned or image-based PPT/PPTX files, and PDF decks into object-level editable PowerPoint (.pptx), preserving speaker notes when supplied.

    2.9k GitHub stars~4.3k tokensUpdated 24 days ago
    Documents & OfficeAuto-check passed
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    9.2k GitHub stars~19k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • PPTX Posters

    K-Dense-AI/claude-scientific-writer

    Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets.

    2.4k GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check: notes
  • Slides

    fcakyon/claude-codex-settings

    Create and edit presentation slide decks (.pptx) with PptxGenJS, bundled layout helpers, and render/validation utilities.

    1.2k GitHub starsUsed in 1 repo~1.1k tokens
    Documents & OfficeAuto-check passed
  • Ppt Image First

    NyxTides/ppt-image-first

    Build presentation plans for PPT / slides / decks through a conversation-first workflow, then propose multiple visual directions with preview images before writing deck specs.

    1.2k GitHub stars~1.6k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,235 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about AI Ppt Generator

What does AI Ppt Generator do?

Generate PPT with Baidu AI. An agent skill from LeoYeAI/openclaw-master-skills. AI Ppt Generator is an agent skill from LeoYeAI/openclaw-master-skills. Generate PPT with Baidu AI.

When should I use AI Ppt Generator?

AI Ppt Generator fits situations like: tasks that involve PowerPoint presentations.

How do I install AI Ppt Generator in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill ai-ppt-generator -a claude-code`. Or copy the skill folder (skills/ai-ppt-generator in LeoYeAI/openclaw-master-skills) into .claude/skills/ai-ppt-generator in your project. Claude Code loads it when a task matches its description.

How do I install AI Ppt Generator in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill ai-ppt-generator -a codex`. Or copy the skill folder (skills/ai-ppt-generator in LeoYeAI/openclaw-master-skills) into .agents/skills/ai-ppt-generator in your project. Codex loads it when a task matches its description.

Can I use AI Ppt Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill ai-ppt-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-ppt-generator, .gemini/skills/ai-ppt-generator, .github/skills/ai-ppt-generator and .opencode/skills/ai-ppt-generator in your project.

What does AI Ppt Generator need to run?

Going by SKILL.md and its folder, AI Ppt Generator needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; A credential in BAIDU_API_KEY.

Does AI Ppt Generator access the network?

SKILL.md names 1 domain. In commands or code: image0.bj.bcebos.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is AI Ppt Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does AI Ppt Generator use?

AI Ppt Generator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AI Ppt Generator use?

About 786 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to AI Ppt Generator?

Skills that share tags, products or a category with AI Ppt Generator: Markitdown (ImCa0/just-laws, 781 stars), Image To Editable Ppt (ningzimu/image-to-editable-ppt-skill, 2.9k stars), GenOffice Document CLI (genspark-ai/genoffice, 9.2k stars) and PPTX Posters (K-Dense-AI/claude-scientific-writer, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Ppt Generator?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.