SkillsMar 30, 2026·1 min read

Lark CLI Skill: OpenAPI Explorer — Discover Raw APIs

Lark/Feishu CLI skill to explore native OpenAPIs from official docs. Find and call raw APIs not yet wrapped by the CLI.

TL;DR
A Lark CLI skill that lets you explore and call native Lark/Feishu OpenAPIs directly, including endpoints not yet wrapped by the CLI.
§01

What it is

The OpenAPI Explorer skill for Lark CLI gives developers access to native Lark/Feishu OpenAPIs from official documentation. It lets you discover and call raw API endpoints that are not yet wrapped by the Lark CLI tool. This fills the gap when the CLI does not cover a specific Lark platform capability.

Developers building integrations with Lark/Feishu, teams automating workflows on the Lark platform, and engineers who need access to newer APIs before they get CLI wrappers use this skill to bridge the gap between the CLI and the full API surface.

§02

How it saves time or tokens

The Lark platform has hundreds of API endpoints covering messaging, calendar, documents, approval, and more. The CLI wraps only a subset. Without this skill, accessing unwrapped APIs requires reading documentation, constructing HTTP requests manually, and handling authentication. This skill lets the AI agent discover endpoints, understand parameters, and generate correct API calls automatically.

§03

How to use

  1. Install the Lark CLI:
npm install -g @larksuite/cli
  1. Install the skill:
npx skills add larksuite/cli -y -g
  1. Configure authentication:
lark-cli config init
lark-cli auth login --recommend
  1. Explore APIs through the CLI agent:
> Find the API for creating a Lark document
> Call the messaging API to send a card to a group chat
> List all available approval endpoints
§04

Example

# Install and configure
npm install -g @larksuite/cli
npx skills add larksuite/cli -y -g
lark-cli config init
lark-cli auth login --recommend

# In an AI agent session:
> Explore the Lark Base (Bitable) API endpoints
> Call the API to list all tables in a specific Bitable app
> Find the endpoint for updating approval instance status

# The skill discovers endpoints from official docs
# and generates correct authenticated API calls
§05

Related on TokRepo

§06

Common pitfalls

  • Authentication must be configured before making API calls. Run lark-cli auth login to set up your app credentials and obtain access tokens.
  • Some APIs require specific application permissions. Check the permission requirements in the Lark Open Platform documentation before calling an endpoint.
  • Rate limits apply to all Lark APIs regardless of how you call them. The skill does not bypass platform rate limits.

Frequently Asked Questions

What is the Lark CLI OpenAPI Explorer skill?+

It is a skill for the Lark CLI that enables discovery and invocation of native Lark/Feishu OpenAPI endpoints. It covers APIs that the CLI tool has not yet wrapped, giving developers access to the full Lark platform API surface through an AI agent interface.

Which APIs can I access with this skill?+

You can access any endpoint available in the Lark Open Platform API documentation, including messaging, calendar, documents, Bitable (spreadsheets), approval workflows, and more. The skill discovers endpoints dynamically from official documentation.

How does the skill differ from using the Lark CLI directly?+

The Lark CLI provides wrapped commands for common operations. This skill extends the CLI by enabling access to raw API endpoints that do not have CLI wrappers yet. The AI agent handles endpoint discovery, parameter construction, and authentication automatically.

Do I need a Lark developer account?+

Yes. You need a Lark Open Platform application with appropriate API permissions. Create an app at the Lark Open Platform console, configure permissions for the APIs you need, and use the app credentials with lark-cli auth login.

Does this skill work with Feishu as well as Lark?+

Yes. Lark is the international version and Feishu is the China version of the same platform. The skill supports both, with endpoint URLs differing based on your configuration (open.larksuite.com for Lark, open.feishu.cn for Feishu).

Citations (3)
🙏

Source & Thanks

Created by LarkSuite. Licensed under MIT. larksuite/cli — 4,100+ GitHub stars

Part of the Lark CLI Official Skills Collection on TokRepo.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets