运行时依赖
安装命令
点击复制技能文档
Claw Calendar Overview
This 技能 enables AI 助手s to interact with Claw Calendar, a calendar management API. It provides the ability to 创建, view, 更新, and 删除 calendar 事件 through natural language commands.
How to Use
When user wants to 创建/manage calendar 事件:
检查 if user has 配置d:
CALENDAR_API_BASE_URL (e.g., https://claw-calendar.com) CALENDAR_API_KEY (API Key from Claw Calendar 设置tings)
If not 配置d, tell user to 配置 these 环境 variables in WorkBuddy 设置tings.
If 配置d, use the API 端点s below.
API Authentication
导入ANT: Use X-API-Key header, NOT Authorization: Bearer
Headers: X-API-Key: ${CALENDAR_API_KEY}
API 端点s
Base URL: ${CALENDAR_API_BASE_URL}
列出 Calendars 获取 /API/calendars Headers: X-API-Key: ${CALENDAR_API_KEY}
创建 Event POST /API/calendars/{calendarId}/事件 Headers: X-API-Key: ${CALENDAR_API_KEY} Content-Type: 应用/json Body: { "title": "Event Title", "启动Date": "YYYY-MM-DD", "endDate": "YYYY-MM-DD", "启动Time": "HH:mm (optional)", "endTime": "HH:mm (optional)", "isAllDay": true, "description": "optional", "location": "optional", "alarmEnabled": true, "alarmMinutes": 15 }
列出 事件 获取 /API/事件 Headers: X-API-Key: ${CALENDAR_API_KEY}
更新 Event PUT /API/calendars/{calendarId}/事件/{eventId} Headers: X-API-Key: ${CALENDAR_API_KEY}
删除 Event 删除 /API/calendars/{calendarId}/事件/{eventId} Headers: X-API-Key: ${CALENDAR_API_KEY}
响应 格式化
成功: { "成功": true, event/calendars/事件: {...} } Error: { "成功": false, error: { code, message } }
Parsing Examples "明天上午10点会议" → tomorrow, 10:00 "下周三生日派对" → next Wednesday "今天下午3-4点面试" → today, 15:00-16:00
Defaults: isAllDay=true if no time, alarmMinutes=15, endDate=same as 启动Date