← Back to Skills Marketplace
imbing

飞书群Webhook发送图片

by BING · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
300
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install feishu-image-webhook
Description
上传本地图片到飞书并通过 webhook 发送到群。使用方式:python send_image.py <图片路径>
README (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 文件提交到公开仓库
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-image-webhook
  3. After installation, invoke the skill by name or use /feishu-image-webhook
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
发布技能
Metadata
Slug feishu-image-webhook
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 飞书群Webhook发送图片?

上传本地图片到飞书并通过 webhook 发送到群。使用方式:python send_image.py <图片路径>. It is an AI Agent Skill for Claude Code / OpenClaw, with 300 downloads so far.

How do I install 飞书群Webhook发送图片?

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

Is 飞书群Webhook发送图片 free?

Yes, 飞书群Webhook发送图片 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 飞书群Webhook发送图片 support?

飞书群Webhook发送图片 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 飞书群Webhook发送图片?

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

💬 Comments