google-slides
Skill0 starsChanged 3 months agoMITView on GitHub
Use this skill when the artifact is a Google Slides deck. Slides is the weakest surface for the local gog CLI: gog slides only supports create/info/copy/export, and the local OAuth token did not even include the Slides scope during testing. So content authoring goes through a conversion or raw-API path, not gog content commands. Tested-good default: author Markdown -> pandoc PPTX -> Drive import as native Google Slides. In testing this produced a 6-slide deck with correct titles, bullet lists,…
- Reads credentials
- Installs packages
5 other projects use a version of this.
Adopted by
Most recently taken up by
- wfukatsu/slide-forgetheir own version, first seen Sep 17, 2026
- Fize/workspace-kittheir own version, first seen Sep 3, 2026
- sanjay3290/ai-skillstheir own version, first seen Jul 6, 2026
- openai/pluginstheir own version, first seen May 13, 2026
- okou-ai/okou-skillstheir own version, first seen Mar 26, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- openai/plugins★ 7.3ksame name
- sanjay3290/ai-skills★ 429same name
- okou-ai/okou-skills★ 77same name
- wfukatsu/slide-forge★ 5same name
- Fize/workspace-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- check-upstream-firstSkill
- data-verificationSkill
- deep-diveSkill
- delegation-handoffSkill
- grok-searchSkill
- is-it-really-brokenSkill
- keep-goingSkill
- learn-from-conversationsSkill
- memory-cleanupSkill
- moa-solveSkill
- mob-checkSkill
- multi-reviewSkill
- project-stewardSkill
- prove-the-setting-worksSkill
- recallSkill
- reportSkill
- robustify-doctorSkill
- skill-librarianSkill
- trust-frameworkSkill
- address-pr-commentsSkill
- diagram-renderingSkill
- find-the-real-bottleneckSkill
- live-database-maintenanceSkill
- mini-appSkill
- pr-review-sweepSkill
- scheduled-job-runnerSkill
- stop-the-noiseSkill
- upgrade-a-live-service-safelySkill
- vendor-switch-checkSkill
- writing-for-non-engineersSkill
- email-stewardSkill
- fieldySkill
- google-docsSkill
- google-sheetsSkill
- imessage-bluebubblesSkill
- vapi-callsSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Use this skill when the artifact is a Google Slides deck.
- Very specific: line 59
Do not use this for Docs or Sheets.
- Distinctive: line 110
Keep each slide to a few bullets.
- Very specific: line 114
Treat md2gslides (googleworkspace/md2googleslides) as an optional path only when it is already installed and authorized.
- Very specific: line 123
If md2gslides is absent or unauthenticated, fall back to Path A.
- Distinctive: line 144
Not the primary creation backend.
- Distinctive: line 172
Ask before sharing, deleting, moving, or overwriting an existing presentation.
- Distinctive: line 173
Prefer creating a new deck over overwriting a human-edited one.
- Very specific: line 202
Wrong heading levels: If everything lands on one slide, your Markdown probably lacks # per-slide headings.
- Very specific: line 205
Credential lookup fails (
missing_credentials): If the helper can't find gog's token, pass credentials explicitly: export gog's refresh …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Google Slides
Overview
Use this skill when the artifact is a Google Slides deck. Slides is the weakest
surface for the local gog CLI: gog slides only supports create/info/copy/export, and
the local OAuth token did not even include the Slides scope during testing. So content
authoring goes through a conversion or raw-API path, not gog content commands.
Tested-good default: author Markdown -> pandoc PPTX -> Drive import as native Google Slides. In testing this produced a 6-slide deck with correct titles, bullet lists, and numbered lists, verified by exporting the created deck back to PPTX and reading slide XML.
Prerequisites
gogCLI (steipete/gogcli) installed and authorized: rungog auth loginonce in the operating-system user's real$HOME. The Drive import path only needs Drive auth; it does not require the Slides API scope.python3onPATH(the helper is stdlib-only — nopip installrequired).pandocinstalled for the default Markdown -> PPTX conversion (brew install pandocon macOS).- The bundled
scripts/gworkspace.pyreuses gog's stored OAuth refresh token. If lookup fails with{"error": "missing_credentials"}, see Common Pitfalls for the explicit credential-file escape hatch.
Run helper commands from the skill directory so
scripts/gworkspace.pyresolves relative to$PWD, or useskills/google-slides/scripts/gworkspace.pyfrom the repo root.
$HOME shadowing: some agent runtimes rewrite
$HOMEto a sandbox path where gog's auth doesn't exist. If credential lookup fails in that environment, pointHOMEat the real OS user home before invoking the helper.
When to Use
- User asks for a slide deck, presentation, or pitch.
- User gives an outline or Markdown and wants slides.
- User asks whether to use
gog, raw API, or browser for Slides.
Do not use this for Docs or Sheets; load google-docs or google-sheets.
Path A: Markdown -> pptx -> Google Slides (default)
Author the deck as Markdown where each top-level header starts a slide, then convert and import.
# 1. Author deck.md (see authoring rules below)
# 2. Convert to pptx
pandoc deck.md -o deck.pptx
# 3. Import as native Google Slides
python3 scripts/gworkspace.py upload deck.pptx --as slide --name "Product Launch Deck" --parent FOLDER_IDscripts/gworkspace.py sets source MIME to the pptx type and target MIME
application/vnd.google-apps.presentation, producing a native editable deck.
FOLDER_ID is optional; omit --parent to create in My Drive root. To target a folder,
copy the ID from its Drive URL (.../folders/<FOLDER_ID>), list folders with
gog drive ls --json, or create one with python3 scripts/gworkspace.py mkdir "Decks".
Authoring rules for pandoc slides
pandoc's pptx writer creates a new slide at each level-1 (and level-2) heading. Structure the Markdown accordingly:
% Product Launch Deck % Author Name % June 2026
# Section / Slide Title
Body text for the slide.
# Why Now
- Bullet one
- Bullet two
- Bullet three
# Roadmap
1. Beta in July
2. GA in September
3. Enterprise tier in Q4- The
% title / % author / % dateblock becomes the title slide. - Each
#heading becomes a new slide. - Bulleted and numbered lists render as slide bullets.
- Keep each slide to a few bullets; pandoc does not auto-shrink overflowing text.
Path B: md2googleslides (richer markdown decks)
Treat md2gslides (googleworkspace/md2googleslides) as an optional path only when
it is already installed and authorized. It supports a richer slide-specific Markdown
dialect (speaker notes, columns, image placement, background images), but it maintains
its own OAuth in ~/.md2googleslides and can prompt interactively on first use.
md2gslides deck.md --title "Talk Title"If md2gslides is absent or unauthenticated, fall back to Path A. Do not start an OAuth
flow without the user's involvement.
Path C: raw Slides API (precise layout)
For precise control — specific layouts, text boxes at exact positions, shapes, charts,
themes — use the Slides API presentations.batchUpdate. Mint a token with
python3 scripts/gworkspace.py token and POST to
https://slides.googleapis.com/v1/presentations/PID:batchUpdate.
Note: the Slides API requires the Slides scope. The local gog token did not include it
in testing; you may need a token from a credential set authorized for
https://www.googleapis.com/auth/presentations. Verify scope before relying on this
path.
When to use browser automation
- Visual QA of the rendered deck.
- Applying a theme or template that is awkward via API.
- Final manual polish.
Not the primary creation backend.
Verification
python3 scripts/gworkspace.py meta PRESENTATION_ID # native Slides MIME?
gog slides export --help >/dev/null 2>&1 || { echo "gog slides export unavailable"; exit 1; }
gog slides export PRESENTATION_ID --format pptx --output /tmp/deck-check.pptx --json --no-input
python3 - <<'PY'
import zipfile, re
with zipfile.ZipFile('/tmp/deck-check.pptx') as z:
for n in sorted(z.namelist()):
if n.startswith('ppt/slides/slide') and n.endswith('.xml'):
t = re.findall(r'<a:t>(.*?)</a:t>', z.read(n).decode('utf-8','replace'))
if t: print(n, t)
PYConfirm:
mimeTypeisapplication/vnd.google-apps.presentation.- Slide count matches the number of headings.
- Titles and bullets appear in the exported slide XML.
- For visual fidelity, open the
webViewLinkin the browser.
Safety and Approval
- "Create a deck" is approval to create the new Drive file.
- Ask before sharing, deleting, moving, or overwriting an existing presentation.
- Prefer creating a new deck over overwriting a human-edited one.
Common Pitfalls
- Expecting gog to author slide content. Local
gog slidesonly does create/info/copy/export — no content or layout editing. Authoring goes through conversion or the Slides API. - Slides API not enabled (403
accessNotConfigured).gog slidescommands require the Slides API to be enabled on the OAuth project backing the gog credentials. The error readsGoogle Slides API has not been used in project <project> before or it is disabled, with a console URL to enable it. Fix: whoever owns the OAuth project opens that URL, clicks Enable, and waits a couple of minutes for propagation. This is a one-time setup step per OAuth project. Drive-only commands (gog driveupload/download) keep working without it, which is why the pptx import path is the default. - Missing Slides scope. The local gog OAuth token lacked the Slides scope in
testing. Raw Slides API calls need a token authorized for
https://www.googleapis.com/auth/presentations. Drive import of a pptx does not need the Slides scope, only Drive — another reason the pptx import path is the default. - Uploading pptx without conversion.
gog drive upload deck.pptxkeeps it a PowerPoint file. Use target MIMEapplication/vnd.google-apps.presentationto get native Slides. - Overstuffed slides. pandoc does not auto-fit text. Keep slides short; split dense content across multiple headings.
- Wrong heading levels. If everything lands on one slide, your Markdown probably
lacks
#per-slide headings. Each slide needs its own top-level heading. - Credential lookup fails (
missing_credentials). If the helper can't find gog's token, pass credentials explicitly: export gog's refresh token to a 0600 file withgog auth tokens export <account> --output /tmp/tok.json --force(newer releases also accept--out/--overwrite; checkgog auth tokens export --help). Then run the helper with--refresh-token-file /tmp/tok.json --client-secret-file <gog credentials.json>. The helper refuses explicit credential files that are group/world-readable or not owned by you —chmod 600them. These flags work before or after the subcommand. For a gog named client or a non-default gog home, use--gog-client <name>/--gog-home <dir>(or theGOG_CLIENT/GOG_HOMEenv vars). - Sharing is externally consequential. Permissions can be revoked, but
scripts/gworkspace.py share PRESENTATION_ID --email... --role...grants real Drive access. Confirm recipient and role with the user before using it.
One-Shot Recipe
cat > /tmp/deck.md <<'MD'
% Demo Deck
% Your Name
% Today
# Overview
- Point one
- Point two
# Next Steps
1. Do the thing
2. Ship it
MD
pandoc /tmp/deck.md -o /tmp/deck.pptx
python3 scripts/gworkspace.py upload /tmp/deck.pptx --as slide --name "Demo Deck"Return the resulting webViewLink to the user.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

