lark-shared

Prevent lark-cli configuration, authentication, and high-risk operation errors with Feishu resources.

195|12|Updated Jul 19, 2026
One-click install
npx skills add https://github.com/ZJU-REAL/HugAgentOS --skill lark-shared-zju-real
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-shared
Source: https://github.com/ZJU-REAL/HugAgentOS/tree/main/src/backend/plugin_bundles/marketplace/feishu-cli/skills/lark-shared
Command: npx skills add https://github.com/ZJU-REAL/HugAgentOS --skill lark-shared-zju-real

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents configuration, identity, authorization, upgrade, and high-risk operation mistakes when using lark-cli to manage Feishu resources.

Core Features & Use Cases

  • Configuration and Authentication: Verify platform-managed app configuration and guide user authorization with the correct identity and minimum required scopes.
  • Permission and Identity Handling: Distinguish bot and user access, diagnose missing permissions, and forward authorization or console URLs exactly as returned.
  • Safety Guardrails: Protect secrets, prohibit unsupported in-container upgrades, require explicit confirmation for high-risk writes, and support dry-run previews.
  • Use Case: Use this Skill when a Feishu calendar or document operation returns a scope error, when switching between bot and user identities, or when a destructive command requires approval.

Quick Start

Ask the lark-shared skill to diagnose the lark-cli permission error and provide the safest authorization or configuration steps.

Frequently Asked Questions about lark-shared

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

FAQPage Schema
How do I fix Feishu permission scope errors when using lark-cli?

To fix Feishu permission scope errors, diagnose missing bot or user authorization scopes and guide user consent with the exact returned URL. Ensure platform-managed app credentials are configured correctly to resolve the scope failure.

How do I switch between bot and user identities for Feishu operations?

Switch between bot and user identities by distinguishing bot and user access for Feishu resources. Verify platform-managed app configuration and apply scoped user authorization to ensure the correct identity handles calendar and document operations.

How do I safely execute destructive lark-cli commands on Feishu resources?

Safely execute destructive lark-cli commands by requiring explicit confirmation for high-risk writes and utilizing dry-run previews. Protect secrets and prohibit unsupported in-container upgrades to prevent high-risk operation errors on Feishu resources.

Do I need platform-managed app credentials to authorize lark-cli?

Yes, platform-managed app credentials are required to authorize lark-cli. They verify configuration, protect secrets, and guide scoped user authorization with the correct identity for Feishu resource operations.

Why does my lark-cli configuration return an authentication error?

Your lark-cli configuration returns an authentication error due to incorrect platform-managed app configuration or missing user authorization. Diagnose identity and permission settings to ensure minimum required scopes are granted.

What is the safest way to handle lark-cli authorization for Feishu documents?

The safest way to handle lark-cli authorization is to use platform-managed app credentials, forward authorization URLs exactly as returned, and protect secrets. Apply minimum required scopes and explicit confirmation for high-risk document writes.