Agent skill · cursor

google-slides

Build and edit Google Slides through the google-slides MCP tools - slides, grids of cards and columns, text boxes, shapes, images, tables, styling, layout inspection, and per-slide PNG rendering. Use when creating a deck, laying out slide elements, matching a template, or verifying how a slide looks.

What it needs

About 4k tokens when loaded.

What this skill does

Google Slides authoring Coordinates are POINTS from the slide's top-left; a standard slide is 720x405 (readslidelayout reports the real size). Everything is addressed by objectId from readpresentation. Pass requiredRevisionId from the latest read or write so a concurrent edit fails the write instead of corrupting it. Building a new deck: compose, then look Write each slide as a layout, not as coordinates. composeslide takes a tree (stacks, grids, cards, text, images) or an HTML/CSS subset and lays the whole slide out in one call: equal peer sizes, even gutters, vertical centering, and contrast pairs hold by construction, text can fit: "shrink", and the reply carries every element's box plus lints on the plan. Per slide: 1. addslide layout BLANK (or the deck's first slide with clear: true), then composeslide with the SAME theme every time (palette roles background/surface/primary/textSecondary and the font family). Colors in the tree are roles, not hexes, so one theme change restyles a deck. 2. Read the reply's issues. textoverflow means shorten, fit: "shrink", or give the node more size; an overlap means two nodes share a box (usually a row that needs gap). 3. getslidethumbnail (LARGE) once per slide and LOOK at it: crowding, dead corners, a title that reads as body text, an image fighting the palette. Fix by re-composing the slide (delete the old elements first, or compose onto a fresh BLANK slide and deleteobject the old one). Tree recipes (column root; the root box is the slide minus a 48 pt margin): Title slide: stack column justify:center with a display text and an h2 subtitle in textSecondary, both align:center. KPI cards: h1, then a stack row size:150 gap:24 of cards, each with a caption label (textSecondary) over a kpi value. Text + image: stack row gap:32 of a body text (bullets:true, size:{flex:1}) and an image (size:{flex:1}); the image aspect-fits. Agenda: one body text with newline-separated items and bullets:true. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills cursor/google-slides

View the source on GitHub

Browse the @skills marketplace