If you're building automations on top of Feishu (Lark), this gives you the full Calendar API wrapped up cleanly. You can create and update events, manage attendees, search across calendars, and even book meeting rooms by adding them as resource-type participants. The token handling is abstracted into a shared script that caches credentials and auto-refreshes when needed, so you're not wrestling with auth on every call. Covers the practical stuff like ACL management for shared calendars and pagination for bulk queries. Works well when you need to sync schedules, automate meeting creation, or build workflow triggers around calendar events without manually curling the Feishu API every time.

skills.sh installs
1.2K
GitHub stars
64
last updated
Aug 21, 2026

Install

$ npx -y skills add alextangson/feishu_skills --skill feishu-calendar --agent claude-code

Installs into .claude/skills of the current project.

Files

飞书日历

通过 Calendar API 管理日程。

Base URL: https://open.feishu.cn/open-apis/calendar/v4

认证与 Token 获取

从 feishu_skills 根目录执行共享脚本:

TOKEN="$(./scripts/get_feishu_token.sh)"

请求头统一使用 Authorization: Bearer ${TOKEN}。

如果业务接口返回 token 无效、过期或 401,强制刷新后仅重试一次原请求:

TOKEN="$(./scripts/get_feishu_token.sh --force-refresh)"

环境变量:

  • FEISHU_APP_ID
  • FEISHU_APP_SECRET

本地缓存: ./.feishu_token_cache.json(未过期直接复用,默认提前 5 分钟刷新)


日程操作

API端点方法请求体示例说明
创建日程/calendars/{calendar_id}/eventsPOST{"summary":"会议标题","start_time":{"timestamp":"1770508800"},"end_time":{"timestamp":"1770512400"}}创建新日程
获取日程/calendars/{calendar_id}/events/{event_id}GET-查询日程详情
更新日程/calendars/{calendar_id}/events/{event_id}PATCH{"summary":"新标题"}修改日程
删除日程/calendars/{calendar_id}/events/{event_id}DELETE-删除日程
搜索日程/calendars/{calendar_id}/events/searchPOST{"query":"关键词","start_time":{"timestamp":"1770508800"}}条件搜索
获取日程列表/calendars/{calendar_id}/eventsGET-查询日历下所有日程

Sponsors

Details

Repository
github.com/alextangson/feishu_skills

More from alextangson/feishu_skills

All 3

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs