← 返回 Skills 市场
alvisdunlop

Ai Ppt Generator

作者 AlvisDunlop · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
64
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install alvis-ppt-generator
功能描述
Generate PPT with SkillBoss API Hub. Smart template selection based on content.
使用说明 (SKILL.md)

AI PPT Generator

Generate PPT using SkillBoss API Hub 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://...ppt"}
}

Technical Notes

  • API integration: Fetches real style_id from SkillBoss API Hub 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 \r
安全使用建议
Do not provide your SkillBoss_API_KEY until you confirm where the Python scripts come from and can inspect them. The SKILL.md tells the agent to run local scripts (scripts/*.py) but the package includes no code—this is the main red flag. Ask the publisher for a source repository or the missing scripts and review them to ensure they only call SkillBoss endpoints and do not exfiltrate other data. If you must test, use a scoped or ephemeral API key with minimal privileges. Also verify any network endpoints the scripts call, and prefer running such scripts in an isolated environment (container) until you confirm their behavior. If the author cannot provide the code or a trustworthy repo, treat the skill as incomplete and avoid installing it.
功能分析
Type: OpenClaw Skill Name: alvis-ppt-generator Version: 1.0.0 The skill bundle describes a standard utility for generating PowerPoint presentations via the SkillBoss API. The documentation in SKILL.md outlines a legitimate workflow for template selection and PPT generation, requiring only the necessary API key and providing clear instructions for the AI agent. There is no evidence of malicious prompt injection, data exfiltration, or unauthorized execution in the provided files (_meta.json and SKILL.md).
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (PPT generation via SkillBoss API Hub) align with required binary (python3) and primaryEnv (SkillBoss_API_KEY). Requesting a single API key is proportionate to a third‑party API integration.
Instruction Scope
The SKILL.md instructs the agent to run scripts (scripts/ppt_theme_list.py, scripts/random_ppt_theme.py, scripts/generate_ppt.py) and to monitor streaming output for is_end: true, but no code files are included in the package and no API endpoints or call examples are provided. That mismatch means the instructions cannot be executed as-is and could cause the agent to attempt to fetch or execute code from elsewhere (unspecified). The doc also contains garbled/non‑ASCII text in places, lowering confidence in completeness.
Install Mechanism
There is no install spec (instruction-only), so nothing will be written to disk by an installer. This is low risk in itself, but combined with missing scripts it means the skill depends on external files being present or fetched at runtime.
Credentials
Only SkillBoss_API_KEY is required and declared as the primary credential. That is consistent with a SkillBoss API integration and is not excessive by itself.
Persistence & Privilege
The skill does not request always:true and does not declare persistent system-wide changes. Agent autonomous invocation is allowed by default (normal).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alvis-ppt-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alvis-ppt-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
AI PPT Generator v1.0.0 - Initial Release - Generate PowerPoint presentations using SkillBoss API Hub with smart template selection. - Intelligent template suggestions based on topic content (business, technology, education, etc.). - Option to manually choose template style or use automatic matching. - Includes scripts for listing templates, smart selection, and PPT generation with proper style/tpl IDs. - Handles API integration, error fallback, and streaming output with clear generation status updates.
元数据
Slug alvis-ppt-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ai Ppt Generator 是什么?

Generate PPT with SkillBoss API Hub. Smart template selection based on content. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。

如何安装 Ai Ppt Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install alvis-ppt-generator」即可一键安装,无需额外配置。

Ai Ppt Generator 是免费的吗?

是的,Ai Ppt Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ai Ppt Generator 支持哪些平台?

Ai Ppt Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ai Ppt Generator?

由 AlvisDunlop(@alvisdunlop)开发并维护,当前版本 v1.0.0。

💬 留言讨论