Skills2026年3月30日·1 分钟阅读

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.

Agent 就绪

这个资产会安全暂存

这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。

Stage only · 17/100策略:需暂存
Agent 入口
任意 MCP/CLI Agent
类型
CLI Tool
安装
Stage only
信任
信任等级:Community
入口
Lark CLI Skill: OpenAPI Explorer — Discover Raw APIs
安全暂存命令
npx -y tokrepo@latest install 2c090f9e-5344-4732-9992-59552675530f --target codex

先暂存文件;激活前需要读取暂存 README 和安装计划。

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.

常见问题

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).

引用来源 (3)
🙏

来源与感谢

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

Part of the Lark CLI Official Skills Collection on TokRepo.

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产