返回顶部
g

google-slides

Create, edit, and export Google Slides presentations. Use when creating new presentations, adding or updating slides, reading slide content, exporting to PDF/PPTX, or building a deck from scratch. Requires gog auth to be working.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
366
下载量
0
收藏
概述
安装方式
版本历史

google-slides

# Google Slides Uses the `gog` CLI for basic operations and `scripts/slides.py` for advanced edits (adding/editing slide content via the Slides API). ## Auth Check Before any Slides operation, verify auth is working: ```bash gog slides info <any-presentation-id> --account david@hml.tech ``` If it fails, re-auth: `gog auth add david@hml.tech --services gmail,calendar,drive,docs,sheets,contacts,tasks,people` ## Core Commands (via gog) ```bash # Create a new blank presentation gog slides create "My Presentation" --account david@hml.tech --json # Get info about a presentation (slide count, title, etc.) gog slides info <presentationId> --account david@hml.tech --json # Export to PDF gog slides export <presentationId> --format pdf --out /tmp/deck.pdf --account david@hml.tech # Export to PPTX gog slides export <presentationId> --format pptx --out /tmp/deck.pptx --account david@hml.tech # Copy a presentation (e.g., to use a template) gog slides copy <presentationId> "Copy Title" --account david@hml.tech --json ``` ## Adding/Editing Slide Content (via scripts/slides.py) For adding text slides, batch updates, and reading full content, use `scripts/slides.py`. ```bash # Add a text slide with title and bullet body python3 scripts/slides.py add-slide <presentationId> \ --title "Slide Title" \ --body "• Bullet point one\n• Bullet point two" # Add a slide at a specific position (0-indexed) python3 scripts/slides.py add-slide <presentationId> --title "Intro" --insert-at 0 # Run arbitrary batch update requests from a JSON file python3 scripts/slides.py batch <presentationId> requests.json # Export via script python3 scripts/slides.py export <presentationId> --format pdf --out /tmp/deck.pdf # List comments with their anchors (e.g. which slide they are on) python3 scripts/slides.py list-comments <presentationId> # Resolve a comment and optionally leave a reply message python3 scripts/slides.py resolve-comment <presentationId> <commentId> --reply "Fixed!" ``` ## Building a Deck from Scratch Typical workflow: 1. Create presentation: `gog slides create "Title" --json` → get `presentationId` 2. Add slides one by one using `scripts/slides.py add-slide` 3. For rich content (images, shapes, formatting), write batch requests to a JSON file and run `scripts/slides.py batch` 4. Export: `gog slides export <id> --format pdf --out /tmp/deck.pdf` For complex batch requests (images, shapes, text formatting), see `references/batch_requests.md`. ## Getting Presentation ID From a Google Slides URL: `https://docs.google.com/presentation/d/**<presentationId>**/edit` ## Notes - `gog slides` uses the Drive API under the hood (no separate Slides scope needed) - `scripts/slides.py` uses the Google Slides API directly and requires working gog auth tokens - Set `GOG_ACCOUNT=david@hml.tech` in env to skip `--account` flag

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 hml-google-slides-1776279261 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 hml-google-slides-1776279261 技能

通过命令行安装

skillhub install hml-google-slides-1776279261

下载 Zip 包

⬇ 下载 google-slides v1.0.0

文件大小: 5.8 KB | 发布时间: 2026-4-16 17:59

v1.0.0 最新 2026-4-16 17:59
HML-specific Google Slides management skill

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部