Feishu Connect for Openclaw

A specialized tool for establishing a direct connection between AI agents and Feishu robots via automated link generation and polling.

easelearnai
v1.0.0
Mar 21, 2026
0
758
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install feishu-connect

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install feishu-connect using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Feishu Connect?

Feishu Connect is a robust solution within the Openclaw Skills ecosystem designed to facilitate the rapid integration of Feishu robots. It bypasses traditional manual installation processes by utilizing a direct API-driven workflow to initiate registration sessions. This skill ensures that developers can connect, bind, and authorize Feishu bots with minimal friction.

The core value of this skill lies in its automated approach to handling OAuth registration and device polling. By generating specialized interaction links, it allows users to complete robot configuration directly within their browser, providing a bridge between the Openclaw Skills environment and the Feishu workspace.

Feishu Connect Use Cases

  • Connecting a new or existing Feishu robot to an AI agent.
  • Binding Openclaw Skills to a Feishu communication channel.
  • Creating and authorizing personal agent archetypes within Feishu.
  • Streamlining the OAuth registration process for enterprise collaboration tools.

How Feishu Connect Works

  1. The skill initiates a POST request to the Feishu registration endpoint to initialize a session.
  2. It triggers a begin action to generate a verification URI and device code.
  3. A specific tracking parameter is appended to the link to ensure compatibility with Openclaw Skills.
  4. The raw link is provided to the user for manual browser authorization.
  5. Upon user confirmation, the skill polls the Feishu API to retrieve the client credentials.
  6. The process concludes by directing the user to obtain a final pairing code from the robot within the Feishu app.

Feishu Connect Setup

To initialize the connection process, use the following bash commands to clear session cookies and start the registration flow:

# Clear previous session data
COOKIE_JAR=/tmp/feishu_cookies.txt
rm -f "$COOKIE_JAR"

# Initialize the registration session
curl -s -c "$COOKIE_JAR" -b "$COOKIE_JAR" \
  -X POST "https://accounts.feishu.cn/oauth/v1/app/registration" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "action=init"

Feishu Connect Data Schema & Taxonomy

The skill manages several key metadata fields and temporary files during the lifecycle of the connection:

Field Description
device_code A unique identifier used for polling the authorization status.
user_code A code extracted from the verification URI for user input.
verification_uri_complete The full URL for browser-based robot configuration.
client_id / client_secret The permanent credentials retrieved after successful polling.
/tmp/feishu_cookies.txt Temporary storage for session persistence during API calls.

Feishu Connect Advanced Features

  • Direct API interaction bypassing standard GUI installers for faster deployment.
  • Automated polling mechanism to detect user authorization state changes.
  • Support for PersonalAgent archetypes in the Feishu OAuth flow.
  • Seamless integration with the Openclaw Skills ecosystem using mandatory source tracking.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*