← Back to Skills Marketplace
sunnyyao2222-eng

feishu-calender

by sunnyyao2222-eng · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
917
Downloads
0
Stars
7
Active Installs
1
Versions
Install in OpenClaw
/install feishu-calender
Description
飞书日历日程管理 Skill。创建日历/日程、查询空闲忙状态、订阅日历变更。当需要自动安排会议、查询时间冲突或监控日程变动时使用此 Skill。
README (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)。


六、最佳实践

  1. 先查后建:创建日程前先用 freebusy 查询空闲时段
  2. 秒级字符串:时间戳格式是最常踩的坑,必须是秒级字符串
  3. 提醒设置:始终添加 reminders,否则参会人容易错过
  4. 订阅监控:对关键日历开启订阅,实现日程变更的实时感知
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-calender
  3. After installation, invoke the skill by name or use /feishu-calender
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug feishu-calender
Version 1.0.0
License
All-time Installs 7
Active Installs 7
Total Versions 1
Frequently Asked Questions

What is feishu-calender?

飞书日历日程管理 Skill。创建日历/日程、查询空闲忙状态、订阅日历变更。当需要自动安排会议、查询时间冲突或监控日程变动时使用此 Skill。 It is an AI Agent Skill for Claude Code / OpenClaw, with 917 downloads so far.

How do I install feishu-calender?

Run "/install feishu-calender" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is feishu-calender free?

Yes, feishu-calender is completely free (open-source). You can download, install and use it at no cost.

Which platforms does feishu-calender support?

feishu-calender is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created feishu-calender?

It is built and maintained by sunnyyao2222-eng (@sunnyyao2222-eng); the current version is v1.0.0.

💬 Comments