feishu-calendar

feishu-calendar is a skill for Claude Code, Codex from alextangson/feishu_skills. It costs 21 tokens per session (2,061 once invoked), scanned A, original, MIT.

A guide for managing Feishu calendars, a workplace calendar service, through its programming interface.

In plain words
What is it for?
Use it to create, view, update, delete, search, and list Feishu calendar events.
Why use it?
It explains how to authenticate and work with calendar data without manually handling each request and token refresh.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is TOKEN="$(./scripts/get_feishu_token.sh)".

Good fit Use it to create, view, update, delete, search, and list Feishu calendar events.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/alextangson/feishu_skills
agentmods
npx agentmods add skills/alextangson/feishu_skills/feishu-calendar

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feishu-calendar

README.md
[![agentmods](https://agentmods.dev/badge/skills/alextangson/feishu_skills/feishu-calendar/github.svg)](https://agentmods.dev/skills/alextangson/feishu_skills/feishu-calendar)
Your own site
<a href="https://agentmods.dev/skills/alextangson/feishu_skills/feishu-calendar"><img src="https://agentmods.dev/badge/skills/alextangson/feishu_skills/feishu-calendar/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feishu-calendar

Your own site · 80×15
<a href="https://agentmods.dev/skills/alextangson/feishu_skills/feishu-calendar"><img src="https://agentmods.dev/badge/skills/alextangson/feishu_skills/feishu-calendar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,061 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Mar 2026
  • Snyk pass 26 Mar 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.02061
Opus 5 $0.00010 $0.01030
Sonnet 5 $0.00004 $0.00412
Haiku 4.5 $0.00002 $0.00206

Measured 12d ago against content hash 1d984ea8d0f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

feishu-calendar scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X GET "https://open.feishu.cn/open-apis/calendar/v4/rooms?page_size=50" \
feishu-calendar/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

飞书日历

通过 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}/events POST {"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/search POST {"query":"关键词","start_time":{"timestamp":"1770508800"}} 条件搜索
获取日程列表 /calendars/{calendar_id}/events GET - 查询日历下所有日程

创建日程:

{
  "summary": "会议标题",
  "start_time": {"timestamp": "1770508800"},
  "end_time": {"timestamp": "1770512400"},
  "attendees": [{"type": "user", "attendee_id": "ou_xxx"}]
}

attendees type: user / chat / resource(会议室)


日程参与人

API 端点 方法 请求体示例 说明
获取参与人 /calendars/{calendar_id}/events/{event_id}/attendees GET - 查询参与人列表
添加参与人 /calendars/{calendar_id}/events/{event_id}/attendees POST {"attendees":[{"type":"user","attendee_id":"ou_xxx"}]} 邀请参与人
删除参与人 /calendars/{calendar_id}/events/{event_id}/attendees/{attendee_id} DELETE - 移除参与人
获取参与群成员 /calendars/{calendar_id}/events/{event_id}/attendees/chat_members GET - 查询群参与成员

日历管理

API 端点 方法 请求体示例 说明
获取日历列表 /calendars GET 查询参数:page_size=50&page_token=xxx 查询所有日历(分页)
获取主日历 /calendars/primary GET - 查询用户主日历
创建日历 /calendars POST {"summary":"日历名称","description":"描述","permissions":"public"} 创建共享日历
获取日历 /calendars/{calendar_id} GET - 查询日历详情
更新日历 /calendars/{calendar_id} PATCH {"summary":"新名称"} 修改日历
删除日历 /calendars/{calendar_id} DELETE - 删除日历
搜索日历 /calendars/search POST {"query":"关键词"} 搜索日历

Read the full file on GitHub · 191 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 191 lines · 21 tokens per session scan A 1d984ea8d0f5

Subscribe to this mod's changes

feishu-calendar is a skill published in the GitHub repository alextangson/feishu_skills (65 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 2,061 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.