Skip to main content
ZICQ

Skills ZICQ category:Other Baidu Wenku AIPPT OpenClaw

Baidu Wenku AIPPT

Generate PPT with Baidu Wenku AI. Smart template selection based on content.

997 installs · 56 stars

Official URL:ClawHub

What this skill does

Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.

What it does

Generate PPT with Baidu Wenku AI. Smart template selection based on content.

When to use it

The official description does not include a separate “Use when”. Per the spec, agents activate this skill when the task matches keywords in that description.

How agents load it

Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: AI PPT Generator; Smart Workflow; Intelligent Template Selection; Scripts; Key Features; Usage Examples. It includes spec-recommended sections: step-by-step instructions, input/output examples.

File analysis

File analysis: besides SKILL.md, the body references scripts/ppt_theme_list.py, scripts/random_ppt_theme.py, scripts/generate_ppt.py. Those resources load on demand.

AI PPT GeneratorSmart WorkflowIntelligent Template SelectionScriptsKey FeaturesUsage ExamplesList all templates with IDsSmart automatic selection (recommended for most users)Specific template with proper style_idSpecific template with auto-suggested categoryAgent StepsOutput Examples

SKILL.md & Agent activation

Official spec ↗
name
Baidu Wenku AIPPT
description
Generate PPT with Baidu Wenku AI. Smart template selection based on content.
  1. DiscoverThe client exposes names and descriptions to the agent.
  2. ActivateYour request or the task context selects the skill and loads its instructions.
  3. Load resourcesReferenced scripts, documentation and assets are used when needed.
Files referenced by the instructions · 3
  • scripts/ppt_theme_list.py
  • scripts/random_ppt_theme.py
  • scripts/generate_ppt.py

These paths are extracted from the text. Check the upstream package to verify the files exist.

Invocation syntax and available tools depend on your Agent client. Client integration guide ↗

Install this skill

Skills CLI ↗

Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.

This skill references supporting files. Retrieve the complete directory from the source; copying SKILL.md alone may leave missing dependencies.

Ask your Agent to install

Copy these instructions to a compatible agent and confirm the target directory matches your client.

Install the agent skill "Baidu Wenku AIPPT" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-9ffa685ad2cbbb92-Baidu-Wenku-AIPPT.html
Save it as .cursor/skills/baidu-wenku-aippt/SKILL.md or .claude/skills/baidu-wenku-aippt/SKILL.md and keep the frontmatter name and description exactly as-is.
This skill also ships scripts/, references/, or assets/ — fetch the whole folder from https://clawhub.ai/skills/ai-ppt-generator instead of creating only a SKILL.md.

No unambiguous GitHub package URL is recorded. Follow the original source's installer instructions.

ClawHub ↗

Readable layout

name: Baidu Wenku AIPPT description: Generate PPT with Baidu Wenku AI. Smart template selection based on content. metadata: { "openclaw": { "emoji": "📑", "requires": { "bins": ["python3"], "env":["BAIDU_API_KEY"]},"primaryEnv":"BAIDU_API_KEY" } }

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

# 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:

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

Final result:

{
  "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

Related skills

Other

Self Improving Agent

Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) U…

Other

Self Improving + Proactive Agent

Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves perm…

Other

Proactive Agent

Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Worki…

Other

Multi Search Engine

Multi search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy en…