Lark CLI: Command Your Lark with CLI

The official open-source CLI tool for Lark/Feishu. 11 business domains, 200+ curated commands, 19 AI Agent skills. Let AI operate Lark for you and double your productivity.

MIT Open Source · Free to Use
5,900+ GitHub Stars

Why Choose Lark CLI

From command line to AI Agent, Lark CLI provides the most efficient Lark automation solution for individual users and developers.

11 Business Domains

Covers Calendar, Instant Messaging, Cloud Docs, Base (Bitable), Sheets, Tasks, Mail, Wiki, Drive, Contacts, and Video Conferencing. One tool for all Lark operations.

3-Tier Command Architecture

Quick commands (+ prefix) for daily use, API commands covering 100+ endpoints, and native API calls supporting 2,500+ Lark Open Platform interfaces for all complexity levels.

19 AI Agent Skills

Built-in 19 structured Skills deeply integrated with Claude Code, Cursor, Qwen Code, and other mainstream AI coding tools. AI Agents can operate Lark with zero configuration.

Multi-AI Tool Support

Native support for Claude Code, Qwen Code, Kimi Code, Cursor, and other mainstream AI coding tools. Let AI become your Lark super assistant.

Install and Go

One npm install command, scan to authorize, and you're ready. From installation to your first API call in just 3 minutes. Supports both NPM install and source compilation.

200+ Curated Commands

Every command is tested with real AI Agents. Clean parameters, smart defaults, structured output — covering all core Lark business scenarios.

MIT Open Source

Built with Go and Python, fully open-source under MIT license. 5,900+ GitHub Stars with an active community ecosystem and continuous updates.

Enterprise-Grade Security

Official OAuth authorization flow with multi-layer security: input injection protection, terminal output sanitization, system-level credential storage. Secure and reliable.

Tech Stack & Ecosystem

Go + Python
NPM Global Install
Claude Code
Cursor
Qwen Code
19 AI Skills
MIT License

Lark CLI Core Use Cases

From AI Agent collaboration to daily productivity boosts, Lark CLI fully automates your Lark workflows.

1

AI Agent Collaboration

Let AI operate Lark for you

Deep Claude Code integration
19 structured Skills
Zero-config ready
2

Daily Productivity Boost

Lightning-fast command-line operations

3

Wiki Management

AI-powered content organization

AI Agent Collaboration

Deeply integrated with Claude Code, Cursor, and other AI coding tools. AI Agents can automatically create tasks, send messages, manage schedules, and query meeting records — truly AI-driven Lark automation.

Enterprise-grade technical architecture, production-verified

Lark CLI Covers 11 Business Domains

One CLI tool to manage all your Lark workflows — from messaging to meetings, from docs to databases.

Messenger

Send messages, manage group chats, search conversations, download media

Cloud Docs

Create, edit, search documents with Markdown support

Base (Bitable)

Manage tables, fields, records, views, dashboards, and automations

Sheets

CRUD operations, data append, search, and export spreadsheets

Calendar

View agenda, create events, check availability, smart scheduling

Tasks

Create tasks, manage subtasks, set reminders, update status

Mail

Browse, search, read, compose, and manage email drafts

Wiki

Manage knowledge spaces, organize document hierarchy

Drive

Upload/download files, manage permissions, handle comments

Contacts

Search users by name, email, or phone, retrieve profiles

Meetings

Search recordings, retrieve transcripts, meeting minutes and action items

Three-Tier Command Architecture of Lark CLI

From quick shortcuts to full API access — Lark CLI adapts to every complexity level.

Quick Commands

+ prefix

User and AI Agent friendly, sensible defaults, formatted output

$ lark-cli calendar +agenda
$ lark-cli im +send --chat-id "oc_xxx" --text "Hello"
$ lark-cli task +create --title "Review PR"

API Commands

100+ endpoints

Auto-generated, curated commands mapped to platform API endpoints

$ lark-cli calendar calendars list
$ lark-cli im messages list --params '{...}'
$ lark-cli docs documents create --body '{...}'

Raw API Access

2500+ APIs

Direct access to all Lark Open Platform APIs for full flexibility

$ lark-cli api GET /open-apis/calendar/v4/calendars
$ lark-cli api POST /open-apis/im/v1/messages --body '{...}'

Real-World Use Cases of Lark CLI

See how teams and individuals use Lark CLI + AI Agents to automate real business workflows.

1

Meeting Follow-up Automation

AI Agent extracts action items from meeting transcripts, auto-creates tasks, assigns owners, and schedules follow-up meetings — all through Lark CLI commands.

"Extract action items from yesterday's product sync and create tasks for each owner"

2

Smart Multi-Timezone Scheduling

Agent analyzes all participants' calendars across time zones, finds optimal meeting windows, and sends calendar invites — saving hours of back-and-forth.

"Find a time next week when the NYC, London, and Beijing teams are all available"

3

Meeting Time Analytics Dashboard

Auto-categorize two weeks of calendar events, populate a Bitable, and generate a dashboard showing time allocation across projects and meeting types.

"Analyze my calendar for the past 2 weeks and build a time-tracking dashboard"

4

Intelligent Email Triage

Scan unread emails, prioritize by importance, push summaries of critical items to group chat, auto-archive low-priority messages, and draft responses.

"Review my unread emails, summarize important ones in the project group, draft replies"

更多使用场景和技巧,请关注我们的 博客

Lark CLI Getting Started Guide

From installation to first use — set up Lark CLI in 3 minutes and start commanding Lark from your terminal.

Install CLI

npm installStep 1

Install Lark CLI globally with a single NPM command. Source compilation is also available.

npm install -g @larksuite/clinpx skills add larksuite/cli -y -g

Scan to Authorize

Scan to LoginStep 2

Run lark-cli auth login, scan the QR code to authorize your Lark account, and select the permission scopes you need.

lark-cli auth loginSelect permission scopesOAuth secure authorization

Start Using

Start UsingStep 3

Operate Lark directly from the command line: check your calendar, send messages, create tasks, manage documents — everything at your fingertips.

lark-cli calendar +agendalark-cli im +sendlark-cli task +create

AI Agent Integration

Advanced UsageStep 4

After installing AI Agent Skills, tools like Claude Code can automatically operate Lark, enabling truly AI-driven workflows.

Claude Code integrationNatural language Lark operationsAutomated workflows

Explore More Scenarios

Unlimited PossibilitiesKeep Exploring

Meeting summaries, Wiki optimization, scheduled messages, batch operations... Lark CLI's capabilities go far beyond your imagination.

Meeting summariesWiki managementBatch operationsCustom workflows

Community

Join UsCommunity

Join the Lark CLI community, share use cases, participate in creator contests, and exchange best practices with fellow developers.

Creator contestsUse case sharingBest practicesCommunity contributions
More use cases and tips — follow our blog for updates...

Lark CLI at a Glance

0+
GitHub Stars
0
Business Domains
0+
Curated Commands
0
AI Agent Skills

Lark CLI Community

Real use cases and in-depth reviews from community members and KOLs

Lark CLI Creator Contest

Join the community, share your Lark CLI use cases, and win rewards.

Community Cases

Beginner

CLI Beginner's Guide

Everyday analogies to explain CLI concepts, helping non-programmers understand the difference between command line and GUI.

Features

Lark CLI Feature Overview

Complete user manual covering installation, initialization, user login, identity switching, and all core features.

Wiki

Organize Lark Wiki with CLI

Knowledge base reorganization plan: analyzed 31 child nodes and proposed consolidating into 7-10 categories.

Content

Auto-Generate In-Depth Articles

AI-driven research generating deep content covering 16 AI Builders' backgrounds, insights, and key perspectives.

Automation

Auto-Generate Event Plans

Complete event planning generated from meeting minutes, covering 3-day schedules and presentation segments.

Efficiency

Group Chat Content Curation

Automatically curate and organize valuable content from group chats into structured knowledge bases.

KOL In-Depth Reviews

"Lark CLI is now open source! I used Claude Code to tackle several enterprise scenarios — absolutely amazing! From calendar management to group message automation, CLI's efficiency is beyond imagination."

J
Jiamu
Tech KOL

"I let AI directly operate my Lark, and it turned out to be more proficient than me. The Lark CLI + Claude Code combo is the strongest enterprise productivity tool I've ever seen."

U
Uncle Huang
Tech Creator

"Lark CLI going open source opens the door for all AI tools. This isn't just a command-line tool — it's the infrastructure for the AI Agent era."

X
Xiaohu
Tech Commentator

"A comprehensive guide explaining what Lark and WeCom CLI are, how to use them, with 8 practical use cases from beginner to advanced."

L
Lengyi
Tech Blogger

Frequently Asked Questions about Lark CLI

One command to install, three minutes to get started. Let AI become your Lark super assistant and double your productivity.