Summary
日程冲突检测器:查询多个参与者的忙闲状态,找到共同的空闲时段,可选直接创建会议日程。当用户需要'找时间开会'、'协调会议时间'、'查看空闲时段'、'日程冲突'、'约会议'、'有空什么时候'、'大家什么时候有空'时使用。
liangdabiao/lark-workflow-feishu-cli
日程冲突检测器:查询多个参与?
npx skills add liangdabiao/lark-workflow-feishu-cli --skill lark-workflow-meeting-finder
日程冲突检测器:查询多个参与者的忙闲状态,找到共同的空闲时段,可选直接创建会议日程。当用户需要'找时间开会'、'协调会议时间'、'查看空闲时段'、'日程冲突'、'约会议'、'有空什么时候'、'大家什么时候有空'时使用。
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Helps users discover and install agent skills when they ask questions like "how do I do X", "fi…
3.3M installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Te…
568.3K installsOther skills from liangdabiao/lark-workflow-feishu-cli · top by installs.
npx skills add liangdabiao/lark-workflow-feishu-cli
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Parsed from SKILL.md frontmatter.
Files included with this skill beyond the listing page.
SKILL.md
5,540 B
SUMMARY.md
335 B
CRITICAL — 开始前 MUST 先用 Read 工具读取 [../lark-shared/SKILL.md](../lark-shared/SKILL.md),其中包含认证、权限处理
仅支持 user 身份。执行前确保已授权:
lark-cli auth login --domain calendar,contact
{参会人列表 + 时间范围 + 会议时长}
│
├── contact +search-user ──────────► 查找参会人 open_id
│
├── calendar +freebusy ────────────► 查询各参会人忙闲
│
├── AI 分析空闲交集 ──────────────► 找出共同空闲时段
│
├── [有明确时间] 冲突检测 ─────────► 报告冲突详情
│
├── [有时间段] +suggestion ────────► 推荐多个可选时段
│
└── [用户确认] calendar +create ───► 创建会议日程 + 发邀请
如果用户提供了姓名,先查找 open_id:
lark-cli contact +search-user --query "<参会人姓名>" --as user
记录返回的 openid(ouxxx 格式)。如果查不到,提示用户检查姓名是否正确。
注意:只能查找同一飞书租户内的用户。跨租户用户无法查询忙闲状态。
# 查询单个用户的忙闲(默认今天)
lark-cli calendar +freebusy --user-id "ou_xxx" --as user
# 指定日期范围
lark-cli calendar +freebusy \
--user-id "ou_xxx" \
--start "2026-04-10T09:00:00+08:00" \
--end "2026-04-10T18:00:00+08:00" \
--as user
注意:
--start/--end仅支持 ISO 8601 格式和 Unix timestamp,不支持自然语言。需要 AI 根据当前日期计算。
对多个参会人,逐一调用 +freebusy(当前 lark-cli 不支持一次传多个 user-id):
# 逐个查询,记录每个人的忙碌时段
lark-cli calendar +freebusy --user-id "ou_aaa" --start "..." --end "..." --as user
lark-cli calendar +freebusy --user-id "ou_bbb" --start "..." --end "..." --as user
lark-cli calendar +freebusy --user-id "ou_ccc" --start "..." --end "..." --as user
将所有参会人的忙闲数据整合,计算共同空闲时段:
输出格式:
## 推荐会议时段
以下为 {日期} 所有参会人均空闲的时段(会议时长 {N} 分钟):
| 时段 | 推荐度 | 说明 |
|------|--------|------|
| 09:00-10:00 | 推荐 | 工作时间,无冲突 |
| 14:00-15:00 | 推荐 | 工作时间,无冲突 |
| 11:00-12:00 | 一般 | 接近午休 |
### 冲突详情
| 参会人 | 忙碌时段 | 事件 |
|--------|---------|------|
| 张三 | 10:00-11:30 | 产品评审会 |
| 李四 | 13:00-14:00 | 1v1 |
如果用户给出了时间范围但没指定具体时间,可使用 +suggestion 获取系统推荐:
lark-cli calendar +suggestion \
--start "2026-04-10T09:00:00+08:00" \
--end "2026-04-10T18:00:00+08:00" \
--attendee-ids "ou_aaa,ou_bbb,ou_ccc" \
--duration-minutes 60 \
--as user
用户确认时间段后,创建日程并发送邀请:
lark-cli calendar +create \
--summary "会议主题" \
--start "2026-04-10T09:00:00+08:00" \
--end "2026-04-10T10:00:00+08:00" \
--attendee-ids "ou_aaa,ou_bbb,ou_ccc" \
--as user
注意:创建前务必与用户确认时间、主题和参会人,避免误操作。
| 场景 | 降级方案 |
|---|---|
| 某参会人查不到 | 提示用户确认姓名,或跳过该人继续查询 |
| 无共同空闲时段 | 建议:扩大时间范围 / 减少参会人 / 拆分会议 |
| 只能找到非理想时段 | 列出"次优时段",说明冲突详情 |
| +suggestion 不可用 | 退回到 +freebusy 手动分析 |
| 创建日程失败 | 输出推荐时段让用户手动创建 |
| 命令 | 所需 scope |
|---|---|
contact +search-user |
contact:user.base:readonly |
calendar +freebusy |
calendar:freebusy:readonly |
calendar +suggestion |
calendar:freebusy:readonly |
calendar +create |
calendar:calendar:write, calendar:event:write |
../lark-calendar/SKILL.md](../lark-calendar/SKILL.md) — 日历原子操作../lark-contact/SKILL.md](../lark-contact/SKILL.md) — 通讯录查询