← 返回
未分类 Key

Feishu Cli Setup

Step-by-step AI agent guide for installing and configuring lark-cli (飞书/Lark CLI). Designed for Claude, Manus, and OpenClaw to proactively guide users throug...
分步AI代理指南,用于安装和配置lark-cli(飞书/Lark CLI)。为Claude、Manus和OpenClaw设计,主动引导用户...
cosmofang
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 381
下载
💾 0
安装
1
版本
#latest

概述

Feishu CLI Setup

An AI-native installation guide for lark-cli — the official Lark/Feishu CLI tool (6.7k ⭐, maintained by larksuite). Enables Claude, Manus, and OpenClaw to proactively guide users from zero to a fully authenticated lark-cli in minutes.

> Why does this skill exist? Installing lark-cli involves a browser OAuth step that AI agents cannot complete on behalf of users. This skill provides the exact prompts and workflows for agents to extract authorization URLs from CLI output and present them to users at the right moment — making the otherwise tricky setup seamless.

What is lark-cli?

ItemDetail
--------------
Repogithub.com/larksuite/cli
Latestv1.0.4
Commands200+
Agent Skills20 built-in (Calendar, IM, Docs, Base, Sheets, Tasks, Mail, Wiki, …)
LicenseMIT
Installnpm install -g @larksuite/cli

Scripts

ScriptPurpose
-----------------
scripts/check.jsDetect OS, Node.js version, and lark-cli install state
scripts/install.jsGuide npm install -g @larksuite/cli + skills add
scripts/config.jsGuide lark-cli config init --new — extracts browser URL for user
scripts/auth.jsGuide lark-cli auth login --recommend — extracts OAuth URL for user
scripts/verify.jsRun lark-cli auth status and summarize available Agent Skills
scripts/learn.jsShow first commands to try (calendar, im, docs, tasks)
scripts/setup.jsFull guided pipeline — runs all steps in sequence

Usage

# Full guided setup (recommended)
node scripts/setup.js

# Individual stages
node scripts/check.js          # detect current state
node scripts/install.js        # install lark-cli
node scripts/config.js         # configure Feishu app credentials
node scripts/auth.js           # authenticate via OAuth
node scripts/verify.js         # verify and list available skills
node scripts/learn.js          # first commands guide

# Language options
node scripts/setup.js --lang en
node scripts/setup.js --lang zh    # default

Agent Workflow (4 Steps)

Step 1 — Install
  npm install -g @larksuite/cli
  npx skills add larksuite/cli -y -g

Step 2 — Configure app credentials (run in background, extract URL → send to user)
  lark-cli config init --new

Step 3 — Login (run in background, extract URL → send to user)
  lark-cli auth login --recommend

Step 4 — Verify
  lark-cli auth status

20 Built-in Agent Skills (after setup)

SkillDomain
---------------
lark-sharedAuth, config, identity (auto-loaded)
lark-calendarCalendar, agenda, events
lark-imMessages, group chats, reactions
lark-docDocuments (Markdown)
lark-driveFiles, uploads, downloads
lark-sheetsSpreadsheets
lark-baseTables, records, views, dashboards
lark-taskTasks, subtasks, reminders
lark-mailEmail (send, reply, search)
lark-contactUser search by name/email/phone
lark-wikiKnowledge spaces & nodes
lark-eventWebSocket event subscriptions
lark-vcMeeting records & minutes
lark-whiteboardWhiteboard/chart DSL
lark-minutesMeeting AI artifacts
lark-openapi-explorerAPI documentation explorer
lark-skill-makerCustom skill framework
lark-approvalApproval tasks & workflows
lark-workflow-meeting-summaryMeeting summary workflow
lark-workflow-standup-reportStandup report workflow

Security Notes

lark-cli runs under your Feishu/Lark user identity. Keep these in mind:

  • Do not share your LARK_APP_ID / LARK_APP_SECRET in public repos
  • Use --dry-run for commands with side effects before executing
  • Do not add the bot to group chats if you want to avoid permission exposure
  • Credentials are stored in the OS native keychain (not plaintext)

Version: 1.0.0 · Source: github.com/larksuite/cli · Updated: 2026-04-05

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 12:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Robot Id Card

cosmofang
Bot 身份认证标准 — 为 AI Agent 与机器人签发加密身份证书,使网站信任你的 bot。遵循 RFC 9421 HTTP 消息签名标准,兼容 Cloudflare Web Bot Auth 生态。内置 Ed25519 签名注册中心
★ 0 📥 388

Daily Brain

cosmofang
每日脑力训练:逻辑推理、数学速算、记忆挑战、文字谜题,游戏化精美卡片呈现,难度自适应分级,连续打卡追踪。每天一道精选题目锻炼大脑,保持思维敏捷。
★ 0 📥 430

Automatic Skill

cosmofang
每日技能自动工厂——让OpenClaw和Claude完全自主地完成调研、设计、生成、测试并发布全新技能,全程无需人工介入。内置十阶段流水线(Research → Design → SEO → Create → Review → Self‑R
★ 0 📥 445