跳到正文
cccskills
免费在 GitHub 公开

feishu-calendar

Manage Feishu calendar events by creating or changing meetings, inviting participants, and checking team availability. You can also search events, respond to invitations, and check whether a meeting room reservation has been accepted.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

飞书日历与日程管理工具集。包含日历管理、日程管理、参会人管理、忙闲查询。

查看安装方法

适用场景

  • Create a project review meeting and invite participants
  • Check next week's schedule
  • Check team members' availability
  • Change a meeting time
  • Check a meeting room reservation status

包含的文件(1)

  • SKILL.md8.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

飞书日历管理 (feishu-calendar)

🚨 执行前必读

  • ✅ 时区固定:Asia/Shanghai(UTC+8)
  • ✅ 时间格式:ISO 8601 / RFC 3339(带时区),例如 2026-02-25T14:00:00+08:00
  • ✅ create 最小必填:summary, start_time, end_time
  • ✅ user_open_id 强烈建议:从 SenderId 获取(ou_xxx),确保用户能看到日程
  • ✅ ID 格式约定:用户 ou_...,群 oc_...,会议室 omm_...,邮箱 email@...

📋 快速索引:意图 → 工具 → 必填参数

用户意图工具action必填参数强烈建议常用可选
创建会议feishu_calendar_eventcreatesummary, start_time, end_timeuser_open_idattendees, description, location
查某时间段日程feishu_calendar_eventliststart_time, end_time--
改日程时间feishu_calendar_eventpatchevent_id, start_time/end_time-summary, description
搜关键词找会feishu_calendar_eventsearchquery--
回复邀请feishu_calendar_eventreplyevent_id, rsvp_status--
查重复日程实例feishu_calendar_eventinstancesevent_id, start_time, end_time--
查忙闲feishu_calendar_freebusylisttime_min, time_max, user_ids[]--
邀请参会人feishu_calendar_event_attendeecreatecalendar_id, event_id, attendees[]--
删除参会人feishu_calendar_event_attendeebatch_deletecalendar_id, event_id, user_open_ids[]--

🎯 核心约束(Schema 未透露的知识)

1. user_open_id 为什么必填?

工具使用用户身份:日程创建在用户主日历上,用户本人能看到。

但为什么还要传 user_open_id:将发起人也添加为参会人,确保:

  • ✅ 发起人会收到日程通知
  • ✅ 发起人可以回复 RSVP 状态(接受/拒绝/待定)
  • ✅ 发起人出现在参会人列表中
  • ✅ 其他参会人能看到发起人

如果不传:

  • ⚠️ 用户能看到日程,但不会作为参会人
  • ⚠️ 如果只有其他参会人,发起人不在列表中(不符合常规逻辑)

2. 参会人权限(attendee_ability)

工具已默认设置 attendee_ability: "can_modify_event",参会人可以编辑日程和管理参与者。

权限值能力
none无权限
can_see_others可查看参与人列表
can_invite_others可邀请他人
can_modify_event可编辑日程(推荐)

3. 统一使用 open_id(ou_...格式)

  • ✅ 创建日程:user_open_id = SenderId
  • ✅ 邀请参会人:attendees[].id = "ou_xxx"
  • ✅ 删除参会人:user_open_ids = ["ou_xxx"](工具已优化,直接传 open_id 即可)

⚠️ ID 格式区分:

  • ou_xxx:用户的 open_id(你应该使用的)
  • user_xxx:日程内部的 attendee_id(list 接口返回,仅用于内部记录)

4. 会议室预约是异步流程

添加会议室类型参会人后,会议室进入异步预约流程:

  1. API 返回成功 → rsvp_status: "needs_action"(预约中)
  2. 后台异步处理
  3. 最终状态:accept(成功)或 decline(失败)

查询预约结果:使用 feishu_calendar_event_attendee.list 查看 rsvp_status。

5. instances action 仅对重复日程有效

⚠️ 重要:instances action 仅对重复日程有效,必须满足:

  1. event_id 必须是重复日程的 ID(该日程具有 recurrence 字段)
  2. 如果对普通日程调用,会返回错误

如何判断:

  1. 先用 get action 获取日程详情
  2. 检查返回值中是否有 recurrence 字段且不为空
  3. 如果有,则可以调用 instances 获取实例列表

📌 使用场景示例

场景 1: 创建会议并邀请参会人

{
  "action": "create",
  "summary": "项目复盘会议",
  "description": "讨论 Q1 项目进展",
  "start_time": "2026-02-25 14:00:00",
  "end_time": "2026-02-25 15:30:00",
  "user_open_id": "ou_aaa",
  "attendees": [
    {"type": "user", "id": "ou_bbb"},
    {"type": "user", "id": "ou_ccc"},
    {"type": "resource", "id": "omm_xxx"}
  ]
}

场景 2: 查询用户未来一周的日程

{
  "action": "list",
  "start_time": "2026-02-25 00:00:00",
  "end_time": "2026-03-03 23:59:00"
}

场景 3: 查看多个用户的忙闲时间

{
  "action": "list",
  "time_min": "2026-02-25 09:00:00",
  "time_max": "2026-02-25 18:00:00",
  "user_ids": ["ou_aaa", "ou_bbb", "ou_ccc"]
}

注意:user_ids 是数组,支持 1-10 个用户。当前不支持会议室忙闲查询。

场景 4: 修改日程时间

{
  "action": "patch",
  "event_id": "xxx_0",
  "start_time": "2026-02-25 15:00:00",
  "end_time": "2026-02-25 16:00:00"
}

场景 5: 搜索日程(按关键词)

{
  "action": "search",
  "query": "项目复盘"
}

场景 6: 回复日程邀请

{
  "action": "reply",
  "event_id": "xxx_0",
  "rsvp_status": "accept"
}

🔍 常见错误与排查

错误现象根本原因解决方案
发起人不在参会人列表中未传 user_open_id强烈建议传 user_open_id = SenderId
参会人看不到其他参会人attendee_ability 权限不足工具已默认设置 can_modify_event
时间不对使用了 Unix 时间戳改用 ISO 8601 格式(带时区):2024-01-01T00:00:00+08:00
会议室显示"预约中"会议室预约是异步的等待几秒后用 list 查询 rsvp_status
修改日程报权限错误当前用户不是组织者,且日程未设置可编辑权限确保日程创建时设置了 attendee_ability: "can_modify_event"
无法查看参会人列表当前用户无查看权限确保是组织者或日程设置了 can_see_others 以上权限

📚 附录:背景知识

A. 日历架构模型

飞书日历采用 三层架构:

日历(Calendar)
  └── 日程(Event)
       └── 参会人(Attendee)

关键理解:

  1. 用户主日历:日程创建在发起用户的主日历上,用户本人能看到
  2. 参会人机制:通过添加参会人(attendee),让其他人的日历中也显示此日程
  3. 权限模型:日程的 attendee_ability 参数控制参会人能否编辑日程、邀请他人、查看参与人列表

B. 参会人类型

  • type: "user" + id: "ou_xxx" — 飞书用户(使用 open_id)
  • type: "chat" + id: "oc_xxx" — 飞书群组
  • type: "resource" + id: "omm_xxx" — 会议室
  • type: "third_party" + id: "email@example.com" — 外部邮箱

C. 日程的生命周期

  1. 创建:在用户主日历上创建日程(工具使用用户身份)
  2. 邀请参会人:通过 attendee API 将日程分享给其他参会人
  3. 参会人回复:参会人可以 accept/decline/tentative
  4. 修改:组织者或有权限的参会人可以修改
  5. 删除:删除后状态变为 cancelled

D. 日历类型说明

类型说明能否删除能否修改
primary主日历(每个用户/应用一个)❌ 否✅ 是
shared共享日历(用户创建并共享)✅ 是✅ 是
resource会议室日历❌ 否❌ 否
google绑定的 Google 日历❌ 否❌ 否
exchange绑定的 Exchange 日历❌ 否❌ 否

E. 回复状态(rsvp_status)说明

状态含义(用户)含义(会议室)
needs_action未回复预约中
accept已接受预约成功
tentative待定-
decline拒绝预约失败
removed已被移除已被移除

F. 使用限制(来自飞书 OAPI 文档)

  1. 每个日程最多 3000 名参会人
  2. 单次添加参会人上限:
    • 用户类参会人:1000 人
    • 会议室:100 个
  3. 主日历不可删除(type 为 primary 的日历)
  4. 会议室预约可能失败:
    • 时间冲突
    • 无预约权限
    • 会议室配置限制

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

clawhub

免费

Use the ClawHub command-line tool to find and install agent skills, update them to the latest or a specified version, list installed skills, and publish skill folders with version numbers and change notes.

中文简介正在准备中。当前显示英语简介。

  • Find and install a skill for a task
  • Install or update a skill to a specific version
  • Update all installed skills
nexu-io/nexu32832026年4月26日 更新

Delegate feature development, code refactoring, and pull request reviews to Codex, Claude Code, Pi, or OpenCode. It guides background execution, progress monitoring, and parallel work in separate working directories.

中文简介正在准备中。当前显示英语简介。

  • Delegating new feature or app development
  • Reviewing pull requests in a separate working directory
  • Refactoring a large codebase
nexu-io/nexu32832026年4月26日 更新

datadog

免费

Investigate Nexu production issues through the Datadog Logs API. Search crash events, error output, startup activity, and API failures, then summarize findings by time, running instance, and deployed version to help trace related events.

中文简介正在准备中。当前显示英语简介。

  • Investigate OpenClaw crashes
  • Compare crash timing with deployments
  • Trace Slack authentication errors
nexu-io/nexu32832026年4月26日 更新

Turn a broad research topic into a structured report with traceable sources. The workflow defines questions, prioritizes authoritative material, separates facts from assumptions, compares evidence, and uses an independent agent to check key data and reasoning.

中文简介正在准备中。当前显示英语简介。

  • Comparing products or technical concepts
  • Weighing costs and risks before a decision
  • Investigating trends and their underlying drivers
nexu-io/nexu32832026年4月26日 更新

feedback

免费

Send bug reports, suggestions, or other feedback to the Nexu team using `/feedback`. The submission script automatically includes conversation history and images, then reports whether the feedback was successfully forwarded.

中文简介正在准备中。当前显示英语简介。

  • Reporting a Nexu platform issue
  • Suggesting improvements to Nexu
  • Sharing feedback with conversation history and images
nexu-io/nexu32832026年4月26日 更新

Create and manage Feishu Bitable tables for work such as customer tracking. Add, search, update, or delete records, configure columns using 27 field types, filter and sort data, and manage views or batch imports.

中文简介正在准备中。当前显示英语简介。

  • Create a customer management table
  • Find records marked as in progress
  • Import customer data in batches
nexu-io/nexu32832026年4月26日 更新

查看 nexu-io 的全部技能

报告此技能的问题