feishu-send-message
通过 API 向飞书用户发送消息。当你需要通过手机号或任意用户 ID(open_id、user_id、union_id)向飞书用户发送消息时使用。自动尝试所有 ID 类型以找到有效的那个。 **新增**:消息长度指南和长内容多部分发送最佳实践!
Why use this skill?
Easily send rich-text and automated messages to Feishu users via OpenClaw. Supports phone numbers, user IDs, and smart formatting for professional communication.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lycohana/feishu-send-messageWhat This Skill Does
The feishu-send-message skill is a powerful utility designed to enable seamless communication between OpenClaw and the Feishu (Lark) ecosystem. It acts as an automated interface, allowing you to send messages to any user by utilizing their phone number or internal user identifiers (open_id, user_id, or union_id). The skill intelligently manages the authentication lifecycle, automatically retrieving the necessary tenant_access_token and intelligently routing message delivery based on the user's identification format. It supports both plain text and structured rich text (post) formats, making it ideal for everything from quick status updates to formatted notifications and reports.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/lycohana/feishu-send-message
Ensure that your ~/.openclaw/openclaw.json is properly configured with your Feishu appId and appSecret, and verify that your bot has the im:message:send_as_bot permission enabled within the Feishu Developer Console.
Use Cases
- Automated Notifications: Send automated alerts, system updates, or task completion notifications directly to team members.
- Data Reporting: Generate formatted daily digests or performance reports using the rich-text 'post' functionality for better readability.
- User Engagement: Trigger welcome messages or personalized content for users based on their phone number or unique organizational ID.
- Cross-Platform Bridge: Integrate terminal-based automation workflows with professional corporate messaging environments.
Example Prompts
- "Send a message to +8613560824490 saying that the scheduled cloud backups finished successfully."
- "Use the feishu-send-message skill to notify user ou_9876543 that their data analysis report is ready, include a link to the results."
- "Send a weather summary card to the marketing team lead with the current temperature and forecast details using the formatted post style."
Tips & Limitations
- Formatting: The tool automatically detects formatting. Include
#for headers or](for links to trigger the rich-text post format, which looks significantly cleaner in Feishu. - Performance: The skill caches user IDs in
~/.openclaw/workspace/configs/feishu-users.json. Subsequent messages to the same user will be much faster. - Message Length: If a message fails with a 400 error, it is likely too long. Break long content into multiple chunks or summarize your message.
- Visibility: Always ensure the target user is within the visible scope of your Feishu application; otherwise, the API will return a 403 or 'id not exist' error.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lycohana-feishu-send-message": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, file-write, external-api
Related Skills
siliconflow-vision
图片识别与分析工具。使用视觉大模型识别图片内容,输出详细客观的识别结果供主模型分析。当用户发图片时,主模型必须直接调用此 skill,然后基于识别结果进行分析和回答。支持 SiliconFlow(默认)、OpenAI、Anthropic 等多服务商。
moltbook-poster
Moltbook 代理社交网络工具集。用于发帖、评论、点赞、获取动态、管理私信等。发帖频率限制为每30分钟1篇,需要配置 configs/moltbook.json。
ssh
SSH 连接和管理远程服务器。使用 paramiko (Python) 库,支持在 Windows/Linux 上通过 SSH 执行远程命令、安装软件、查看日志等操作。