Back to browse
google-slides
officialplatinum (7/8)Clean scan
Google Slides — create, read, modify presentations via Slides API v1
Install
mayros skill install google-slides
mayros skill install [email protected]
README
@apilium/google-slides
Google Slides integration skill for Mayros -- create, read, modify presentations via Slides API v1.
Installation
Copy this skill directory into your Mayros skills folder:
cp -r skills/google-slides ~/.mayros/skills/google-slides
Or install via the Mayros CLI:
mayros skill install @apilium/google-slides
Configuration
This skill requires a GOOGLE_ACCESS_TOKEN environment variable with the https://www.googleapis.com/auth/presentations scope.
Obtain a Token
Option 1 -- gcloud CLI:
export GOOGLE_ACCESS_TOKEN=$(gcloud auth print-access-token --scopes=https://www.googleapis.com/auth/presentations)
Option 2 -- OAuth2 flow: Create credentials in the Google Cloud Console and complete the OAuth2 authorization code flow.
Usage
Once configured, the agent can:
- Read presentations: Get presentation structure, slides, and content
- Create presentations: Create new presentations with a title
- Add slides: Insert new slides with predefined layouts
- Insert text: Add text content to slide elements
- Replace text: Globally replace placeholder text across all slides
- Delete slides: Remove slides from presentations
Example Prompts
"Create a new presentation called Q1 Results"
"Add a title slide with the heading 'Project Update'"
"How many slides are in presentation XYZ?"
"Replace all instances of {{company}} with Acme Corp"
"Delete the last slide from the deck"
Predefined Slide Layouts
| Layout | Description |
|---|---|
BLANK | Empty slide |
TITLE | Title slide with subtitle |
TITLE_AND_BODY | Title with body text area |
TITLE_AND_TWO_COLUMNS | Title with two body columns |
TITLE_ONLY | Title bar only |
SECTION_HEADER | Section divider |
ONE_COLUMN_TEXT | Single column text |
MAIN_POINT | Highlighted main point |
BIG_NUMBER | Large number display |
CAPTION_ONLY | Caption text only |
Semantic Predicates
| Predicate | Scope | Description |
|---|---|---|
slides:presentation_created | agent | Presentations created by the agent |
slides:slide_added | agent | Slides added to presentations |
slides:context | agent | Presentation activity summary for context enrichment |
Presentation Annotations
The skill automatically annotates query results with:
- slideCount -- Number of slides in the presentation
- hasImages -- Whether the presentation contains image elements
- hasText -- Whether the presentation contains text or shape elements
License
MIT
Versions
Comments
Sign in to leave a comment.
Loading comments...