ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified communication Safety 4/5

feishu-img-msg

飞书图片消息操作技能,当触发飞书发送图片时自动调用本技能。 支持上传图片、发送图片消息、获取图片内容。 Activate when user mentions: 飞书发图、发送图片、上传图片、获取图片、下载图片、image_key。

Why use this skill?

Automate image uploads, downloads, and distribution on Feishu with OpenClaw. Support for base64 analysis and multi-format image handling.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/imbing/feishu-img-msg
Or

What This Skill Does

The feishu-img-msg skill is a comprehensive automation tool designed for the OpenClaw AI agent to manage image operations within the Feishu (Lark) ecosystem. It acts as a bridge between your local file system and Feishu's messaging infrastructure, allowing the AI to seamlessly upload, retrieve, send, and analyze image assets. Whether you are automating business reports that require screenshots or simply sharing media with team members, this skill handles the heavy lifting of API authentication and file stream management. It specifically supports standard formats like JPEG, PNG, GIF, BMP, and WebP up to 30MB.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/imbing/feishu-img-msg Ensure your OpenClaw configuration has the necessary Feishu bot credentials properly set up in the environment variables or configuration files to permit the im:message and im:resource scopes.

Use Cases

  1. Automated Report Dispatch: Automatically upload local charts or logs as images and send them to a specific project group channel.
  2. AI-Driven Visual Analysis: Retrieve an image received in a chat via its image_key, convert it to base64, and pass it to a vision-enabled AI model for content interpretation.
  3. Centralized Media Backup: Automatically pull images sent by users into a local directory for archival purposes or persistent storage.

Example Prompts

  1. "飞书发图:把我的本地文件 /data/chart.png 发送到群组 oc_12345。"
  2. "获取 image_key 为 img_98765 的图片,并保存到我的桌面文件夹。"
  3. "解析一下这张图片的内容,我提供给你 image_key 为 img_55555。"

Tips & Limitations

  • Chat ID Prefixes: Always distinguish between oc_ (groups) and ou_ (individual users). Using the incorrect prefix will result in a 400 error.
  • Image Sizes: The API enforces a 30MB limit per image. Ensure local files are compressed if they exceed this size to prevent upload failures.
  • Bot Permissions: Ensure the bot is a member of the target group before attempting to send messages, otherwise the API call will be rejected due to insufficient permissions.

Metadata

Author@imbing
Stars2287
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-imbing-feishu-img-msg": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#feishu#lark#image-automation#bot-development#messaging
Safety Score: 4/5

Flags: network-access, file-write, file-read, external-api