google-workspace

Access Google Workspace APIs (Calendar, Drive) via service account with domain-wide delegation. Use when checking calendar events, shared drive files, or customer documents.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "google-workspace" with this command: npx skills add stitchi-co/skills/stitchi-co-skills-google-workspace

Google Workspace

Access Google Workspace APIs via service account with domain-wide delegation.

Prerequisites

  • Python 3.8+
  • google-auth and google-api-python-client packages
  • A Google Cloud service account with domain-wide delegation
  • Service account JSON key file
pip install google-auth google-api-python-client

Environment Variables

VariableRequiredDescription
GOOGLE_SERVICE_ACCOUNT_FILEYesPath to service account JSON key file
GOOGLE_WORKSPACE_USERYesEmail to impersonate (e.g., user@domain.com)

Usage

python scripts/gw.py cal-today                     # Today's events
python scripts/gw.py cal-today --brief              # Today's events (no attendees)
python scripts/gw.py cal-upcoming --days 3          # Next 3 days
python scripts/gw.py drive-shared-list              # List shared drives
python scripts/gw.py drive-shared-recent --limit 10 # Recent files in shared drives

Available Commands

Calendar

  • cal-today [--brief] — Today's calendar events. --brief hides attendees.
  • cal-upcoming [--days N] — Events in the next N days (default: 3).

Drive (Shared Drives)

  • drive-shared-list — List all shared drives visible to the service account.
  • drive-shared-recent [--limit N] — Recently modified files across shared drives.
  • drive-customer --name "Name" — Search for a customer folder in shared drives and list contents.

Scopes

The script requests only readonly scopes:

  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.googleapis.com/auth/drive.readonly

Setup Guide

  1. Create a service account in Google Cloud Console
  2. Enable domain-wide delegation
  3. Grant scopes in Google Workspace Admin → Security → API Controls → Domain-wide Delegation
  4. Download the JSON key file
  5. Set environment variables and run

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

google-workspace

No summary provided by upstream source.

Repository SourceNeeds Review
General

pipedrive

No summary provided by upstream source.

Repository SourceNeeds Review
General

notion

No summary provided by upstream source.

Repository SourceNeeds Review
General

asana

No summary provided by upstream source.

Repository SourceNeeds Review