[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MQ579VSKJ7SP7M8NP1HMA3":3,"skill-same:01M6MQ579VSKJ7SP7M8NP1HMA3":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6MQ579VSKJ7SP7M8NP1HMA3","google-calendar",null,"Google Calendar API integration with managed OAuth. Create events, list calendars, check availability, and manage schedules. Use this skill when users want to interact with Google Calendar. For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgoogle-calendar-api\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"google","google calendar","calendar","managed","for","availability","events","apps","maton","api integration","manage","list","access","api","api-gateway","network","gateway","create","valid","clawhub","2026-11-10 10:12:30",false,"---\nname: google-calendar\ndescription: |\n  Google Calendar API integration with managed OAuth. Create events, list calendars, check availability, and manage schedules. Use this skill when users want to interact with Google Calendar. For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\ncompatibility: Requires network access and valid Maton API key\nmetadata:\n  author: maton\n  version: \"1.0\"\n---\n\n# Google Calendar\n\nAccess the Google Calendar API with managed OAuth authentication. Create and manage events, list calendars, and check availability.\n\n## Quick Start\n\n```bash\n# List upcoming events\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?maxResults=10&orderBy=startTime&singleEvents=true')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002F{native-api-path}\n```\n\nReplace `{native-api-path}` with the actual Google Calendar API endpoint path. The gateway proxies requests to `www.googleapis.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Google OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=google-calendar&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'google-calendar'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"google-calendar\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Google Calendar connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### List Calendars\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fusers\u002Fme\u002FcalendarList\n```\n\n### Get Calendar\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002F{calendarId}\n```\n\nUse `primary` for the user's primary calendar.\n\n### List Events\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?maxResults=10&orderBy=startTime&singleEvents=true\n```\n\nWith time bounds:\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?timeMin=2024-01-01T00:00:00Z&timeMax=2024-12-31T23:59:59Z&singleEvents=true&orderBy=startTime\n```\n\n### Get Event\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\n```\n\n### Create Event\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"Team Meeting\",\n  \"description\": \"Weekly sync\",\n  \"start\": {\n    \"dateTime\": \"2024-01-15T10:00:00\",\n    \"timeZone\": \"America\u002FLos_Angeles\"\n  },\n  \"end\": {\n    \"dateTime\": \"2024-01-15T11:00:00\",\n    \"timeZone\": \"America\u002FLos_Angeles\"\n  },\n  \"attendees\": [\n    {\"email\": \"attendee@example.com\"}\n  ]\n}\n```\n\n### Create All-Day Event\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"All Day Event\",\n  \"start\": {\"date\": \"2024-01-15\"},\n  \"end\": {\"date\": \"2024-01-16\"}\n}\n```\n\n### Update Event\n\n```bash\nPUT \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"Updated Meeting Title\",\n  \"start\": {\"dateTime\": \"2024-01-15T10:00:00Z\"},\n  \"end\": {\"dateTime\": \"2024-01-15T11:00:00Z\"}\n}\n```\n\n### Patch Event (partial update)\n\n```bash\nPATCH \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"New Title Only\"\n}\n```\n\n### Delete Event\n\n```bash\nDELETE \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\n```\n\n### Quick Add Event (natural language)\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002FquickAdd?text=Meeting+with+John+tomorrow+at+3pm\n```\n\n### Free\u002FBusy Query\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002FfreeBusy\nContent-Type: application\u002Fjson\n\n{\n  \"timeMin\": \"2024-01-15T00:00:00Z\",\n  \"timeMax\": \"2024-01-16T00:00:00Z\",\n  \"items\": [{\"id\": \"primary\"}]\n}\n```\n\n## Code Examples\n\n### JavaScript\n\n```javascript\n\u002F\u002F List events\nconst response = await fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?maxResults=10&singleEvents=true',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\n\n\u002F\u002F Create event\nawait fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents',\n  {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    },\n    body: JSON.stringify({\n      summary: 'Meeting',\n      start: { dateTime: '2024-01-15T10:00:00Z' },\n      end: { dateTime: '2024-01-15T11:00:00Z' }\n    })\n  }\n);\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n\n# List events\nevents = requests.get(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents',\n    headers=headers,\n    params={'maxResults': 10, 'singleEvents': 'true'}\n).json()\n\n# Create event\nresponse = requests.post(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents',\n    headers=headers,\n    json={\n        'summary': 'Meeting',\n        'start': {'dateTime': '2024-01-15T10:00:00Z'},\n        'end': {'dateTime': '2024-01-15T11:00:00Z'}\n    }\n)\n```\n\n## Notes\n\n- Use `primary` as calendarId for the user's main calendar\n- Times must be in RFC3339 format (e.g., `2024-01-15T10:00:00Z`)\n- For recurring events, use `singleEvents=true` to expand instances\n- `orderBy=startTime` requires `singleEvents=true`\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets (`fields[]`, `sort[]`, `records[]`) to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping.\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Google Calendar connection |\n| 401 | Invalid or missing Maton API key |\n| 429 | Rate limited (10 req\u002Fsec per account) |\n| 4xx\u002F5xx | Passthrough error from Google Calendar API |\n\n### Troubleshooting: Invalid API Key\n\n**When you receive a \"Invalid API key\" error, ALWAYS follow these steps before concluding there is an issue:**\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Resources\n\n- [Calendar API Overview](https:\u002F\u002Fdevelopers.google.com\u002Fcalendar\u002Fapi\u002Fv3\u002Freference)\n- [List Calendars](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002FcalendarList\u002Flist)\n- [List Events](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Flist)\n- [Get Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Fget)\n- [Insert Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Finsert)\n- [Update Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Fupdate)\n- [Delete Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Fdelete)\n- [Quick Add Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002FquickAdd)\n- [Free\u002FBusy Query](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Ffreebusy\u002Fquery)\n","# Google Calendar\n\nAccess the Google Calendar API with managed OAuth authentication. Create and manage events, list calendars, and check availability.\n\n## Quick Start\n\n```bash\n# List upcoming events\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?maxResults=10&orderBy=startTime&singleEvents=true')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002F{native-api-path}\n```\n\nReplace `{native-api-path}` with the actual Google Calendar API endpoint path. The gateway proxies requests to `www.googleapis.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Google OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=google-calendar&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'google-calendar'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"google-calendar\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Google Calendar connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### List Calendars\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fusers\u002Fme\u002FcalendarList\n```\n\n### Get Calendar\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002F{calendarId}\n```\n\nUse `primary` for the user's primary calendar.\n\n### List Events\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?maxResults=10&orderBy=startTime&singleEvents=true\n```\n\nWith time bounds:\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?timeMin=2024-01-01T00:00:00Z&timeMax=2024-12-31T23:59:59Z&singleEvents=true&orderBy=startTime\n```\n\n### Get Event\n\n```bash\nGET \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\n```\n\n### Create Event\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"Team Meeting\",\n  \"description\": \"Weekly sync\",\n  \"start\": {\n    \"dateTime\": \"2024-01-15T10:00:00\",\n    \"timeZone\": \"America\u002FLos_Angeles\"\n  },\n  \"end\": {\n    \"dateTime\": \"2024-01-15T11:00:00\",\n    \"timeZone\": \"America\u002FLos_Angeles\"\n  },\n  \"attendees\": [\n    {\"email\": \"attendee@example.com\"}\n  ]\n}\n```\n\n### Create All-Day Event\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"All Day Event\",\n  \"start\": {\"date\": \"2024-01-15\"},\n  \"end\": {\"date\": \"2024-01-16\"}\n}\n```\n\n### Update Event\n\n```bash\nPUT \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"Updated Meeting Title\",\n  \"start\": {\"dateTime\": \"2024-01-15T10:00:00Z\"},\n  \"end\": {\"dateTime\": \"2024-01-15T11:00:00Z\"}\n}\n```\n\n### Patch Event (partial update)\n\n```bash\nPATCH \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\nContent-Type: application\u002Fjson\n\n{\n  \"summary\": \"New Title Only\"\n}\n```\n\n### Delete Event\n\n```bash\nDELETE \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002F{eventId}\n```\n\n### Quick Add Event (natural language)\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents\u002FquickAdd?text=Meeting+with+John+tomorrow+at+3pm\n```\n\n### Free\u002FBusy Query\n\n```bash\nPOST \u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002FfreeBusy\nContent-Type: application\u002Fjson\n\n{\n  \"timeMin\": \"2024-01-15T00:00:00Z\",\n  \"timeMax\": \"2024-01-16T00:00:00Z\",\n  \"items\": [{\"id\": \"primary\"}]\n}\n```\n\n## Code Examples\n\n### JavaScript\n\n```javascript\n\u002F\u002F List events\nconst response = await fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents?maxResults=10&singleEvents=true',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\n\n\u002F\u002F Create event\nawait fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents',\n  {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    },\n    body: JSON.stringify({\n      summary: 'Meeting',\n      start: { dateTime: '2024-01-15T10:00:00Z' },\n      end: { dateTime: '2024-01-15T11:00:00Z' }\n    })\n  }\n);\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n\n# List events\nevents = requests.get(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents',\n    headers=headers,\n    params={'maxResults': 10, 'singleEvents': 'true'}\n).json()\n\n# Create event\nresponse = requests.post(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fgoogle-calendar\u002Fcalendar\u002Fv3\u002Fcalendars\u002Fprimary\u002Fevents',\n    headers=headers,\n    json={\n        'summary': 'Meeting',\n        'start': {'dateTime': '2024-01-15T10:00:00Z'},\n        'end': {'dateTime': '2024-01-15T11:00:00Z'}\n    }\n)\n```\n\n## Notes\n\n- Use `primary` as calendarId for the user's main calendar\n- Times must be in RFC3339 format (e.g., `2024-01-15T10:00:00Z`)\n- For recurring events, use `singleEvents=true` to expand instances\n- `orderBy=startTime` requires `singleEvents=true`\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets (`fields[]`, `sort[]`, `records[]`) to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping.\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Google Calendar connection |\n| 401 | Invalid or missing Maton API key |\n| 429 | Rate limited (10 req\u002Fsec per account) |\n| 4xx\u002F5xx | Passthrough error from Google Calendar API |\n\n### Troubleshooting: Invalid API Key\n\n**When you receive a \"Invalid API key\" error, ALWAYS follow these steps before concluding there is an issue:**\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Resources\n\n- [Calendar API Overview](https:\u002F\u002Fdevelopers.google.com\u002Fcalendar\u002Fapi\u002Fv3\u002Freference)\n- [List Calendars](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002FcalendarList\u002Flist)\n- [List Events](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Flist)\n- [Get Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Fget)\n- [Insert Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Finsert)\n- [Update Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Fupdate)\n- [Delete Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002Fdelete)\n- [Quick Add Event](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Fevents\u002FquickAdd)\n- [Free\u002FBusy Query](https:\u002F\u002Fdevelopers.google.com\u002Fworkspace\u002Fcalendar\u002Fapi\u002Fv3\u002Freference\u002Ffreebusy\u002Fquery)\n",{"name":5,"metadata":53,"description":55,"compatibility":56},{"author":36,"version":54},"1.0","Google Calendar API integration with managed OAuth. Create events, list calendars, check availability, and manage schedules. Use this skill when users want to interact with Google Calendar. For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\n","Requires network access and valid Maton API key","main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","APIs与集成\u002Fgoogle-calendar-api",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill google-calendar",{"tool":71,"command":72},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill google-calendar",{"tool":74,"command":75},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill google-calendar","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgoogle-calendar-api\u002FSKILL.md",true,[79,85],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"_meta.json","REFERENCE","参考文档",818,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgoogle-calendar-api\u002F_meta.json",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"LICENSE.txt","LICENSE","许可证",1072,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgoogle-calendar-api\u002FLICENSE.txt",[92,116,143,154,164,193],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":48},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[94,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":117,"name":118,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":126,"publishedAt":48},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[121,122,125],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":123,"categoryName":124,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},[41,127,128,129,130,131,132,101,133,105,134,135,136,137,138,139,140,141,142],"zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":144,"name":145,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":151,"publishedAt":48},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[148,149,150],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":123,"categoryName":124,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},[41,152,153,127,128,129,130,131,132,101,133,105,135,136,137,138,139,140,141,142],"api skill","zerion api skill",{"skillNo":155,"name":156,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":162,"publishedAt":48},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[159,160,161],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":123,"categoryName":124,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},[129,41,163,127,128,130,131,101,133,105,134,135,136,137,138,139,140,141,142],"zerion api mcp",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":173,"publishedAt":48},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[170],{"categoryNo":171,"categoryName":172,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000040","财务",[174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,32],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":200,"publishedAt":48},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[199],{"categoryNo":171,"categoryName":172,"taxonomyType":25,"taxonomyTypeDesc":26},[174,175,177,201,202,203,204,205,206,185,207,208,209,210,211,212,213,214,142,192],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]