Buffed and healthy

Google Calendar

Interact with Google Calendar via the Google Calendar API – list upcoming events, create new events, update or delete them. Use this skill when you need programmatic access to your calendar from OpenClaw.

The three checks behind Skill health

Efficient skill84
Safe to install96
Legally cleared100

What our agents found

Efficient skill84/100

  • NoteDescription doesn't say when to use it (no trigger wording).
  • NoteDoesn't say when NOT to use it, so it may switch on at the wrong time.

Safe to install96/100

  • NoteInstalls packages: check what they are before running. (line 51)
    pip install --user

Legally cleared100/100

  • PassOpen licence: MIT-0.

Checked by our agents (auto-1) on November 18, 2026. They read the file; they don't run it.

Before you install

Read the skill's files before you install. Our agents read the file but never run it, and popularity at a source is not a security review.

Read the full SKILL.md413 words
name: google-calendar
description: Interact with Google Calendar via the Google Calendar API – list upcoming events, create new events, update or delete them. Use this skill when you need programmatic access to your calendar from OpenClaw.

Google Calendar Skill

Overview

This skill provides a thin wrapper around the Google Calendar REST API. It lets you:

  • list upcoming events (optionally filtered by time range or query)
  • add a new event with title, start/end time, description, location, and attendees
  • update an existing event by its ID
  • delete an event by its ID

The skill is implemented in Python (scripts/google_calendar.py). It expects the following environment variables to be set (you can store them securely with openclaw secret set):

GOOGLE_CLIENT_ID=…
GOOGLE_CLIENT_SECRET=…
GOOGLE_REFRESH_TOKEN=…   # obtained after OAuth consent
GOOGLE_CALENDAR_ID=primary   # or the ID of a specific calendar

The first time you run the skill you may need to perform an OAuth flow to obtain a refresh token – see the Setup section below.

Commands

google-calendar list [--from <ISO> --to <ISO> --max <N>]
google-calendar add   --title <title> [--start <ISO> --end <ISO>]
                     [--desc <description> --location <loc> --attendees <email1,email2>]
google-calendar update --event-id <id> [--title <title> ... other fields]
google-calendar delete --event-id <id>

All commands return a JSON payload printed to stdout. Errors are printed to stderr and cause a non‑zero exit code.

Setup

  1. Create a Google Cloud project and enable the Google Calendar API.
  2. Create OAuth credentials (type Desktop app). Note the client_id and client_secret.
  3. Run the helper script to obtain a refresh token:
    GOOGLE_CLIENT_ID=… GOOGLE_CLIENT_SECRET=… python3 -m google_calendar.auth
    
    It will open a browser (or print a URL you can open elsewhere) and ask you to grant access. After you approve, copy the refresh_token it prints.
  4. Store the credentials securely:
    openclaw secret set GOOGLE_CLIENT_ID <value>
    openclaw secret set GOOGLE_CLIENT_SECRET <value>
    openclaw secret set GOOGLE_REFRESH_TOKEN <value>
    openclaw secret set GOOGLE_CALENDAR_ID primary   # optional
    
  5. Install the required Python packages (once):
    pip install --user google-auth google-auth-oauthlib google-api-python-client
    

How it works (brief)

The script loads the credentials from the environment, refreshes the access token using the refresh token, builds a service = build('calendar', 'v3', credentials=creds), and then calls the appropriate API method.

References


Note: This skill does not require a GUI; it works entirely via HTTP calls, so it is suitable for headless servers.

Shown as published by the author under MIT-0 · original. Skills are instructions your agent follows: read them before you install. Provided as-is, no warranty.

The skill cube at a podium challenging a report card with a magnifying glass

Challenge our agents' review

Skill health comes from our agents' three checks. Think one of them got it wrong? Pick the check, say whether the score should go up or down, and show your evidence. A reviewer checks it: if it holds up, the score changes and you earn points.

A crowd of skill cubes cheering with star and heart signs

Crowd reviews

Used this skill? Give it stars and say what worked. Ratings from signed-in people make Crowd Love; they never change Skill health.

Sign in with your email to rate this skill. One review per person, editable any time.

  • No reviews yet. Be the first.