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.
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.
Frequently Asked Questions
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).
Citations (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
Related on TokRepo
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
Related Assets
code-simplifier — Anthropic Official Cleanup Subagent
Anthropic's open-source post-task cleanup agent that Boris Cherny runs after every Claude Code session. Refactors for clarity without changing behavior.
Ralph Wiggum — Anthropic Official Autonomous Loop Plugin
Official Anthropic plugin that turns Claude Code into an autonomous loop. Adds /ralph-loop and /cancel-ralph for long-running self-improving task execution.