← Back to Skills Marketplace
big-dust

img-upload

by big-dust · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
121
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install img-upload
Description
将本地图片上传到 img.scdn.io 免费图床并返回公开链接。适用于用户需要把图片变成可分享 URL、上传生成结果、上传截图、上传本地图片供外链引用,或明确要求免费图床、图床、图片外链、分享链接时。若任务中已经有本地图片文件,且下一步需要分享、引用、粘贴到文档、消息或网页中,应优先考虑此技能。
README (SKILL.md)

img-upload

将本地图片上传到 img.scdn.io 图床,并返回可公开访问的图片链接。

适用场景

  • 用户发送图片后,需要上传并返回分享链接
  • 生成图片后,需要得到外链
  • 截图、本地图片需要插入文档、网页、消息或工单
  • 用户明确提到“图床”“图片外链”“上传图片拿链接”“给我一个可访问 URL”

用法

python skills/img-upload/upload.py \x3C图片路径> [cdn_domain]

参数

  • 图片路径:本地图片文件路径
  • cdn_domain:可选,指定 CDN 域名

示例

# 上传单张图片
python skills/img-upload/upload.py /path/to/image.jpg

# 指定 CDN 域名
python skills/img-upload/upload.py /path/to/image.jpg img.scdn.io

返回

  • url:图片公开访问链接
  • delete_url:删除链接(可用于删除图片)

注意事项

  • 上传前应确认文件存在且是图片
  • 返回的 delete_url 也属于敏感控制信息,不要随意外发
  • 如果用户只是要本地处理图片,而不需要公网链接,不要多余使用此技能
Usage Guidance
This skill appears to do what it claims: it uploads a specified local image file to img.scdn.io and returns a public URL and a deletion URL. Before using it, consider: (1) Do not upload sensitive or private images — uploads are public and could be stored by the CDN. (2) Treat the returned delete_url as sensitive control info and store/handle it securely. (3) Ensure the runtime has Python and the 'requests' library installed; the skill does not provide an installer. (4) If you need an auditable or private storage solution, prefer a trusted paid CDN or your own storage rather than a public free image host. (5) As with any remote upload, review img.scdn.io's terms/privacy if you have compliance concerns. If you want extra assurance, run the script with a non-sensitive test image first and inspect the network target and response.
Capability Analysis
Type: OpenClaw Skill Name: img-upload Version: 0.1.0 The skill facilitates the upload of local files to an external third-party service (img.scdn.io). While the code in upload.py is a standard implementation of a file-upload client using the requests library, the instructions in SKILL.md aggressively prompt the AI agent to 'prioritize' this skill whenever a local image is present. This combination of high-risk file exfiltration capability and a strong behavioral nudge to use it increases the likelihood of unintentional data leakage to a third-party endpoint.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md and the bundled upload.py all consistently implement uploading a local image to img.scdn.io and returning the public URL and delete URL. No unrelated services, credentials, or binaries are requested.
Instruction Scope
Runtime instructions tell the agent to run the included Python script with a local image path; the script reads the specified file and POSTs it to https://img.scdn.io/api/v1.php. This is exactly what the skill claims to do. Note: uploading transmits the image off-host (public by design), so sensitive images would be exposed. The SKILL.md warns that the delete_url is sensitive.
Install Mechanism
There is no install spec (instruction-only with a bundled script), which is low risk. However the script imports the third‑party Python package 'requests' but the skill does not declare that dependency or provide an install step — users must ensure 'requests' is available in the runtime environment.
Credentials
The skill declares no environment variables, no credentials, and does not read other config or environment state. This is proportionate to its purpose.
Persistence & Privilege
The skill is not marked always:true and is user-invocable. It does not request persistent system privileges or modify other skills' configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install img-upload
  3. After installation, invoke the skill by name or use /img-upload
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
首次发布:补充标准 frontmatter、中文触发描述与免费图床相关触发词。
Metadata
Slug img-upload
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is img-upload?

将本地图片上传到 img.scdn.io 免费图床并返回公开链接。适用于用户需要把图片变成可分享 URL、上传生成结果、上传截图、上传本地图片供外链引用,或明确要求免费图床、图床、图片外链、分享链接时。若任务中已经有本地图片文件,且下一步需要分享、引用、粘贴到文档、消息或网页中,应优先考虑此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 121 downloads so far.

How do I install img-upload?

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

Is img-upload free?

Yes, img-upload is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does img-upload support?

img-upload is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created img-upload?

It is built and maintained by big-dust (@big-dust); the current version is v0.1.0.

💬 Comments