lark-shared

Automate Lark CLI configuration, authentication, and identity switching.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/erencoding/agent-skill-openclaw --skill lark-shared-erencoding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-shared
Source: https://github.com/erencoding/agent-skill-openclaw/tree/main/custom-skills/lark-shared
Command: npx skills add https://github.com/erencoding/agent-skill-openclaw --skill lark-shared-erencoding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams through configuring and using the Lark CLI for application setup, authentication, identity switching (--as user/bot), permission management, and safe error handling during initial configuration and daily use.

Core Features & Use Cases

  • Configuration initialization: step-by-step guidance to set up the Lark app and permissions on first use.
  • Authentication and identity switching: clear rules for switching between user and bot identities and performing actions under each identity.
  • Permission and scope management: guidance for requesting, granting, and validating required scopes and handling permission-denied scenarios.

Quick Start

Run lark-cli config init to begin app configuration, then follow the prompts to authorize the app and switch identities as needed.

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 and initialize app configuration?

To set up Lark CLI authentication, run lark-cli config init and follow the prompts to configure the app, authorize permissions, and switch identities. This initialization provides step-by-step guidance for first-time app setup and scope validation.

What is identity switching in Lark CLI and when do I need it?

Identity switching in Lark CLI allows you to perform actions under either user or bot contexts using the --as parameter. It is needed when managing permissions and executing tasks that require different authorization scopes between user and bot identities.

How do I handle permission denied errors during Lark CLI scope management?

To handle permission denied errors during Lark CLI scope management, use the explicit guidance and safety checks provided to validate required scopes. The workflow includes dry-run previews to safely navigate permission errors and secure secrets during authorization.

Can I preview Lark CLI permission changes before applying them?

Yes, you can preview Lark CLI permission changes using the built-in dry-run preview feature. This safety check allows you to verify scope management and identity switching actions before they are actually applied to your configuration.

Does Lark CLI workflow require any dependencies for secure secrets handling?

No external dependencies are required for secure secrets handling in Lark CLI workflows. The skill implements built-in safety checks and explicit guidance to manage permissions and secure secrets directly during configuration and identity switching.