Feishu calendar

From cklxx/elephant.ai · View interactive version

Feishu calendar is an AI agent skill from the GitHub repository cklxx/elephant.ai. When 飞书日历 events or meetings need managing → CRUD calendar events, manage attendees, query free/busy status.

How to use this skill

Skill file

Feishu Calendar Skill

快速索引

| 用户意图 | module | tool_action | 必填参数 |

|---------|--------|-------------|---------|

| 创建日程 | calendar | create | title, start, duration |

| 查询日程 | calendar | query | start, end |

| 更新日程 | calendar | update | event_id + 要更新的字段 |

| 删除日程 | calendar | delete | event_id |

| 列出日历 | calendar | list_calendars | - |

| 查忙闲 | calendar | freebusy | user_ids, start, end |

调用示例

创建日程

python3 skills/feishu-cli/run.py '{
  "action": "tool",
  "module": "calendar",
  "tool_action": "create",
  "title": "周会",
  "start": "2026-03-10 10:00",
  "duration": "60m",
  "attendees": ["ou_xxx", "ou_yyy"],
  "description": "每周同步进度"
}'

查询日程

python3 skills/feishu-cli/run.py '{
  "action": "tool",
  "module": "calendar",
  "tool_action": "query",
  "start": "2026-03-10",
  "end": "2026-03-14"
}'

查忙闲

python3 skills/feishu-cli/run.py '{
  "action": "tool",
  "module": "calendar",
  "tool_action": "freebusy",
  "user_ids": ["ou_xxx", "ou_yyy"],
  "start": "2026-03-10 09:00",
  "end": "2026-03-10 18:00"
}'

核心约束

常见错误

| 错误 | 原因 | 解决 |

|------|------|------|

| 无权限访问日历 | 未授权 calendar 相关 scope | 执行 OAuth 授权 |

| 参会人无法添加 | user_id 格式错误 | 确认使用 open_id(ou_开头) |

| 时间冲突 | 目标时间段已有日程 | 先查询忙闲确认空闲 |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.