Token导航 LogoToken导航

Agent Skill · 图像处理

image-tiny-compress(图像微小压缩)

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

image-tiny-compress 是图像处理类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在图像处理类的 1,562 个 Skill 里排第 730。

总安装 3,045周安装 122GitHub Stars 公开资料未说明下载 986核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:image-tiny-compress(图像微小压缩)
来源仓库:https://github.com/aga-j/image-tiny-compress
安装命令:
openclaw skills install image-tiny-compress
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install image-tiny-compress

这个 Skill 是做什么的

图像处理类 Skill 处理生成、裁剪、压缩和批量转换图片的任务。

使用 TinyPNG/Tinify API 免费压缩 PNG、JPEG、WebP 图像。适用于优化网页加载速度或减少存储占用场景。支持单个、批量或目录级图像处理,无需 API 密钥或登录。注意压缩可能影响图像质量,建议预览后再使用。

安装方式:clawhub;宿主:OpenClaw;命令:openclaw skills install image-tiny-compress

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install image-tiny-compress;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

image-tiny-compress 怎么安装?

在终端执行 openclaw skills install image-tiny-compress。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

image-tiny-compress 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

image-tiny-compress 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

image-tiny-compress 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

image-tiny-compress 用的人多吗?

公开数据是累计安装 3,045 次,近一周安装 122 次,下载 986 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

image-tiny-compress 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理图像处理类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

图像处理类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
ai-image-generation

AI 图像生成 · Codex、Claude

4,365,552382调用外部服务未明确有提醒
openai-image-gen

OpenAI 图像生成 · OpenClaw

1,906,88432需要联网MIT-0有提醒
image

图像 · OpenClaw

525,99926需要联网MIT-0通过
baoyu-cover-image

宝玉封面图 · Codex、Claude

474,24016,779只读MIT有提醒
baoyu-image-gen

宝玉图像生成器 · Codex、Claude

468,00716,778接触敏感数据MIT通过
image-tiny-compress

图像微小压缩 · 本页

3,045—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
TinyCompress
description
Compress PNG, JPEG, WebP images using TinyPNG/Tinify free web API. No API key required, no login needed. Supports single/batch/directory compression with automatic retry and rate-limit handling.
version
1.0.0
metadata
openclaw
emoji
🗜️
homepage
https://tinypng.com
requires
bins
install
package
requests

TinyCompress — Smart Image Compression

<description> Use when: compressing images, optimizing image file size, reducing image size, tinypng, tinify, compress image, compress png, compress jpeg, compress webp, image optimization, shrink image, 压缩图片, 图片压缩, 图片优化, 图片瘦身, 减小图片体积 NOT for: image resizing/cropping, format conversion, image editing, video compression </description>

Overview

TinyCompress uses TinyPNG/Tinify's free web API to perform high-quality lossy compression on PNG, JPEG, and WebP images. No API key, no login, no payment required.

Key Features:

  • Free — no API key or registration needed
  • Supports PNG, JPEG, WebP formats
  • Max 5MB per image, up to 20 images per batch
  • Supports global server (tinypng.com) and China server (tinify.cn)
  • Auto retry with exponential backoff on failure
  • Rate-limit friendly with built-in request delays
  • Typical compression: 50%~80% size reduction with near-zero visual quality loss

Prerequisites

  • Python 3.6+ must be installed
  • requests library: pip install requests
  • Network access to tinypng.com or tinify.cn

Usage

1. Single Image Compression

When a user uploads or specifies one image:

python "{SKILL_DIR}/scripts/tiny_compress.py" compress "<image_path>"

Use China server for faster speed in China:

python "{SKILL_DIR}/scripts/tiny_compress.py" compress "<image_path>" --server cn

Output: generates <filename>_compressed.<ext> in the same directory.

2. Batch Compression

When a user provides multiple images:

python "{SKILL_DIR}/scripts/tiny_compress.py" compress "<file1>" "<file2>" ... --output-dir "<output_dir>"

3. Directory Compression

When a user specifies a directory:

python "{SKILL_DIR}/scripts/tiny_compress.py" compress-dir "<dir_path>" --output-dir "<output_dir>"

Add --recursive to include subdirectories.

4. Overwrite Mode

When user explicitly wants to replace original files:

python "{SKILL_DIR}/scripts/tiny_compress.py" compress "<file>" --overwrite

⚠️ Warning: Overwriting is irreversible. Always warn the user and suggest backup first.

Script Reference

scripts/tiny_compress.py

SubcommandDescription
compress <files...>Compress one or more image files
compress-dir <dir>Compress all images in a directory
ParameterDescriptionDefault
--output-dir <dir>Output directorySame dir with _compressed suffix
`--server cn\global`Server selectionglobal
--overwriteOverwrite original filesfalse
--recursiveRecurse into subdirectories (compress-dir only)false

How it works:

  • Upload endpoint: POST https://tinypng.com/backend/opt/shrink (or tinify.cn/backend/opt/shrink)
  • Uploads raw image binary → server returns compression info + download URL → downloads compressed image
  • Uses randomized User-Agent and X-Forwarded-For headers
  • Serial processing with 1.5s delay between requests to avoid rate limiting
  • Auto retry up to 3 times with exponential backoff

Output format (per image):

{
  "success": true,
  "file": "original_path",
  "output": "output_path",
  "original_size": 1234567,
  "compressed_size": 345678,
  "saved_bytes": 888889,
  "saved_percent": 72.0
}

Examples

User: "Compress this image" (uploads photo.png)
Agent: runs compress on photo.png → returns photo_compressed.png with stats

User: "Compress all images in ./screenshots"
Agent: runs compress-dir ./screenshots → returns compressed versions

User: "Use China server, compress these 3 photos"
Agent: runs compress with --server cn on all 3 files

Limitations

  • Max 5MB per image (TinyPNG web limit)
  • Max 20 images per batch
  • This uses TinyPNG's web frontend endpoint (not official API), may change without notice
  • High-frequency requests may be temporarily rate-limited
  • Does not support AVIF, GIF, BMP formats
  • Uploaded images are auto-deleted from TinyPNG servers after 48 hours

Important Notes

  • Privacy: Images are uploaded to TinyPNG servers for processing. Do NOT upload images containing sensitive/personal information.
  • Fair Use: This method simulates web browser access. Use responsibly, avoid excessive automated calls.
  • Network: Requires access to tinypng.com or tinify.cn.
  • Alternative: For heavy batch processing, consider registering for TinyPNG's official API key (500 free compressions/month).

平台分布

OpenClaw

74.57%
按下载量换算735

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills