lark-openapi-explorer

Discovers native Feishu/Lark OpenAPI endpoints from official documentation and invokes them via lark-cli.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/TrayMachi/dotfiles --skill lark-openapi-explorer-traymachi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-openapi-explorer
Source: https://github.com/TrayMachi/dotfiles/tree/main/agents/skills/lark-openapi-explorer
Command: npx skills add https://github.com/TrayMachi/dotfiles --skill lark-openapi-explorer-traymachi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When existing lark-* skills or registered lark-cli commands cannot fulfill a request, this Skill locates the underlying native Feishu/Lark OpenAPI endpoint in the official documentation and calls it directly, so you are never blocked by missing CLI wrappers. ## Core Features & Use Cases - Layered Documentation Mining: Traverses the official llms.txt index, module documents, and individual API pages to find exact endpoint specifications without guessing. - Raw API Invocation: Executes discovered endpoints through lark-cli api with GET, POST, PUT, PATCH, and DELETE methods, including path parameters, query strings, and request bodies. - Safety Controls: Requires user confirmation before write or delete operations and never fabricates API paths or parameters. - Use Case: A user asks to add members to a Lark group chat, but lark-cli im has no such command. The Skill mines the docs to find POST /open-apis/im/v1/chats/:chat_id/members and invokes it with the correct payload. ## Quick Start Ask the assistant to find and call the native Feishu OpenAPI endpoint for a task that the existing lark-cli commands do not cover, such as setting a group chat announcement.

Frequently Asked Questions about lark-openapi-explorer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call a Feishu OpenAPI endpoint that has no CLI command?

Use lark-cli api with the HTTP method and path, for example lark-cli api POST /open-apis/im/v1/chats/:chat_id/members with a --data JSON payload. First mine the official docs to confirm the exact path, parameters, and required permissions.

How to find the right Lark OpenAPI endpoint for a task?

Start from the top-level index at open.feishu.cn/llms.txt or open.larksuite.com/llms.txt, then fetch the relevant module document, and finally the individual API markdown page. Never guess paths; always confirm against the official documentation.

Does lark-cli support both Feishu and Lark brands?

Yes, the documentation workflow supports both brands. Use open.feishu.cn for Feishu and open.larksuite.com for Lark; if the brand is unknown, default to Feishu. All documentation is written in Chinese and may need translation.

What permissions are needed to call native Lark OpenAPI endpoints?

Each API document lists the required permission scopes, which the Skill extracts during the mining step. Your app must have those scopes granted, and authentication follows the shared lark-shared configuration.

Is it safe to run write or delete API calls through lark-cli?

Write and delete calls (POST, PUT, DELETE) require explicit user confirmation before execution, and sensitive operations like removing members include an explanation of their impact. Use --dry-run to preview requests when supported.