From google-workspace-cli
Use this skill when the user asks about creating, reading, or editing Google Slides presentations via the Google Workspace CLI. Trigger on tasks involving slides, presentations, or speaker notes.
npx claudepluginhub nsheaps/ai-mktpl --plugin google-workspace-cliThis skill uses the workspace's default tool permissions.
Use `gws slides` to manage Google Slides presentations from the command line.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
Use gws slides to manage Google Slides presentations from the command line.
# Create a new presentation
gws slides create --title "Q1 Review"
# Get presentation metadata and structure
gws slides get <presentation-id>
# Get as JSON to inspect slide structure
gws slides get <presentation-id> --format json
# Get a specific page/slide
gws slides pages get <presentation-id> --page-id <page-id>
# Add a new blank slide
gws slides batchUpdate <presentation-id> --requests '[
{"createSlide": {"slideLayoutReference": {"predefinedLayout": "BLANK"}}}
]'
# Insert text into a text box
gws slides batchUpdate <presentation-id> --requests '[
{"insertText": {
"objectId": "<text-box-id>",
"text": "Hello World",
"insertionIndex": 0
}}
]'
# Delete a slide
gws slides batchUpdate <presentation-id> --requests '[
{"deleteObject": {"objectId": "<slide-id>"}}
]'
# Export as PDF via Drive API
gws drive files export <presentation-id> \
--mime-type "application/pdf" --output ./presentation.pdf
# Export as PPTX
gws drive files export <presentation-id> \
--mime-type "application/vnd.openxmlformats-officedocument.presentationml.presentation" \
--output ./presentation.pptx
Common predefined layouts for createSlide:
| Layout | Description |
|---|---|
BLANK | Empty slide |
TITLE | Title slide |
TITLE_AND_BODY | Title with body text |
TITLE_AND_TWO_COLUMNS | Title with two columns |
TITLE_ONLY | Title bar only |
SECTION_HEADER | Section divider |
docs.google.com/presentation/d/<PRESENTATION_ID>/edit--format json to discover object IDs for text boxes and shapesbatchUpdate with request arraysgws drive files list to find presentations by name