feishu-calendar-manager
飞书日历管理器 - 零配置,自动获取凭证和日历ID,支持创建、删除、查询日程
Why use this skill?
Effortlessly manage your Feishu calendar with zero configuration. Create, delete, and query events using the feishu-calendar-manager skill for enhanced productivity.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sunnull/feishu-calendar-managerWhat This Skill Does
The feishu-calendar-manager skill is a zero-configuration tool designed to streamline the management of your Feishu (Lark) calendar events. It automates the retrieval of necessary credentials and calendar IDs, allowing you to seamlessly create, delete, and query calendar events directly from your command line. This skill leverages the Feishu Calendar v4 API and is built for efficiency, automatically discovering your user ID and primary calendar ID. It also implements smart caching for credentials and configurations, keeping them fresh for 24 hours to reduce API calls and improve performance.
Key features include automatic credential loading from ~/.openclaw/openclaw.json, automatic discovery of user_id and calendar_id, support for creating events with details like title, start/end times, description, and location, the ability to delete existing events by their ID, and the capability to list events within a specified date range.
Installation
To install the feishu-calendar-manager skill, use the following command:
clawhub install openclaw/skills/skills/sunnull/feishu-calendar-manager
For the skill to function correctly, you need to configure your Feishu application credentials. The skill automatically looks for these credentials in the following order:
- Environment variables (if set).
~/.openclaw/openclaw.json(Recommended).~/openclaw/.secrets.env.~/.secrets.env.
If you haven't configured your Feishu application, follow these steps:
-
Create a Feishu App: Visit the Feishu Open Platform and create a new application to obtain your App ID and App Secret.
-
Add Permissions: In your application's management page, add the following permissions:
calendar:calendar(Read and write calendar)calendar:calendar:readonly(Read calendar)contact:user.base:readonly(Automatically get user ID)contact:user.employee_id:readonly(Read employee directory).
-
Configure
openclaw.json: Edit or create the~/.openclaw/openclaw.jsonfile with your Feishu credentials:{ "channels": { "feishu": { "accounts": { "default": { "appId": "YOUR_APP_ID", "appSecret": "YOUR_APP_SECRET", "enabled": true } } } } }
Once configured, the skill operates with zero additional setup.
Use Cases
The feishu-calendar-manager skill is ideal for users who want to efficiently manage their Feishu calendar from the command line without complex setup. It's particularly useful for:
- Automating event creation: Quickly add new meetings, reminders, or appointments directly via commands.
- Quickly checking schedules: View upcoming events for the day or a specific period.
- Managing events: Easily delete events that are no longer needed.
- Developers and power users: Integrate calendar management into scripts or workflows.
- Users with multiple Feishu accounts: The skill supports configurations for multiple accounts, prioritizing the
defaultaccount.
Example Prompts
- "Schedule a team sync for tomorrow from 10 AM to 11 AM and add a note about discussing project X."
- "What meetings do I have next Monday?"
- "Delete the event with ID
cl99xxxxxx."
Tips & Limitations
- Zero Configuration: The skill's primary advantage is its zero-configuration setup when Feishu credentials are provided in
~/.openclaw/openclaw.json. Ensure this file is correctly formatted. - Timezone: The default timezone is
Asia/Shanghai. You can specify a different timezone using the--timezoneparameter when creating events if needed. - Event ID: When deleting an event, make sure you have the correct
event-id. You can obtain this ID when creating an event or by listing events if the API provides it. - Caching: The skill caches credentials and configurations for 24 hours. If you update your Feishu app credentials, you might need to wait for the cache to expire or restart your OpenClaw instance for changes to take effect immediately.
- Error Handling: The skill includes an intelligent error retry mechanism, but complex network issues or API rate limits might still cause failures. Check the output for specific error messages.
- Multiple Accounts: While the skill supports multiple Feishu accounts, ensure they are correctly defined in your
openclaw.jsonand that thedefaultaccount is properly enabled. The skill prioritizes thedefaultaccount.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sunnull-feishu-calendar-manager": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api