AgentSkillsCN

Calendar

日历

SKILL.md

SpockAI Calendar Skill

Name: spockai-calendar Version: 0.1.0 Description: Calendar integration for Google and Microsoft calendars

Commands

CommandDescriptionUsage
/calendarList upcoming appointments`/calendar [today
/calendar accountsShow connected calendars/calendar accounts
/calendar addAdd a calendar source/calendar add <provider>
/calendar removeRemove a calendar source/calendar remove <id>
/calendar syncForce sync all calendars/calendar sync

Supported Providers

ProviderAuth MethodFeatures
Google CalendarOAuth2Personal & shared calendars
Microsoft 365OAuth2Personal & shared calendars

Examples

code
# View today's appointments
/calendar today

# View next 7 days
/calendar week

# Check connected calendars
/calendar accounts

# Add Google Calendar
/calendar add google

# Remove a calendar
/calendar remove abc123

# Force sync
/calendar sync

Configuration

json
{
  "spockai": {
    "calendar": {
      "defaultWindow": "today",
      "reminderLeadTime": 15,
      "sources": [
        {
          "name": "Personal",
          "provider": "google",
          "calendarId": "primary",
          "isShared": false,
          "enabled": true
        },
        {
          "name": "Team Calendar",
          "provider": "microsoft",
          "calendarId": "team-calendar-id",
          "isShared": true,
          "enabled": true
        }
      ]
    }
  }
}

Events Emitted

EventPayloadTrigger
calendar:reminderAppointment detailsEvent starting within reminder lead time
calendar:syncSync resultCalendar sync completed

Integration

Calendar reminders are automatically sent to the configured notification channel (Telegram/Teams) when events are approaching.