Token导航 LogoToken导航TokenDH.com
效率external-serviceclawhub未标认证来源可访问clear审计通过

ppt-generate-and-editppt 生成和编辑

Agent Skill

ppt-generate-and-edit 用于辅助 Python 项目开发、测试和数据处理,适合在 OpenClaw 中需要阅读 Python 代码、运行测试或整理脚本流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,212

周安装

95

GitHub Stars

2

下载量

775
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ppt-generate-and-edit(ppt 生成和编辑)
来源仓库:https://github.com/zicheng354-tech/ppt-generate-and-edit
安装命令:
openclaw skills install ppt-generate-and-edit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ppt-generate-and-edit

简介

使用 python-pptx 生成和编辑 PowerPoint 文件。

  • 支持幻灯片创建、文本替换和图像替换。
  • 适用于自动化 PPT 制作和批量修改。
  • 需确认 Python 环境依赖和布局保留情况。
  • 建议测试脚本兼容性后再部署。ppt-generate-and-edit 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
ppt-generate-and-edit
description
Generate and edit PowerPoint files with python-pptx, including slide creation, text replacement, and image replacement while preserving layout. Use when the user asks to create PPTs from structured content, update existing PPT content, or perform country/theme replacement in slides.

PPT Generate And Edit

Purpose

Provide a reusable Python skill for AI agents to:

  • Create PPT files from structured input.
  • Update existing PPT files with text/image replacement.
  • Keep image layout stable (same position and size) during replacement.

Inputs

create_ppt

  • title: presentation title.
  • slides: array of slide objects:

- title: slide title. - content: string or list of paragraphs. - image_prompt (optional): prompt for image generation.

update_ppt

  • ppt_path: source .pptx path.
  • replace_rules:

- text_replace: dictionary for text replacement. - image_replace: dictionary for image replacement strategy.

Outputs

create_ppt

  • Returns generated .pptx file path.

update_ppt

  • Returns:

- new_ppt_path: new .pptx output path. - replace_log: replacement details grouped by slide.

Module Structure

  • main.py: external API for agent calls and demo entry.
  • ppt_generator.py: PPT creation.
  • ppt_editor.py: PPT text/image replacement.
  • image_service.py: image generation abstraction (mock + extension points).
  • utils.py: logging and path helpers.

Usage

from ppt_skill.main import create_ppt, update_ppt

slides = [
    {
        "title": "Brazil Overview",
        "content": ["Brazil is the largest country in South America."],
        "image_prompt": "Brazil skyline and national flag",
    }
]

ppt_path = create_ppt(title="Brazil Briefing", slides=slides)

result = update_ppt(
    ppt_path=ppt_path,
    replace_rules={
        "text_replace": {"Brazil": "Chile"},
        "image_replace": {"__all__": {"prompt": "Chile skyline and national flag"}},
    },
)
print(result["new_ppt_path"])

Notes

  • Current generate_image() uses mock backend by default.
  • DALL·E and Stable Diffusion integration points are reserved as TODO.
  • Keep API fields stable for downstream agent compatibility.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.21%
按下载量换算598

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills