feishu-calendar-oauth

飞书日历管理技能。支持查询日程、创建/更新/删除事件、设置重复规则。触发条件:(1) 询问今天/明天/某天的日程 (2) 创建日程/添加会议/新建事件 (3) 更新或删除日程 (4) 设置重复提醒(生日、周会等)(5) 查看日历/日程安排。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "feishu-calendar-oauth" with this command: npx skills add thinkingmanyangyang/feishu-calendar-oauth

飞书日历技能

管理个人飞书日历,支持完整的日程管理功能。

快速检测

$tokenFile = "$env:USERPROFILE\.openclaw\workspace\skills\feishu-calendar-oauth\scripts\.user_token.json"
if (Test-Path $tokenFile) {
    $config = Get-Content $tokenFile | ConvertFrom-Json
    Write-Host "✅ 已配置,日历 ID: $($config.calendar_id)"
} else {
    Write-Host "❌ 未配置,请参考 [OAuth 配置指南](references/oauth-setup.md)"
}

功能

功能状态触发示例
查询日程"今天有什么日程" / "查看本周日程"
创建日程"帮我创建一个会议,明天14点"
更新日程"把明天的会议改到下午3点"
删除日程"删除明天的那个会议"
重复事件"添加生日提醒,每年5月1日"
多级提醒"创建会议,提前1天和1小时提醒"

自然语言示例

用户:帮我查看今天的飞书日程
用户:明天下午2点到4点有个项目会议
用户:每周一上午10点添加一个周会
用户:帮我添加一个生日提醒,每年5月1日
用户:删除明天的会议

API 使用

查询和操作日程的详细方法见 API 使用指南

Token 管理

Token 有效期约 2 小时,过期后自动刷新或手动执行:

# 刷新 Token
$config = Get-Content "$env:USERPROFILE\.openclaw\workspace\skills\feishu-calendar-oauth\scripts\.user_token.json" | ConvertFrom-Json
$body1 = @{ app_id = $config.app_id; app_secret = $config.app_secret } | ConvertTo-Json
$appToken = (Invoke-RestMethod -Uri "https://open.feishu.cn/open-apis/auth/v3/app_access_token/internal" -Method Post -Body $body1 -ContentType "application/json").app_access_token
$body2 = @{ grant_type = "refresh_token"; refresh_token = $config.refresh_token } | ConvertTo-Json
$newToken = Invoke-RestMethod -Uri "https://open.feishu.cn/open-apis/authen/v1/oidc/refresh_access_token" -Method Post -Body $body2 -ContentType "application/json" -Headers @{ Authorization = "Bearer $appToken" }
$config.access_token = $newToken.data.access_token
$config.refresh_token = $newToken.data.refresh_token
$config | ConvertTo-Json | Out-File "$env:USERPROFILE\.openclaw\workspace\skills\feishu-calendar-oauth\scripts\.user_token.json"
Write-Host "✅ Token 已刷新"

常见问题

问题解决方案
授权码无效授权码只能使用一次,重新获取
重定向 URL 错误检查飞书开放平台"安全设置"
权限不足确认已开通 calendar:calendar

参考文档

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Multi Edge-TTS CN

Edge-TTS 在线语音合成 skill。基于微软 Edge TTS 引擎,生成速度快(1-2秒),支持多种音色和输出格式。同时支持飞书(OGG/Opus)和企业微信(AMR)。默认音色 xiaoxiao_lively。需联网。

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated
General

One Person Company OS

Build a visual operating cockpit for an AI-native one-person company across promise, buyer, product, delivery, cash, learning, and assets. / 为 AI 一人公司建立可视化经营...

Registry SourceRecently Updated
General

健康追踪

健康追踪技能 - 追踪饮水、睡眠、步数等健康数据,JSON存储。

Registry SourceRecently Updated