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 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。
npx -y tokrepo@latest install 2c090f9e-5344-4732-9992-59552675530f --target codex先暂存文件;激活前需要读取暂存 README 和安装计划。
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.
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.
How to use
- Install the Lark CLI:
npm install -g @larksuite/cli
- Install the skill:
npx skills add larksuite/cli -y -g
- Configure authentication:
lark-cli config init
lark-cli auth login --recommend
- 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
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
Related on TokRepo
- AI Tools for API Development -- explore API discovery and integration tools
- AI Tools for Automation -- discover workflow automation tools and platforms
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.
常见问题
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.
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.
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.
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.
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)
- Lark CLI GitHub— Lark CLI tool for Lark/Feishu platform integration
- Lark Open Platform— Lark Open Platform API documentation
- Lark Developer Docs— Lark/Feishu application development
TokRepo 相关
来源与感谢
Created by LarkSuite. Licensed under MIT. larksuite/cli — 4,100+ GitHub stars
Part of the Lark CLI Official Skills Collection on TokRepo.
讨论
相关资产
Lark CLI Skill: Skill Maker — Create Custom Skills
Lark/Feishu CLI skill for creating reusable custom skills. Wrap atomic APIs or orchestrate multi-step workflows.
Lark CLI Skill: Docs — Document Creation & Editing
Lark/Feishu CLI skill for cloud documents. Create from Markdown, read/update content, insert images, search documents.
Lark CLI Skill: Sheets — Spreadsheet Operations
Lark/Feishu CLI skill for spreadsheets. Create, read, write, append, find, and export spreadsheet data.
Lark CLI Skill: Wiki — Knowledge Base Management
Lark/Feishu CLI skill for knowledge base. Create and manage knowledge spaces, organize document nodes and shortcuts.