/install hml-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:
gog slides info \x3Cany-presentation-id> --account [email protected]
If it fails, re-auth: gog auth add [email protected] --services gmail,calendar,drive,docs,sheets,contacts,tasks,people
Core Commands (via gog)
# Create a new blank presentation
gog slides create "My Presentation" --account [email protected] --json
# Get info about a presentation (slide count, title, etc.)
gog slides info \x3CpresentationId> --account [email protected] --json
# Export to PDF
gog slides export \x3CpresentationId> --format pdf --out /tmp/deck.pdf --account [email protected]
# Export to PPTX
gog slides export \x3CpresentationId> --format pptx --out /tmp/deck.pptx --account [email protected]
# Copy a presentation (e.g., to use a template)
gog slides copy \x3CpresentationId> "Copy Title" --account [email protected] --json
Adding/Editing Slide Content (via scripts/slides.py)
For adding text slides, batch updates, and reading full content, use scripts/slides.py.
# Add a text slide with title and bullet body
python3 scripts/slides.py add-slide \x3CpresentationId> \
--title "Slide Title" \
--body "• Bullet point one\
• Bullet point two"
# Add a slide at a specific position (0-indexed)
python3 scripts/slides.py add-slide \x3CpresentationId> --title "Intro" --insert-at 0
# Run arbitrary batch update requests from a JSON file
python3 scripts/slides.py batch \x3CpresentationId> requests.json
# Export via script
python3 scripts/slides.py export \x3CpresentationId> --format pdf --out /tmp/deck.pdf
# List comments with their anchors (e.g. which slide they are on)
python3 scripts/slides.py list-comments \x3CpresentationId>
# Resolve a comment and optionally leave a reply message
python3 scripts/slides.py resolve-comment \x3CpresentationId> \x3CcommentId> --reply "Fixed!"
Building a Deck from Scratch
Typical workflow:
- Create presentation:
gog slides create "Title" --json→ getpresentationId - Add slides one by one using
scripts/slides.py add-slide - For rich content (images, shapes, formatting), write batch requests to a JSON file and run
scripts/slides.py batch - Export:
gog slides export \x3Cid> --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/**\x3CpresentationId>**/edit
Notes
gog slidesuses the Drive API under the hood (no separate Slides scope needed)scripts/slides.pyuses the Google Slides API directly and requires working gog auth tokens- Set
[email protected]in env to skip--accountflag
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install hml-google-slides - After installation, invoke the skill by name or use
/hml-google-slides - Provide required inputs per the skill's parameter spec and get structured output
What is HML Google Slides?
Create, edit, and export Google Slides presentations. Use when creating new presentations, adding or updating slides, reading slide content, exporting to PDF... It is an AI Agent Skill for Claude Code / OpenClaw, with 443 downloads so far.
How do I install HML Google Slides?
Run "/install hml-google-slides" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is HML Google Slides free?
Yes, HML Google Slides is completely free (open-source). You can download, install and use it at no cost.
Which platforms does HML Google Slides support?
HML Google Slides is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created HML Google Slides?
It is built and maintained by nethunter (@nethunter); the current version is v1.0.0.