Google Calendar CLI for Openclaw

A lightweight Python CLI for complete Google Calendar management via the command line.

xwings
v1.0.0
Mar 16, 2026
0
823
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install py-googlecalendar-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install py-googlecalendar-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Calendar CLI?

Google Calendar CLI is a streamlined, single-file Python tool designed for developers and power users who need to interact with their schedule without leaving the terminal. By leveraging the Google Calendar API, this Openclaw Skills integration allows for robust CRUD operations on calendar events, making it ideal for automation scripts and AI agents. It relies strictly on the Python 3 standard library, ensuring a minimal footprint and high compatibility across various development environments.

Google Calendar CLI Use Cases

  • Automating meeting creation directly from shell scripts or terminal workflows.
  • Quickly checking daily agendas during intensive development sessions.
  • Integrating calendar management into AI-driven automation workflows.
  • Performing bulk updates or deletions of events via command-line loops.
  • Syncing external task lists or CI/CD schedules with Google Calendar.

How Google Calendar CLI Works

  1. The user authenticates using OAuth 2.0 credentials (Client ID and Secret) and a refresh token.
  2. The Openclaw Skills integration initializes a connection to the Google Calendar API.
  3. Users issue specific commands such as list, add, update, or delete along with parameters like time ranges or event IDs.
  4. The tool processes the request, communicating with the primary or a specified calendar ID.
  5. The API response is returned in either a human-readable format or as raw JSON for programmatic use.

Google Calendar CLI Setup

To get started, enable the Google Calendar API in your Google Cloud project and create OAuth 2.0 Desktop credentials. Once you have your tokens, export them as environment variables:

export GOOGLE_CLIENT_ID='your_id'
export GOOGLE_CLIENT_SECRET='your_secret'
export GOOGLE_REFRESH_TOKEN='your_token'
export GOOGLE_CALENDAR_ID='primary'

You can then run the script using python3.

Google Calendar CLI Data Schema & Taxonomy

The skill interacts with the Google Calendar API using the following parameters and data structure:

Parameter Type Description
event-id String The unique identifier for a specific calendar event
title String The summary or subject of the event
start ISO8601 Start time including timezone (e.g., 2025-06-01T09:00:00-07:00)
end ISO8601 End time including timezone
json Flag Returns the raw API response for data processing

Google Calendar CLI Advanced Features

  • Raw JSON Output: Use the --json flag to pipe event data into tools like jq for complex Openclaw Skills automation.
  • Precise Time Filtering: Utilize the --from and --to parameters to query events within specific micro-windows.
  • Multi-Calendar Support: Target specific shared or organizational calendars by modifying the GOOGLE_CALENDAR_ID variable.
  • Dependency-Free Execution: Built on the Python standard library, making it an ideal candidate for restricted or containerized environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*