·canghe-compress-image
</>

canghe-compress-image

使用自动工具选择将图像压缩为 WebP(默认)或 PNG。当用户要求“压缩图像”、“优化图像”、“转换为 webp”或减小图像文件大小时使用。

65安装·5热度·@freestylefly

安装

$npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-compress-image

如何安装 canghe-compress-image

通过命令行快速安装 canghe-compress-image AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-compress-image
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:freestylefly/canghe-skills。

SKILL.md

查看原文

Compresses images using best available tool (sips → cwebp → ImageMagick → Sharp).

Scripts in scripts/ subdirectory. Replace ${SKILLDIR} with this SKILL.md's directory path.

┌────────────────────────────────────────────────────────┬───────────────────┐ │ Path │ Location │ ├────────────────────────────────────────────────────────┼───────────────────┤ │ .canghe-skills/canghe-compress-image/EXTEND.md │ Project directory │ ├────────────────────────────────────────────────────────┼───────────────────┤

使用自动工具选择将图像压缩为 WebP(默认)或 PNG。当用户要求“压缩图像”、“优化图像”、“转换为 webp”或减小图像文件大小时使用。 来源:freestylefly/canghe-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-compress-image
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from freestylefly/canghe-skills

快速解答

什么是 canghe-compress-image?

使用自动工具选择将图像压缩为 WebP(默认)或 PNG。当用户要求“压缩图像”、“优化图像”、“转换为 webp”或减小图像文件大小时使用。 来源:freestylefly/canghe-skills。

如何安装 canghe-compress-image?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-compress-image 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/freestylefly/canghe-skills