← 返回 Skills 市场
433
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-img-send
功能描述
飞书图片发送 - 使用API直接发送图片到飞书 / Send images to Feishu via API
使用说明 (SKILL.md)
飞书图片发送 / Feishu Image Sender
通过飞书开放平台API发送图片。
使用方法 / Usage
命令行
# 发送图片
./scripts/send.sh \x3C图片路径> \x3C用户ID>
# 示例
./scripts/send.sh /tmp/test.png ou_xxxxxxxx
Python
from feishu_image import FeishuImageSender
sender = FeishuImageSender()
sender.send_image("/tmp/test.png", "ou_xxxxxxxx")
配置 / Configuration
脚本已内置APP_ID和APP_SECRET,无需额外配置。
原理 / How It Works
- 获取 tenant_access_token
- 上传图片到飞书获取 image_key
- 使用 image_key 发送图片消息
API调用
POST /open-apis/auth/v3/tenant_access_token/internal
POST /open-apis/im/v1/images
POST /open-apis/im/v1/messages
权限要求
- im:resource
- im:message
更新日志
- v1.0.0: 初始版本
安全使用建议
This skill will upload whatever image file you pass to it to Feishu using the APP_ID/APP_SECRET embedded in the bundle. Before installing or running it: 1) Understand that your images will be uploaded to the publisher's Feishu app/tenant (possible privacy leakage). 2) Prefer a version that asks you to provide your own APP_ID/APP_SECRET (via environment vars or config) so uploads occur under your credentials. 3) If you must use this package, avoid sending sensitive images. 4) Consider asking the publisher who controls the Feishu app and whether the embedded credentials are intended for public use; if not, do not use it. 5) If you are the owner of the embedded credentials, rotate them immediately and replace the hardcoded secrets with configurable env vars. 6) Verify the Feishu app's permissions (im:resource, im:message) and audit recipients to prevent misuse.
功能分析
Type: OpenClaw Skill
Name: feishu-img-send
Version: 1.0.0
The skill bundle contains hardcoded sensitive credentials (APP_ID and APP_SECRET) within scripts/send.sh and scripts/feishu_image.py. While the code performs its stated function of sending images to the Feishu API, hardcoding secrets is a major security vulnerability that could lead to unauthorized access or credential leakage, though no clear evidence of intentional malice or data exfiltration was found.
能力评估
Purpose & Capability
Name/description match the implementation: both the Python and shell scripts call Feishu APIs to obtain a tenant token, upload an image, and send a message. However, the implementation relies on embedded app credentials rather than using credentials provided by the user, which is a design choice that should be explicit to users.
Instruction Scope
Runtime instructions and scripts only read the provided image path and target user ID and call Feishu endpoints. They do not attempt to read unrelated files, environment variables, or other system state. No evidence of exfiltration to endpoints outside Feishu.
Install Mechanism
No install spec — instruction-only with small helper scripts. Nothing is downloaded or written to disk by an installer. This is low install risk.
Credentials
The code embeds an APP_ID and APP_SECRET directly in both the Python and shell scripts rather than declaring required credentials or asking the user to supply their own. This is disproportionate from a privacy/credential perspective: user images will be uploaded under the publisher's Feishu app/tenant and the included secret is exposed in the skill bundle.
Persistence & Privilege
The skill does not request persistent presence (always=false) and does not modify other skills or system-wide settings. It runs only when invoked.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-img-send - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-img-send触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of feishu-image-sender (v1.0.0)
- Send images to Feishu users via API from shell or Python
- No extra configuration needed (includes app credentials)
- Supports image uploading and direct message sending via Feishu open platform
元数据
常见问题
Feishu Img Send 是什么?
飞书图片发送 - 使用API直接发送图片到飞书 / Send images to Feishu via API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 433 次。
如何安装 Feishu Img Send?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-img-send」即可一键安装,无需额外配置。
Feishu Img Send 是免费的吗?
是的,Feishu Img Send 完全免费(开源免费),可自由下载、安装和使用。
Feishu Img Send 支持哪些平台?
Feishu Img Send 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Img Send?
由 BOMBFUOCK(@bombfuock)开发并维护,当前版本 v1.0.0。
推荐 Skills