What problem does it solve? Setting up and authenticating lark-cli against the Feishu (Lark) platform involves confusing identity types, OAuth device flows, scope permissions, and high-risk operation gates. This Skill guides an AI agent through correct initialization, login, and error recovery so users avoid common pitfalls like bot/user identity mismatches and permission-denied errors. ## Core Features & Use Cases - Configuration & Authentication: Initializes lark-cli config, runs split-flow device authorization with QR code generation, and switches between user and bot identities via --as. - Permission & Error Recovery: Diagnoses scope errors using permission_violations and console_url, performs incremental scope authorization, and handles exit-code-10 high-risk-write confirmation gates with --yes retry protocol. - Update & Safety Rules: Detects _notice.update fields to prompt CLI updates, enforces secret-handling rules, relative-path constraints, and --dry-run previews for dangerous operations. - Use Case: A user asks the agent to read their Feishu calendar but hits a permission error; the Skill directs the agent to run lark-cli auth login --scope ... --no-wait --json, present the QR code, and complete device-code authorization in a follow-up turn. ## Quick Start Ask the agent to set up lark-cli and log in with the calendar read scope so it can access your Feishu calendar.