← Back to Skills Marketplace
lhq2103387078

Feishu Send Msg

by lhq2103387078 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
51
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-send-msg
Description
发送消息到飞书。当用户提到"发飞书消息"、"给飞书发消息"、"发送消息到飞书"、"发消息到飞书"等时使用。
README (SKILL.md)

飞书发送消息

发送方法

使用 message 工具(推荐)

发送消息只需要一个简单的工具调用:

message(
    action="send",
    channel="feishu",
    message="消息内容",
    target="\x3CUSER_OPEN_ID>"
)

参数说明

参数 必须 说明
action 固定为 "send"
channel 固定为 "feishu"
message 消息内容(文本)
target 接收者的 open_id,格式:ou_xxx

发送步骤

  1. 调用 message 工具,传入 channel=feishu 表示发往飞书
  2. target 填入接收者的 open_id
  3. message 填入要发送的文本内容
  4. 工具自动将消息投递到飞书

示例代码

# 发送普通文字消息
message(
    action="send",
    channel="feishu",
    message="你好,这是一条测试消息",
    target="\x3CUSER_OPEN_ID>"
)

# 发送多行消息
message(
    action="send",
    channel="feishu",
    message="第一行\
第二行\
第三行",
    target="\x3CUSER_OPEN_ID>"
)

open_id 说明

  • open_id 是飞书用户的唯一标识
  • open_id 是应用相关的,同一个用户在不同的应用下有不同的 open_id
  • 发送消息时需要使用当前应用下的 open_id

故障排除

发送失败:need_user_authorization

  • 原因:应用没有获得以用户身份发消息的权限
  • 解决:用户需要在飞书里给应用授权(发送"授权"或类似指令给机器人)

发送失败:open_id cross app

  • 原因:使用的 open_id 不是当前应用的
  • 解决:使用正确应用下的 open_id

发送失败:权限不足

  • 原因:应用缺少 im:message.send_as_user 权限
  • 解决:在飞书开放平台给应用开通该权限

技术原理

  • 通过 message 工具发送,机器人身份投递
  • 不需要获取 token 或用户授权(机器人权限即可发送)
  • 消息显示为机器人发送的消息

注意事项

  1. 飞书消息工具:使用 message 工具,channel 设为 feishu
  2. 不要混淆:不要使用 feishu_im_user_message 工具(该工具需要飞书会话上下文,从网页端调用会失败)
  3. 发送者身份:通过 message 工具发送的消息显示为机器人身份
Usage Guidance
Review this skill before installing. It appears non-executable and purpose-aligned, but it should clarify whether messages are sent as a bot or user, narrow activation to explicit send requests, and require confirmation before sending message text or open_id values to Feishu.
Capability Assessment
Purpose & Capability
The core capability, sending a text message to a Feishu recipient by open_id using a message tool, matches the stated purpose.
Instruction Scope
The trigger phrases are broad for an external-send action, and the instructions do not require confirmation of recipient and message before transmission.
Install Mechanism
The package contains only a single non-executable SKILL.md file, with no scripts, dependencies, or hidden install behavior identified.
Credentials
Sending message content and recipient identifiers to Feishu is expected for the purpose, but the skill does not clearly warn users about that external data flow.
Persistence & Privilege
No persistence is present, but the permission model is materially inconsistent: troubleshooting references user authorization and im:message.send_as_user while the technical section says bot delivery requires no token or user authorization.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-send-msg
  3. After installation, invoke the skill by name or use /feishu-send-msg
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of feishu-send-msg - Send text messages to Feishu users via a simple message tool call. - Supports specifying recipient by Feishu user's open_id. - Provides clear usage instructions, troubleshooting steps, and key requirements for permissions. - Includes example code for sending single and multi-line messages. - Clarifies difference between open_id and Feishu app context.
Metadata
Slug feishu-send-msg
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Feishu Send Msg?

发送消息到飞书。当用户提到"发飞书消息"、"给飞书发消息"、"发送消息到飞书"、"发消息到飞书"等时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.

How do I install Feishu Send Msg?

Run "/install feishu-send-msg" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Feishu Send Msg free?

Yes, Feishu Send Msg is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Feishu Send Msg support?

Feishu Send Msg is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Feishu Send Msg?

It is built and maintained by lhq2103387078 (@lhq2103387078); the current version is v1.0.0.

💬 Comments