What problem does it solve?
This skill documents how to initialize and manage Lark (Feishu) CLI application configuration, perform authentication flows, switch identities between user and bot, and resolve permission scope errors so agents and users can operate lark-cli safely and effectively.
Core Features & Use Cases
- Configuration Initialization: Guidance for starting the app configuration flow and extracting authorization links from backgrounded CLI commands so users can complete setup.
- Authentication & Identity Management: Rules for when to use user vs bot identities, how to perform auth login for user scopes, and how bot identity behaves without interactive login.
- Permission Handling and Maintenance: How to interpret permission_violations, use developer console links to grant scopes, handle update notices embedded in CLI JSON output, and enforce security rules that prevent leaking secrets.
- Use case: An AI agent initiates an auth login in the background, extracts the returned authorization URL, sends it to the user, and then guides scope adjustments in the developer console while avoiding exposing credentials.
Quick Start
Run lark-cli config init --new in the background, capture the authorization link from its output, and send the link to the user so they can complete the configuration.