这是 Lark/飞书官方出的命令行工具,专门给人类和 AI 智能体用的。它覆盖了消息、文档、多维表格、表格、幻灯片、日历、邮件、任务、会议等 18 个业务领域,提供了 200 多条命令和 26 个 AI 智能体技能。最大的特点是天生为 AI 设计,内置 24 个结构化技能,能直接兼容主流 AI 工具,让智能体零配置操作 Lark。每条命令都经过真实智能体测试,参数简洁、输出结构化,调用成功率很高。开源 MIT 协议,安装很简单,npm install 一下就行,三分钟就能跑起来。适合需要让 AI 自动操作飞书做办公自动化的团队,或者想用命令行高效管理飞书各项功能的开发者。
查看英文原文
lark cli 中文版 English The official Lark/Feishu CLI tool, maintained by the larksuite team — built for humans and AI Agents. Covers core business domains including Messenger, Docs, Base, Sheets, Slides, Calendar, Mail, Tasks, Meetings, Markdown, and more, with 200+ commands and 26 AI Agent Skills. Install · AI Agent Skills · Auth · Commands · Advanced · Security · Contributing Why lark cli? Agent Native Design — 24 structured Skills out of the box, compatible with popular AI tools — Agents can operate Lark with zero extra setup Wide Coverage — 18 business domains, 200+ curated commands, 26 AI Agent Skills AI Friendly & Optimized — Every command is tested with real Agents, featuring concise parameters, smart defaults, and structured output to maximize Agent call success rates Open Source, Zero Barriers — MIT license, ready to use, just npm install Up and Running in 3 Minutes — One click app creation, interactive login, from install to first API call in just 3 steps Secure & Controllable — Input injection protection, terminal output sanitization, OS native keychain credential storage Three Layer Architecture — Shortcuts (human & AI friendly) → API Commands (platform synced) → Raw API (full coverage), choose the right granularity Features Category Capabilities 📅 Calendar View, create and update events, invite attendees, find meeting rooms, RSVP to invitations, check free/busy & time suggestions 💬 Messenger Send/reply messages, create and manage group chats, view chat history & threads, search messages, download media 📄 Docs Create, read, update, and search documents, read/write media & whiteboards 📁 Drive Upload and download files, search docs & wiki, manage comments 📝 Markdown Create, fetch, patch, and overwrite Drive native .md files 📊 Base Create and manage tables, fields, records, views, dashboards, workflows, forms, roles & permissions, data aggregation & analytics 📈 Sheets Create, read, write, append, find, and export spreadsheet data 🖼️ Slides Create and manage pr