lark-shared

Automate Lark CLI setup, authentication, and identity switching for user and bot contexts.

3|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/agent-pilot/agent-pilot-be --skill lark-shared-agent-pilot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-shared
Source: https://github.com/agent-pilot/agent-pilot-be/tree/main/backend/skills/lark-shared
Command: npx skills add https://github.com/agent-pilot/agent-pilot-be --skill lark-shared-agent-pilot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides secure, centralized setup and authentication for the Lark CLI across user and bot identities, reducing configuration friction and permission errors.

Core Features & Use Cases

  • Configuration initialization with lark-cli config init to bootstrap app settings.
  • Authentication and identity switching between user and bot identities (e.g., lark-cli auth login, --as user|bot).
  • Permission and scope management, with clear guidance for resolving missing permissions and handling permission-denied errors.
  • Safety-focused prompts and remediation steps to avoid credential leakage and ensure proper domain/scope scoping during login.

Quick Start

Run lark-cli config init to begin the setup and follow prompts to authorize and configure scopes.

Frequently Asked Questions about lark-shared

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

FAQPage Schema
How do I set up Lark CLI authentication for user and bot identities?

To set up Lark CLI authentication, initialize app settings with lark-cli config init, then use lark-cli auth login with the --as user or --as bot flag to switch contexts and authorize scopes.

Why am I getting permission denied errors during Lark CLI login?

Permission denied errors during Lark CLI login occur when required scopes are missing. The workflow provides proactive remediation steps, requiring explicit scope or domain inputs to resolve missing permissions safely.

How do I manage permission scopes in Lark CLI?

Manage Lark CLI permission scopes by providing explicit scope or domain inputs during the login flow. This ensures proper authorization scoping and helps avoid permission-denied errors in operational scenarios.

Is it safe to use Lark CLI for authentication configuration?

Yes, Lark CLI authentication is safe because the workflow enforces safe practices by requiring explicit scope or domain inputs during login and providing remediation steps to prevent credential leakage.

Can I switch between user and bot identities in Lark CLI?

Yes, you can switch between user and bot identities in Lark CLI using the auth login command with the --as parameter, allowing centralized identity management across different operational contexts.