feishu-quick-setup
/install feishu-quick-setup
feishu-quick-setup
Module compatibility: Scripts are provided in both
.jsand.mjs. Prefer.mjs; if you get a module error, fall back to.js.
Create a Feishu Bot for the user by executing the commands below step by step. All script output is single-line JSON.
Runtime
- Command:
node - Resolve script paths relative to this SKILL.md directory to absolute paths before execution.
Steps
Step 1 — Check existing config
node "{script_dir}/quick-setup.mjs" --status
| Field | Action |
|---|---|
configured: true |
Tell the user Feishu is already configured (show appId), ask if they want to reconfigure |
configured: false |
Proceed to Step 2 |
Step 2 — Start registration
node "{script_dir}/quick-setup.mjs" --begin --domain "feishu"
--domain:feishu(mainland China, default) orlark(international)- On
error: false— you getverificationUrlanddeviceCode. Proceed to Step 3. - On
error: true— show the error message to the user and stop.
Step 3 — Show the link
Display the verificationUrl from Step 2 to the user as-is:
请点击以下链接完成飞书授权: {verificationUrl}
点击后在飞书中点击"确认创建"即可。
The correct link format is https://open.feishu.cn/page/openclaw?user_code=.... Do not modify or reconstruct the URL.
This flow uses a link, not a QR code.
After showing the link, proceed directly to Step 4 (no need to wait for user reply).
Step 4 — Poll for completion
node "{script_dir}/quick-setup.mjs" --poll --wait --timeout 300
The script polls internally every 5 seconds until the user completes authorization or the timeout (default 5 min) is reached.
| Result | Action |
|---|---|
status: "completed" |
Take appId and appSecret from the response, proceed to Step 5 |
status: "error", expired_token |
Link expired — restart from Step 2 |
status: "error", access_denied |
User denied the request — inform the user |
status: "timeout" |
Timed out — suggest the user retry |
Step 5 — Save config
node "{script_dir}/quick-setup.mjs" --save --app-id "APP_ID" --app-secret "APP_SECRET" --domain "feishu"
Replace APP_ID and APP_SECRET with the values from Step 4.
| Result | Action |
|---|---|
success: true |
Show the message field from the response to the user (it contains next-step instructions and a permissions link) |
success: false |
Show the failure reason to the user |
Notes
- Always use the commands above; do not call Feishu APIs directly or construct URLs manually.
- This skill creates a new app. For user-level OAuth on an existing app, use
feishu-authinstead. - Execute each step — do not skip steps or only describe them.
- Always show the
verificationUrlexactly as returned by the script.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-quick-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-quick-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
feishu-quick-setup 是什么?
One-click Feishu bot creation. Uses the Feishu App Registration API (Device Flow) to create a new Feishu Bot and save credentials to the OpenClaw config file... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。
如何安装 feishu-quick-setup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-quick-setup」即可一键安装,无需额外配置。
feishu-quick-setup 是免费的吗?
是的,feishu-quick-setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
feishu-quick-setup 支持哪些平台?
feishu-quick-setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 feishu-quick-setup?
由 HashSTACS-HK(@hashstacs-hk)开发并维护,当前版本 v1.0.2。