Rechercher

PythonReactSEOPDF
GitHub Skill

calendar-api

Fetch Google Calendar events. Use when checking schedule, finding meetings, or verifying calendar entries. Invoked by morning-metrics, win-the-day, and other scheduling skills.

Eddale☆ 0 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Calendar API

What This Does

Fetches events from Google Calendar (all visible calendars including shared ones). Returns structured JSON for other skills to consume.

Instructions

Available Commands

Run the script with one of these flags:

Flag Usage Description
--today --today Today's events with location
--upcoming --upcoming 7 Next N days (default 7)
--search --search "Gagan" Find events matching term
--range --range 2026-01-15 2026-01-20 Events in date range
How to Invoke
python3 /Users/eddale/Documents/GitHub/powerhouse-lab/skills/calendar-api/scripts/fetch_calendar.py [flags]
Parsing the Output

The script returns JSON. Key fields:

{
  "calendars": ["Ed Dale - Personal", "Edward Dale"],
  "events": [
    {
      "time": "2026-01-13T09:00:00+10:00",
      "summary": "David Smith and Ed Dale",
      "calendar": "Edward Dale",
      "location": "https://zoom.us/...",
      "attendees": ["david@example.com"],
      "description": "Weekly sync"
    }
  ],
  "count": 5,
  "status": "ok"
}
Common Queries

Check if a meeting exists:

python3 .../fetch_calendar.py --search "Gagan"

If count is 0, the meeting isn't on the calendar.

What's on today:

python3 .../fetch_calendar.py --today

Next week's schedule:

python3 .../fetch_calendar.py --upcoming 7

Examples

User: "Is the Gagan meeting on my calendar?"

Response flow:

  1. Run --search "Gagan"
  2. Check if count > 0
  3. If found: "Yes, [event summary] on [date/time]"
  4. If not found: "No meeting with 'Gagan' found in the next 7 days"

User: "What meetings do I have today?"

Response flow:

  1. Run --today
  2. List events chronologically with times and locations

Guidelines

  • Read-only: This skill fetches data, it does not create or modify events
  • Searches full event (title, attendees, description, location)
  • Returns events from ALL visible calendars (personal + shared)
  • Times are in local timezone (AEDT)

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!