PDF、Word 与幻灯片32k · #9188
gws-slides
它能做什么
这个工具可以帮你在 Google Slides 中创建和管理演示文稿。你可以新建空白演示文稿,也可以更新已有的演示文稿。
适用场景
- ✓当你需要快速创建一份新的演示文稿时。
- ✓当你想在已有演示文稿中添加或修改幻灯片时。
- ✓当你需要调取某份演示文稿来查看或编辑时。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/gws-slides/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/gws-slides/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add googleworkspace/cli --skill gws-slides
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-slides/SKILL.md -o SKILL.md
可以这样问 AI
“新建一个名为“Project Ideas”的演示文稿。”
每周 5 个新技能,1 分钟读完。
工作原理
它会连接你的 Google Slides 账号,通过命令来创建或修改演示文稿。你告诉它要做什么,它就会去执行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
slides (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws slides <resource> <method> [flags]
API Resources
presentations
batchUpdate— Applies one or more updates to the presentation. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.create— Creates a blank presentation using the title given in the request. If apresentationIdis provided, it is used as the ID of the new presentation. Otherwise, a new ID is generated. Other fields in the request, including any provided content, are ignored. Returns the created presentation.get— Gets the latest version of the specified presentation.pages— Operations on the 'pages' resource
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws slides --help
# Inspect a method's required params, types, and defaults
gws schema slides.<resource>.<method>
Use gws schema output to build your --params and --json flags.
常见问题
怎么创建演示文稿?
你可以使用 'create' 命令新建一份空白演示文稿,并指定想要的标题。
怎么更新已有的演示文稿?
使用 'batchUpdate' 命令可以一次性应用多项修改。如果其中有任何一项修改无效,那么所有修改都不会被应用。
怎么查看演示文稿?
使用 'get' 命令可以获取某份指定演示文稿的最新版本。
详情
热度
- GitHub 星标
- 32k
- 排名
- #9188
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …