搜索

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 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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)

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

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