Google Calendar for Openclaw

A powerful skill for AI agents to interact with Google Calendar accounts, enabling seamless event management and scheduling through a unified CLI.

sheldenshi
v0.1.1
Feb 10, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install google-calendar-master

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 google-calendar-master 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?

The Google Calendar skill provides a robust interface for AI coding agents to interact with the Google Calendar API. It enables the creation, retrieval, updating, and deletion of events across multiple accounts. By leveraging Openclaw Skills, developers can automate appointment scheduling, agenda queries, and availability checks without leaving their terminal or agent environment.

This skill is designed to handle complex scenarios like multi-account management (e.g., separating work and personal schedules) and context-aware event creation. It uses OAuth2 for secure authentication and provides a standardized command set that simplifies interaction with the often complex Google API surface.

Google Calendar Use Cases

  • Automating the creation of recurring team standups or meetings.
  • Querying daily agendas and checking for scheduling conflicts across multiple accounts.
  • Inviting attendees and managing guest lists for calendar events.
  • Quick-adding appointments using natural language descriptions via AI agents.
  • Synchronizing schedules by fetching free/busy status for specific time ranges.

How Google Calendar Works

  1. The AI agent navigates to the skill's scripts directory to execute operations.
  2. Authentication is verified using stored OAuth tokens; if expired, the skill attempts an automatic refresh.
  3. For listing or updating, the skill iterates through all labeled accounts to provide a comprehensive view of the user's availability.
  4. For event creation, the skill references a local config file to select the correct account based on the user's intent or the account's stated purpose.
  5. Commands are executed via Bun, interacting directly with the Google Calendar REST API and returning labeled results to the agent.

Google Calendar Setup

Follow these steps to integrate the Google Calendar skill into your Openclaw Skills environment:

  1. Ensure ~/.config/google-calendar-skill/client.json contains your Google API credentials.
  2. Run the authentication flow:
bun run auth.ts login
  1. Label the account for context (e.g., 'work' or 'personal'):
bun run auth.ts label <chosen-name> [purpose]
  1. Verify your connected calendars:
bun run calendar.ts calendars

Google Calendar Data Schema & Taxonomy

The skill manages its state and metadata through a specific file structure and JSON taxonomy:

Component Description
config.json Stores account labels and their associated purposes (e.g., 'Work meetings').
client.json Located in ~/.config/google-calendar-skill/, stores API secrets.
scripts/ Contains the TypeScript logic for auth and calendar operations.

Example config.json schema:

{
  "accounts": {
    "work": { "purpose": "Work meetings, standups" },
    "personal": { "purpose": "Family events" }
  }
}

Google Calendar Advanced Features

  • Multi-account support with purpose-based routing for intelligent account selection.
  • Automatic token refreshing to ensure uninterrupted agent operations.
  • Granular attendee management including batch addition, removal, and notification suppression.
  • Free/busy status querying to check availability across multiple synchronized schedules.
  • Support for both timed and all-day events with flexible JS-parsable date formats.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*