google-slides-automation

google-slides-automation is a skill for Claude Code, Codex from LiHongwei-cn/lihongwei-cn. It costs 26 tokens per session (1,075 once invoked), scanned A, a copy of google-slides, MIT.

A tool guide for automating Google Slides, Google's online presentation editor, through local scripts.

In plain words
What is it for?
It is for extracting slide text, searching presentations, adding or removing slides, and applying batch changes to presentation content.
Why use it?
It removes repetitive manual work when reading, finding, or changing presentations in a Google Workspace account.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/auth.py login.

Good fit It is for extracting slide text, searching presentations, adding or removing slides, and applying batch changes to presentation content.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/LiHongwei-cn/lihongwei-cn
agentmods
npx agentmods add skills/lihongwei-cn/lihongwei-cn/google-slides-automation

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-slides-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/lihongwei-cn/lihongwei-cn/google-slides-automation/github.svg)](https://agentmods.dev/skills/lihongwei-cn/lihongwei-cn/google-slides-automation)
Your own site
<a href="https://agentmods.dev/skills/lihongwei-cn/lihongwei-cn/google-slides-automation"><img src="https://agentmods.dev/badge/skills/lihongwei-cn/lihongwei-cn/google-slides-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-slides-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/lihongwei-cn/lihongwei-cn/google-slides-automation"><img src="https://agentmods.dev/badge/skills/lihongwei-cn/lihongwei-cn/google-slides-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.01075
Opus 5 $0.00013 $0.00537
Sonnet 5 $0.00005 $0.00215
Haiku 4.5 $0.00003 $0.00108

Measured 9d ago against content hash e7115de0ada1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

google-slides-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to google-slides — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

mundo-cloud/skills/aas-documents-presentations/google-slides-automation/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Slides

Lightweight Google Slides integration with standalone OAuth authentication. No MCP server required. Full read/write access.

Requires Google Workspace account. Personal Gmail accounts are not supported.

When to Use

  • You need to create, inspect, or modify Google Slides presentations from local automation.
  • The task involves reading slide text, adding/removing slides, or batch updating presentation content.
  • You want Slides automation for Workspace documents without using an MCP server.

First-Time Setup

Authenticate with Google (opens browser):

python scripts/auth.py login

Check authentication status:

python scripts/auth.py status

Logout when needed:

python scripts/auth.py logout

Read Commands

All operations via scripts/slides.py. Auto-authenticates on first use if not logged in.

# Get all text content from a presentation
python scripts/slides.py get-text "1abc123xyz789"
python scripts/slides.py get-text "https://docs.google.com/presentation/d/1abc123xyz789/edit"

# Find presentations by search query
python scripts/slides.py find "quarterly report"
python scripts/slides.py find "project proposal" --limit 5

# Get presentation metadata (title, slide count, slide object IDs)
python scripts/slides.py get-metadata "1abc123xyz789"

Write Commands

# Create a new empty presentation
python scripts/slides.py create "Q4 Sales Report"

# Add a blank slide to the end
python scripts/slides.py add-slide "1abc123xyz789"

# Add a slide with a specific layout
python scripts/slides.py add-slide "1abc123xyz789" --layout TITLE_AND_BODY

# Add a slide at a specific position (0-based index)
python scripts/slides.py add-slide "1abc123xyz789" --layout TITLE --at 0

# Find and replace text across all slides
python scripts/slides.py replace-text "1abc123xyz789" "old text" "new text"
python scripts/slides.py replace-text "1abc123xyz789" "Draft" "Final" --match-case

# Delete a slide by object ID (use get-metadata to find IDs)
python scripts/slides.py delete-slide "1abc123xyz789" "g123abc456"

# Batch update (advanced - for formatting, inserting shapes, images, etc.)
python scripts/slides.py batch-update "1abc123xyz789" '[{"replaceAllText":{"containsText":{"text":"foo"},"replaceText":"bar"}}]'

Read the full file on GitHub · 151 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 151 lines · 26 tokens per session scan A e7115de0ada1

Subscribe to this mod's changes

google-slides-automation is a skill published in the GitHub repository LiHongwei-cn/lihongwei-cn (5 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 1,075 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to google-slides, differing in 20 lines, and is treated as a copy.

Related

Other skills, from other repositories