AI Agent Hub
Back to skills
Feishu Quick Setup icon

Feishu Quick Setup

IT Ops & Security Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_3ad8e894/feishu-quick-setup.

About this skill

Problem Addressed

Setting up a Feishu application often involves creating the app, understanding credentials, and manually copying configuration. It is easy to confuse creating an app with authorizing an existing app. @user_3ad8e894/feishu-quick-setup targets the narrower task of guiding a model through a fixed Feishu app initialization flow. Instead of making arbitrary Feishu API calls, it constrains registration, authorization confirmation, and credential storage into repeatable steps.

How It Works

  • Check existing configuration: first determine whether Feishu is already configured; if an appId exists, ask whether to reconfigure.
  • Start registration: use the domestic feishu or international lark domain, then obtain verificationUrl and deviceCode.
  • Poll for confirmation: after displaying the returned link unchanged, poll until the result is completed, error, expired_token, access_denied, or timeout.
  • Save configuration: once appId and appSecret are returned, write them and display the script-provided message.

The flow emphasizes executing the provided commands, parsing JSON responses, avoiding manual URL construction, and not switching to ordinary OAuth user authorization.

Boundaries

It is useful for quickly creating a Feishu app and storing credentials, especially when the setup process should be standardized. It is not intended for debugging fine-grained app permissions, building custom API integrations, or complex organization management. If the link expires, the user denies creation, or polling times out, the process should restart from registration. Treat the returned credentials and permission notes as the source of truth.

Use Cases

  • Before integrating a Feishu bot into a new project, complete app registration, authorization confirmation, and App ID and Secret storage.
  • When an assistant already has Feishu config but needs an international Lark app, restart registration and update credentials based on polling results.
  • When debugging a failed Feishu setup, follow config check, registration, confirmation polling, and credential storage to locate the blocker.
  • When connecting an internal tool to Feishu Open Platform, avoid manual URL building or OAuth misuse by running the fixed registration flow.

Best For

  • Engineers integrating internal tools who need standardized Feishu app creation and credential storage.
  • Ops engineers maintaining AI assistant integrations who need fewer manual app creation and credential errors.
  • Consultants delivering Feishu bot solutions who need a reviewable authorization and setup path for clients.
  • Technical leads building office automation who need credentials obtained from the official registration link rather than manual construction.