← Back to Skills Marketplace
cosmofang

Feishu Cli Setup

by Cosmos Fang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
100
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-cli-setup
Description
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...
README (SKILL.md)

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?

Item Detail
Repo github.com/larksuite/cli
Latest v1.0.4
Commands 200+
Agent Skills 20 built-in (Calendar, IM, Docs, Base, Sheets, Tasks, Mail, Wiki, …)
License MIT
Install npm install -g @larksuite/cli

Scripts

Script Purpose
scripts/check.js Detect OS, Node.js version, and lark-cli install state
scripts/install.js Guide npm install -g @larksuite/cli + skills add
scripts/config.js Guide lark-cli config init --new — extracts browser URL for user
scripts/auth.js Guide lark-cli auth login --recommend — extracts OAuth URL for user
scripts/verify.js Run lark-cli auth status and summarize available Agent Skills
scripts/learn.js Show first commands to try (calendar, im, docs, tasks)
scripts/setup.js Full 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)

Skill Domain
lark-shared Auth, config, identity (auto-loaded)
lark-calendar Calendar, agenda, events
lark-im Messages, group chats, reactions
lark-doc Documents (Markdown)
lark-drive Files, uploads, downloads
lark-sheets Spreadsheets
lark-base Tables, records, views, dashboards
lark-task Tasks, subtasks, reminders
lark-mail Email (send, reply, search)
lark-contact User search by name/email/phone
lark-wiki Knowledge spaces & nodes
lark-event WebSocket event subscriptions
lark-vc Meeting records & minutes
lark-whiteboard Whiteboard/chart DSL
lark-minutes Meeting AI artifacts
lark-openapi-explorer API documentation explorer
lark-skill-maker Custom skill framework
lark-approval Approval tasks & workflows
lark-workflow-meeting-summary Meeting summary workflow
lark-workflow-standup-report Standup 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

Usage Guidance
This skill appears to be a legitimate installer/guide for the official lark-cli. Before running anything, verify you trust the upstream packages: check the npm package publisher for @larksuite/cli and the GitHub repo (https://github.com/larksuite/cli). Be cautious when performing global npm installs (avoid sudo if possible; follow npm permission guidance). When asked for App ID/Secret, paste them only into the local CLI prompt — do not paste secrets into public chats or repositories. Confirm that any authorization URL you receive is a legitimate feishu/larksuite domain before opening it. If you prefer less system-wide impact, you can install lark-cli locally instead of globally and avoid running npx skills add -g.
Capability Analysis
Type: OpenClaw Skill Name: feishu-cli-setup Version: 1.0.0 The skill bundle provides a structured, multi-step guide for an AI agent to install and configure the official Feishu/Lark CLI (lark-cli). The included Node.js scripts (e.g., setup.js, auth.js, install.js) act as prompt generators that instruct the agent to perform environment checks, execute npm installations, and handle OAuth authentication flows. The instructions are transparent, include security warnings regarding credential handling, and encourage the use of safety flags like --dry-run. No evidence of data exfiltration, malicious payloads, or intentional prompt injection was found.
Capability Tags
requires-oauth-token
Capability Assessment
Purpose & Capability
Name/description (Feishu/Lark CLI install + OAuth guidance) match the provided artifacts. The package includes prompt-generator scripts that produce step-by-step instructions for installing/configuring lark-cli and loading the 20 Agent Skills; these are appropriate for the stated goal.
Instruction Scope
SKILL.md and all scripts only instruct the agent to run local CLI commands (npm install, npx, lark-cli commands), extract authorization/config URLs from CLI output, and present them to the user. They explicitly require user browser interaction for OAuth and encourage --dry-run and user confirmation. The instructions do not direct reading unrelated system files or exfiltrating secrets.
Install Mechanism
There is no registry install spec; this is an instruction-only skill with helper scripts. The instructions recommend installing from npm (npm install -g @larksuite/cli) or building from the public GitHub repo — both are standard distribution channels. Note: global npm installs (-g) and the npx skills add command will modify the system/global agent skill list; that's expected but has system-wide impact.
Credentials
The skill requests no environment variables or credentials itself. It guides the user to provide LARK_APP_ID/LARK_APP_SECRET to the lark-cli (entered by the user) and explicitly warns not to share secrets publicly. Mention of LARK_CONFIG_FILE in troubleshooting is contextual and not required by the skill.
Persistence & Privilege
always:false and disable-model-invocation:false (normal). The guide instructs installing global skills (npx skills add -g) which makes the lark-* skills available to all agents on the host — this is expected for providing Feishu features but is a meaningful system-wide change the user should be aware of.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-cli-setup
  3. After installation, invoke the skill by name or use /feishu-cli-setup
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release. AI agent guide for installing lark-cli (飞书/Lark CLI) — covers environment check, npm install, Feishu app config (browser OAuth flow), auth login, and verification. Designed for Claude, Manus, and OpenClaw. Includes learn.js with first-steps examples for calendar, IM, docs, tasks, and contacts.
Metadata
Slug feishu-cli-setup
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.

How do I install Feishu Cli Setup?

Run "/install feishu-cli-setup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Feishu Cli Setup free?

Yes, Feishu Cli Setup is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Feishu Cli Setup support?

Feishu Cli Setup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Feishu Cli Setup?

It is built and maintained by Cosmos Fang (@cosmofang); the current version is v1.0.0.

💬 Comments