All skills
sanjay3290 avatar

/google-slides

@eab1642

Read and write Google Slides presentations - get text, find presentations, create presentations, add slides, replace text, and manage slide content. Use when user asks to: read a presentation, create slides, find slides, add a slide, replace text in a presentation, or manage presentation content. Lightweight integration with standalone OAuth authentication supporting full read/write access.

Use this Skill: https://skilld.dev/gh/sanjay3290/ai-skills/google-slides

This session only. Nothing lands on disk.

README.md

≈719 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Google Slides Skill

An AI agent skill for reading Google Slides presentations - get text content, find presentations, and retrieve metadata. Works with Claude Code, Gemini CLI, Cursor, OpenAI Codex, Goose, and other AI clients supporting the Agent Skills Standard.

Features

  • Extract Text - Get all text content from presentations
  • Search - Find presentations by name
  • Metadata - View slide count, dimensions, and properties

Read-only access. Lightweight alternative to the full Google Workspace MCP server.

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

Quick Start

1. Install dependencies

pip install keyring

2. Authenticate

python scripts/auth.py login

This opens a browser for Google OAuth. Tokens are stored securely in your system keyring.

3. Test connection

python scripts/auth.py status

Usage Examples

# 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, etc.)
python scripts/slides.py get-metadata "1abc123xyz789"

Command Reference

Command Description Arguments
get-text <id> Extract all text presentation ID or URL
find <query> Search presentations search query, --limit
get-metadata <id> Get presentation info presentation ID

Output Formats

get-text

Returns extracted text from all slides:

  • Presentation title
  • Text from shapes/text boxes
  • Table data with cell contents

find

{
  "presentations": [
    {"id": "1abc...", "name": "Q4 Report", "modifiedTime": "2024-01-15T..."}
  ]
}

get-metadata

{
  "presentationId": "1abc...",
  "title": "My Presentation",
  "slideCount": 15,
  "pageSize": {"width": {...}, "height": {...}}
}

Presentation ID Format

You can use either:

  • Direct ID: 1abc123xyz789
  • Full URL: https://docs.google.com/presentation/d/1abc123xyz789/edit

The scripts automatically extract the ID from URLs.

Token Management

Tokens stored securely using the system keyring:

  • macOS: Keychain
  • Windows: Windows Credential Locker
  • Linux: Secret Service API (GNOME Keyring, KDE Wallet)

Service name: google-slides-skill-oauth

Troubleshooting

"Failed to get access token"

Run python scripts/auth.py login to authenticate.

"Presentation not found"

Check the presentation ID and your access permissions.

License

Apache 2.0

Source: SKILL.md on GitHub

3 warnings16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides integration with Google Slides for reading and modifying presentations. It handles authentication via a secure OAuth flow, storing tokens in the system keyring and refreshing them through an associated service backend. The skill is susceptible to indirect prompt injection because it retrieves and processes untrusted text content from presentations without specific sanitization or boundary markers.

  • Socket16d

    2 alerts: gptAnomaly

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer7mo

    6/6 files flagged

Signed by skilld at eab1642. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 7 months ago
metadata
{
  "author": "sanjay3290",
  "version": "1.0"
}

README badge

README badge for sanjay3290/ai-skills/google-slides