← 返回 Skills 市场
imbing

飞书群Webhook发送图片

作者 BING · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
300
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-image-webhook
功能描述
上传本地图片到飞书并通过 webhook 发送到群。使用方式:python send_image.py <图片路径>
使用说明 (SKILL.md)

飞书图片 Webhook 技能

将本地图片上传到飞书,然后通过 webhook 发送到群。


安装配置

1. 配置参数

复制配置模板并填入您的实际配置:

cp config.example.py config.py

询问一下参数并跟新到 config.py 文件:

APP_ID = "cli_xxx"           # 飞书应用 ID
APP_SECRET = "xxx"           # 飞书应用密钥
WEBHOOK_URL = "https://open.feishu.cn/open-apis/bot/v2/hook/xxx"  # 群机器人 Webhook 地址

2. 安装依赖

pip install requests

使用方式

python send_image.py \x3C图片路径>

示例

python send_image.py /Users/xxx/Desktop/test.png
python send_image.py ~/Pictures/photo.jpg

工作流程

  1. 上传图片到飞书,获取 image_key
  2. 通过 webhook 发送图片到群

注意事项

  • 图片格式支持:jpg、png、gif
  • 需要确保飞书应用有 im:image 权限
  • webhook 地址需要群机器人配置正确
  • 请勿将 config.py 文件提交到公开仓库
安全使用建议
This skill appears to do exactly what it says. Before installing/running: 1) Only supply APP_ID and APP_SECRET for an app you control; keep config.py private and do not commit it to repos. 2) Verify the WEBHOOK_URL is the official Feishu group webhook you intend to use (the webhook could be any URL you provide). 3) Test with non-sensitive images first. 4) Install the requests package in a controlled environment (consider a virtualenv) and pin versions if you need reproducible installs. If you need higher assurance, inspect or run the script locally rather than trusting a remote run.
功能分析
Type: OpenClaw Skill Name: feishu-image-webhook Version: 1.0.0 The skill is a legitimate utility for uploading local images to Feishu (Lark) and sharing them via webhooks. It uses official Feishu API endpoints (open.feishu.cn) for authentication and image uploading, and the code logic in send_image.py is transparent, well-structured, and strictly follows the stated purpose without any signs of data exfiltration or malicious execution.
能力评估
Purpose & Capability
Name/description, SKILL.md, and code all match: the script needs APP_ID, APP_SECRET and a WEBHOOK_URL to upload an image to Feishu and send it to a group. There are no unrelated credentials, binaries, or unexpected capabilities requested.
Instruction Scope
Runtime instructions are limited and specific: create config.py from the template, install the requests package, and run python send_image.py <image_path>. The code reads only the local image file and the local config.py and makes network calls to Feishu's official API (open.feishu.cn) and to the user-provided webhook URL. It does not access other system files, env vars, or external endpoints.
Install Mechanism
No install spec included; this is instruction-only with two small Python files. The only dependency is requests (installed via pip), which is proportional to the task and low risk.
Credentials
The only secrets/configuration required are APP_ID, APP_SECRET, and WEBHOOK_URL, which are necessary for Feishu API access and webhook posting. These are declared in the config template and used by the code; the request for them is proportional. Note: APP_SECRET is sensitive and stored in plaintext in config.py.
Persistence & Privilege
The skill does not request persistent/always-on privileges, does not modify other skills or global configs, and is user-invocable only. It does not perform autonomous background actions beyond the one-shot run.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-image-webhook
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-image-webhook 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
发布技能
元数据
Slug feishu-image-webhook
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

飞书群Webhook发送图片 是什么?

上传本地图片到飞书并通过 webhook 发送到群。使用方式:python send_image.py <图片路径>. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 300 次。

如何安装 飞书群Webhook发送图片?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-image-webhook」即可一键安装,无需额外配置。

飞书群Webhook发送图片 是免费的吗?

是的,飞书群Webhook发送图片 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

飞书群Webhook发送图片 支持哪些平台?

飞书群Webhook发送图片 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 飞书群Webhook发送图片?

由 BING(@imbing)开发并维护,当前版本 v1.0.0。

💬 留言讨论