feishu-agent

Feishu (Lark) CLI agent - Provides calendar, todo, and contact management capabilities for AI assistants

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-agent" with this command: npx skills add boyd4y/feishu-agent

Feishu Agent Skill

Feishu (Lark) CLI agent - Provides calendar, todo, and contact management capabilities for AI assistants.

Installation

# Install via clawhub
clawhub install feishu-agent

# Or run directly with bunx
bunx @teamclaw/feishu-agent <command>

# Or install globally via bun
bun add -g @teamclaw/feishu-agent
feishu-agent <command>

Quick Start

  1. Setup - Configure Feishu app credentials:

    feishu-agent setup
    
  2. Authenticate - OAuth 2.0 authorization:

    feishu-agent auth
    
  3. Start using - Check your calendar:

    feishu-agent calendar events
    

Capabilities

  • 📅 Calendar: List calendars, view events, create/delete events with automatic conflict detection
  • Todo: Manage tasks via Feishu Bitable
  • 👥 Contacts: Search and list users from organization
  • 🔐 Auth: OAuth 2.0 authentication with automatic token refresh

Commands

Setup & Auth

CommandDescription
feishu-agent setupInteractive setup wizard (App credentials + OAuth + Bitable)
feishu-agent authOAuth 2.0 authorization to get user_access_token
feishu-agent whoamiShow current user and authorization status
feishu-agent config listView global configuration

Calendar Management

CommandDescription
feishu-agent calendarList all calendars (primary, subscribed)
feishu-agent calendar eventsList events in primary calendar
feishu-agent calendar create --summary "Meeting" --start "2026-03-05 14:00" --end "2026-03-05 15:00"Create a new event (auto-checks conflicts)
feishu-agent calendar create --summary "Meeting" --start "..." --end "..." --attendee user_idCreate event with attendees
feishu-agent calendar delete --event-id=evt123Delete an event

Other Features

CommandDescription
feishu-agent todo listList todos from Bitable
feishu-agent todo create --title "Task" --priority "High"Create a todo
feishu-agent todo done --record-id=rec123Mark todo as done
feishu-agent contact listList users in department
feishu-agent contact search "John"Search users by name/email

Setup Flow

Option 1: Interactive Setup (Recommended)

feishu-agent setup

This wizard will:

  1. Prompt for App ID and App Secret
  2. Open browser for OAuth 2.0 authorization
  3. Save tokens to ~/.feishu-agent/config.json
  4. Optionally fetch Bitable schema

Option 2: Manual Configuration

# Step 1: Set app credentials
feishu-agent config set appId cli_xxxxx
feishu-agent config set appSecret xxxxx

# Step 2: Authorize with user account
feishu-agent auth

Configuration

Global config is stored in ~/.feishu-agent/config.json:

{
  "appId": "cli_xxxxx",
  "appSecret": "xxxxx",
  "userAccessToken": "xxxxx",
  "refreshToken": "xxxxx"
}

Required Feishu App Permissions

In Feishu Developer Console, enable:

  • calendar:calendar - View and manage user calendars
  • calendar:event - Manage events in calendars
  • contact:user.base:readonly - Read user contact info
  • bitable:app - Access Bitable data (for todo feature)

Redirect URI must be configured: http://localhost:3000/callback

Use Cases for AI Agents

Schedule a Meeting

feishu-agent calendar create \
  --summary "Team Standup" \
  --start "2026-03-05 10:00" \
  --end "2026-03-05 10:30" \
  --attendee user_id_1 \
  --attendee user_id_2

Note: The command automatically checks for time conflicts using the FreeBusy API. If a conflict is detected, the event creation will fail with a description of the busy time slot.

Check Daily Schedule

feishu-agent calendar events

Manage Tasks

feishu-agent todo create --title "Review PR #123" --priority "High"
feishu-agent todo list
feishu-agent todo done --record-id rec_xxx

Troubleshooting

"User authorization required"

  • Run feishu-agent auth to authorize

"Token expired"

  • Run feishu-agent auth again to refresh

"Time conflict detected"

  • The requested time slot is already busy
  • Choose a different time or check your calendar with feishu-agent calendar events

"Permission denied"

  • Check app permissions in Feishu Developer Console

License

MIT

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.

Coding

Feishu Skills Kit 飞书技能全集

Complete Feishu (Lark) Skills collection for Claude Code / OpenClaw. Includes 10 skills covering: document management, messaging, spreadsheets, Bitable, inte...

Registry SourceRecently Updated
1.1K1Profile unavailable
General

Feishu Task Manager

Manage Feishu tasks by creating, listing, completing, commenting, and organizing to-dos with assignees, due dates, and checklists.

Registry SourceRecently Updated
850Profile unavailable
General

飞书会议室智能预订

飞书会议室查询与预订。当用户提到"查会议室"、"订会议室"、"空闲会议室"、"预订会议室"、"开会"、"找个会议室"、"F4会议室"、"紫金会议室"、"哪个会议室有空"、或者创建会议时需要自动匹配空闲会议室时,必须使用此 skill。也适用于用户要求创建日程并指定楼栋/区域时自动完成会议室预订的场景。也适用于用户...

Registry SourceRecently Updated
1150Profile unavailable
General

📅 飞书文档待办自动识别

自动识别飞书文档中的待办表格,解析模糊时间并创建对应的飞书日历日程,支持负责人和提醒设置。

Registry SourceRecently Updated
1150Profile unavailable