google-calendar
Installation
SKILL.md
Google Calendar
Interact with Google Calendar API.
Environment Variables
GOOGLE_ACCESS_TOKEN- OAuth2 access token withcalendarscope
List upcoming events
curl -s -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
"https://www.googleapis.com/calendar/v3/calendars/primary/events?maxResults=10&timeMin=$(date -u +%Y-%m-%dT%H:%M:%SZ)&orderBy=startTime&singleEvents=true" \
| jq '.items[] | {summary, start: .start.dateTime, end: .end.dateTime}'