claude-configs/skills/gws/examples-calendar.md
Cal Corum 4b832ffed5 Add gws skill; update blocklist and known_marketplaces plugins
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 02:00:53 -05:00

914 B

GWS Calendar Examples & Reference

Load when working with Google Calendar.

List Upcoming Events

gws calendar events list --params '{"calendarId": "primary", "maxResults": 5}'

List Events in a Date Range

gws calendar events list --params '{
  "calendarId": "primary",
  "timeMin": "2026-03-15T00:00:00Z",
  "timeMax": "2026-03-22T00:00:00Z",
  "singleEvents": true,
  "orderBy": "startTime"
}'

Create an Event

gws calendar events insert \
  --params '{"calendarId": "primary"}' \
  --json '{
    "summary": "Team Meeting",
    "start": {"dateTime": "2026-03-20T14:00:00-05:00"},
    "end": {"dateTime": "2026-03-20T15:00:00-05:00"}
  }'

Create an All-Day Event

gws calendar events insert \
  --params '{"calendarId": "primary"}' \
  --json '{
    "summary": "Day Off",
    "start": {"date": "2026-03-20"},
    "end": {"date": "2026-03-21"}
  }'