Agent Skills
› openclaw/gogcli
› gog-slides
gog-slides
GitHub提供通过 gog CLI 操作 Google Slides 的能力,涵盖创建、编辑幻灯片、插入图文、样式调整及导出等功能。支持从 Markdown 生成演示文稿,强调安全认证与只读模式。
Trigger Scenarios
需要自动化创建或修改 Google Slides 演示文稿
将 Markdown 内容转换为幻灯片格式
批量处理幻灯片元素(如文本、图片、表格)
导出或备份 Google Slides 数据
Install
npx skills add openclaw/gogcli --skill gog-slides -g -y
SKILL.md
Frontmatter
{
"name": "gog-slides",
"description": "Google Slides operations through gog."
}
Google Slides
Use gog for Google Slides operations. Read ../gog/SKILL.md first for shared auth,
output, safety, and live-write rules.
Safe start
gog auth list --check --json --no-input
gog schema slides --json
gog --readonly --account user@example.com slides --help
- Select the account explicitly with
--account. - Use
--json --wrap-untrustedfor agent-readable Google content. - Use
--readonlywhen the task must not mutate Google data. - Use
--no-inputin automation and--dry-runbefore supported writes. - Confirm the exact account, object, and mutation before any write or delete.
Commands
| Command | Purpose |
|---|---|
add-slide |
Add a slide with a full-bleed image and optional speaker notes |
bullets |
Turn paragraph bullets on or off in one page element |
copy |
Copy a Google Slides presentation |
create |
Create a Google Slides presentation |
create-from-markdown |
Create a Google Slides presentation from markdown |
create-from-template |
Create a presentation from template with text replacements |
delete-slide |
Delete a slide by object ID |
duplicate-slide |
Duplicate a slide by object ID |
element |
Create and manipulate native page elements |
export |
Export a Google Slides deck (pdf|pptx) |
info |
Get Google Slides presentation metadata |
insert-image |
Insert a local or public image at a position and size |
insert-text |
Insert text into an existing page element (shape or table) by objectId |
link |
Apply a hyperlink to a text range in one page element |
list-slides |
List all slides with their object IDs and skipped state |
locate |
Locate text in shapes and table cells with object IDs and UTF-16 ranges |
move-slide |
Move a slide to a zero-based insertion index |
new-slide |
Create a native themed slide |
paragraph-style |
Set paragraph alignment, spacing, indentation, or direction |
raw |
Dump raw Google Slides API response as JSON (Presentations.Get; lossless; for scripting and LLM consumption) |
read-slide |
Read slide content: speaker notes, text elements, and images |
replace-slide |
Replace an existing slide image from a local file or public URL |
replace-text |
Find-and-replace text in an explicit object, slide, or presentation scope |
skip-slide |
Skip a slide during presentation |
style-text |
Apply range-scoped text styling to one page element |
table |
Create and update native tables |
thumbnail |
Get or download a rendered thumbnail for a slide |
unskip-slide |
Include a skipped slide during presentation |
update-notes |
Update speaker notes on an existing slide |
Run gog slides <command> --help for flags and gog schema slides <command> --json
for the machine-readable contract. Do not guess command syntax.
Version History
-
5c918b6
Current 2026-09-23 03:31
新增段落样式功能,支持对形状和单元格设置对齐、间距、缩进和方向,并增强了对表格单元格的验证与更新保护。
-
be4037f
2026-08-29 00:13
新增 skip-slide 和 unskip-slide 命令以控制幻灯片可见性,并在纯文本输出中暴露幻灯片状态。
- eb85a99 2026-08-20 12:40


