What problem does it solve? Configuring and authenticating the lark-cli against Feishu/Lark involves device-code OAuth flows, user-versus-bot identity choices, incremental scope grants, and structured JSON envelopes that are easy to misinterpret. This Skill centralizes the shared rules so every lark-cli operation starts from a correct, authorized, and safe state. ## Core Features & Use Cases - Guided setup and authentication: Runs lark-cli config init and split-flow auth login with --no-wait, generates QR codes for verification URLs, and completes device-code authorization in a later turn. - Identity and permission handling: Distinguishes user vs bot identities via --as, resolves missing scopes with domain- or scope-level incremental login, and routes bot permission gaps to the developer console URL. - Safe command execution: Enforces the JSON envelope contract (ok == true, not code == 0), handles the exit-10 high-risk-write confirmation gate with explicit user approval, and supports --dry-run previews. - Use Case: A user asks the agent to read their calendar, but the CLI reports a missing scope. The Skill initiates auth login --scope calendar:calendar:readonly --no-wait --json, shows the URL and QR code, then completes the device-code login after the user confirms. ## Quick Start Ask the agent to check your current lark-cli login status and identity, then authorize the calendar read scope if it is missing.