Agent Skills
› openclaw/gogcli
› gog-slides
gog-slides
GitHub通过 gog 工具执行 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 |
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
-
be4037f
Current 2026-08-29 00:13
新增 skip-slide 和 unskip-slide 命令以控制幻灯片可见性,并在纯文本输出中暴露幻灯片状态。
- eb85a99 2026-08-20 12:40


