← 返回 Skills 市场
feishu-calender
作者
sunnyyao2222-eng
· GitHub ↗
· v1.0.0
917
总下载
0
收藏
7
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-calender
功能描述
飞书日历日程管理 Skill。创建日历/日程、查询空闲忙状态、订阅日历变更。当需要自动安排会议、查询时间冲突或监控日程变动时使用此 Skill。
使用说明 (SKILL.md)
飞书日历日程管理
你是飞书日历自动化专家,负责通过 Calendar v4 API 实现日程创建、空闲查询和日历订阅。
一、API 基础信息
| 项目 | 值 |
|---|---|
| Base URL | https://open.feishu.cn/open-apis/calendar/v4 |
| 认证方式 | Authorization: Bearer {tenant_access_token} |
| Content-Type | application/json |
二、日历操作
1. 创建日历
POST /open-apis/calendar/v4/calendars
{ "summary": "项目日历" }
实测心法:创建后可添加协作者,适合为特定项目创建共享日历。
三、日程操作
2. 创建日程
创建日程分为两步:
第一步:创建日程基本信息
POST /open-apis/calendar/v4/calendars/:calendar_id/events
{
"summary": "需求对齐会",
"description": "讨论 Q2 产品规划",
"start_time": { "timestamp": "1770641576" },
"end_time": { "timestamp": "1770645176" }
}
第二步:添加参与人 (关键)
创建成功获取 event_id 后,必须调用此接口才能邀请他人:
POST /open-apis/calendar/v4/calendars/:calendar_id/events/:event_id/attendees?user_id_type=open_id
{
"attendees": [
{ "type": "user", "user_id": "ou_xxx" }
]
}
实测心法:
- 创建日程接口不支持直接传参会人,必须分两步走。
- 时间戳必须为秒级字符串(不是毫秒,不是数字)。
- 必须带上
user_id_type=open_id参数,否则无法识别ou_开头的 ID。 - 添加
reminders确保参会人收到提醒。
3. 更新日程
PATCH /open-apis/calendar/v4/calendars/:calendar_id/events/:event_id
4. 删除日程
DELETE /open-apis/calendar/v4/calendars/:calendar_id/events/:event_id
四、智能排期
5. 批量查询空闲忙状态
POST /open-apis/calendar/v4/freebusy/list
{
"time_min": "2026-02-10T09:00:00+08:00",
"time_max": "2026-02-10T18:00:00+08:00",
"user_id": "ou_xxx"
}
实测心法:安排跨部门会议的利器。先查空闲再创建日程,避免时间冲突。
五、日历订阅
6. 订阅日历变更
POST /open-apis/calendar/v4/calendars/:calendar_id/subscribe
实测心法:实时感知关键人员的日程变动并调整后续任务。需要配置事件回调(Webhook)。
六、最佳实践
- 先查后建:创建日程前先用 freebusy 查询空闲时段
- 秒级字符串:时间戳格式是最常踩的坑,必须是秒级字符串
- 提醒设置:始终添加 reminders,否则参会人容易错过
- 订阅监控:对关键日历开启订阅,实现日程变更的实时感知
安全使用建议
This skill appears to be an instruction-only integration for Feishu Calendar, but it omits how the agent will obtain and store the tenant_access_token (the bearer token required by all API calls). Before installing or enabling it, ask the publisher to (1) declare a primary credential (tenant_access_token) or a secure OAuth flow, (2) explain how webhook callbacks should be registered and secured (to avoid exposing endpoints), and (3) confirm minimal required scopes and token lifetime. Because the source and homepage are unknown, avoid providing long-lived or high-privilege tokens until you can verify the author and see a clear credential-handling plan.
功能分析
Type: OpenClaw Skill
Name: feishu-calender
Version: 1.0.0
The skill bundle provides instructions for an AI agent to manage Feishu calendars, including creating/updating/deleting events, querying free/busy status, and subscribing to calendar changes. All API interactions described in SKILL.md are directed to legitimate Feishu endpoints (`https://open.feishu.cn/open-apis/calendar/v4`), and the requested permissions (`calendar:calendar`, `calendar:calendar.free_busy:read`, `calendar:calendar:subscribe`) are appropriate for the stated purpose. There is no evidence of malicious prompt injection, data exfiltration, unauthorized execution, or other harmful behaviors.
能力评估
Purpose & Capability
The SKILL.md describes Feishu Calendar APIs and operations (create calendars/events, free/busy queries, subscribe/webhook). That purpose aligns with the name and description. However, the skill does not declare or require the tenant access token or any API credential even though all API calls require Authorization: Bearer {tenant_access_token}, creating a clear capability–requirement mismatch.
Instruction Scope
Instructions are specific to Calendar v4 endpoints and do not ask the agent to read unrelated local files or system state. But they explicitly reference an Authorization header with a tenant_access_token and describe setting up webhooks (callback endpoints). The SKILL.md does not explain where the token comes from or how webhook callbacks should be secured, which leaves important runtime behavior undefined and grants the agent broad discretion to use an unstated secret.
Install Mechanism
No install spec and no code files — instruction-only skill. This is low-risk from an install/execution perspective because nothing will be downloaded or written by default.
Credentials
The skill requests no environment variables or primary credential, yet its examples and auth header require a tenant_access_token (sensitive). Required_permissions lists Feishu calendar scopes (OAuth-like scopes) but there is no declared mechanism to supply or limit the token. The absence of declared credentials is disproportionate to the skill's need for an auth token and should be remedied.
Persistence & Privilege
The skill is not set to always:true and does not request persistent platform privileges. It is user-invocable and allows autonomous invocation (default), which is normal for skills. Nothing in the skill requests modification of other skills or system-wide config.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-calender - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-calender触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Major overhaul: migrated from script-based message sending to template-driven interactive cards with structured documentation.
- Removed all old script files and CLI instructions for text or markdown message sending.
- Added comprehensive documentation for building and sending interactive cards, including API usage and card JSON structure.
- Introduced documented templates for common use cases (morning briefing, alerts, skill test results, confirmations).
- Explained best practices, element types, and header color meanings for consistent card design.
- Updated callback handling guidance and outlined future support for interactive actions.
- Added sample card templates in the references directory for reuse and easy customization.
元数据
常见问题
feishu-calender 是什么?
飞书日历日程管理 Skill。创建日历/日程、查询空闲忙状态、订阅日历变更。当需要自动安排会议、查询时间冲突或监控日程变动时使用此 Skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 917 次。
如何安装 feishu-calender?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-calender」即可一键安装,无需额外配置。
feishu-calender 是免费的吗?
是的,feishu-calender 完全免费(开源免费),可自由下载、安装和使用。
feishu-calender 支持哪些平台?
feishu-calender 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 feishu-calender?
由 sunnyyao2222-eng(@sunnyyao2222-eng)开发并维护,当前版本 v1.0.0。
推荐 Skills