搜索

PythonReactSEOPDF
OpenClaw

feishu-agent

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

boyd4y0 来源安装数☆ 0 仓库 Starsv1.0.14

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install boyd4y/feishu-agent

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 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
Command Description
feishu-agent setup Interactive setup wizard (App credentials + OAuth + Bitable)
feishu-agent auth OAuth 2.0 authorization to get user_access_token
feishu-agent whoami Show current user and authorization status
feishu-agent config list View global configuration
Calendar Management
Command Description
feishu-agent calendar List all calendars (primary, subscribed)
feishu-agent calendar events List 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_id Create event with attendees
feishu-agent calendar delete --event-id=evt123 Delete an event
Other Features
Command Description
feishu-agent todo list ...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/boyd4y/feishu-agent
Version
1.0.14
Commit
d4041abf8c9b2b75877bd941c21869d1d26b0259
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Feishu Agent

Feishu Agent is a TypeScript/Node.js middleware layer for Feishu (Lark) API integration, designed for AI assistants.

Features

  • 📅 Calendar management (list calendars, events, create/delete events)
  • ⚠️ Automatic conflict detection when creating events (uses FreeBusy API)
  • ✅ Todo management via Bitable
  • 👥 Contact management (list users, search by name/email)
  • 🔐 OAuth 2.0 authentication with auto token refresh
  • 🚀 CLI interface with commander

Installation

Global Install (Recommended)
bun add -g @teamclaw/feishu-agent

After installation, you can use the feishu_agent command directly:

feishu_agent calendar list
Run with bunx (No Install)
bunx @teamclaw/feishu-agent calendar list
Local Development
bun install

Quick Start

1. Setup

Run the setup command to configure your Feishu app credentials:

feishu_agent setup

Or export environment variables:

export FEISHU_APP_ID=cli_xxx
export FEISHU_APP_SECRET=xxx
2. Authenticate
feishu_agent auth

This will open a browser window for OAuth 2.0 authorization.

Usage

Calendar
# List calendars
feishu_agent calendar list

# List events
feishu_agent calendar events

# Create event (automatically checks for time conflicts)
feishu_agent calendar create --summary "Meeting" --start "2026-03-01 14:00" --end "2026-03-01 15:00"

# Create event with attendees
feishu_agent calendar create --summary "Meeting" --start "2026-03-01 14:00" --end "2026-03-01 15:00" --attendee-name "张三"

# Delete event
feishu_agent calendar delete --event-id "xxx"
Todo
# List todos (requires FEISHU_BASE_TOKEN env)
feishu_agent todo list

# Create todo
feishu_agent todo create --title "Task" --priority "High"

# Mark todo as done
feishu_agent todo done --record-id "xxx"
Contact
# List users
feishu_agent contact list --dept "0"

# Search users
feishu_agent conta...

来源内容

SKILL.md
# Feishu Agent Skill

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

## Installation

```bash
# 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:
   ```bash
   feishu-agent setup
   ```

2. **Authenticate** - OAuth 2.0 authorization:
   ```bash
   feishu-agent auth
   ```

3. **Start using** - Check your calendar:
   ```bash
   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

| Command | Description |
|---------|-------------|
| `feishu-agent setup` | Interactive setup wizard (App credentials + OAuth + Bitable) |
| `feishu-agent auth` | OAuth 2.0 authorization to get user_access_token |
| `feishu-agent whoami` | Show current user and authorization status |
| `feishu-agent config list` | View global configuration |

### Calendar Management

| Command | Description |
|---------|-------------|
| `feishu-agent calendar` | List all calendars (primary, subscribed) |
| `feishu-agent calendar events` | List 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_id` | Create event with attendees |
| `feishu-agent calendar delete --event-id=evt123` | Delete an event |

### Other Features

| Command | Description |
|---------|-------------|
| `feishu-agent todo list` |...
README
# Feishu Agent

Feishu Agent is a TypeScript/Node.js middleware layer for Feishu (Lark) API integration, designed for AI assistants.

## Features

- 📅 Calendar management (list calendars, events, create/delete events)
- ⚠️ **Automatic conflict detection** when creating events (uses FreeBusy API)
- ✅ Todo management via Bitable
- 👥 Contact management (list users, search by name/email)
- 🔐 OAuth 2.0 authentication with auto token refresh
- 🚀 CLI interface with commander

## Installation

### Global Install (Recommended)

```bash
bun add -g @teamclaw/feishu-agent
```

After installation, you can use the `feishu_agent` command directly:

```bash
feishu_agent calendar list
```

### Run with bunx (No Install)

```bash
bunx @teamclaw/feishu-agent calendar list
```

### Local Development

```bash
bun install
```

## Quick Start

### 1. Setup

Run the setup command to configure your Feishu app credentials:

```bash
feishu_agent setup
```

Or export environment variables:
```bash
export FEISHU_APP_ID=cli_xxx
export FEISHU_APP_SECRET=xxx
```

### 2. Authenticate

```bash
feishu_agent auth
```

This will open a browser window for OAuth 2.0 authorization.

## Usage

### Calendar

```bash
# List calendars
feishu_agent calendar list

# List events
feishu_agent calendar events

# Create event (automatically checks for time conflicts)
feishu_agent calendar create --summary "Meeting" --start "2026-03-01 14:00" --end "2026-03-01 15:00"

# Create event with attendees
feishu_agent calendar create --summary "Meeting" --start "2026-03-01 14:00" --end "2026-03-01 15:00" --attendee-name "张三"

# Delete event
feishu_agent calendar delete --event-id "xxx"
```

### Todo

```bash
# List todos (requires FEISHU_BASE_TOKEN env)
feishu_agent todo list

# Create todo
feishu_agent todo create --title "Task" --priority "High"

# Mark todo as done
feishu_agent todo done --record-id "xxx"
```

### Contact

```bash
# List users
feishu_agent contact list --dept "0"

# Search users
feishu_agent conta...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.