40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
# AI智能图片压缩技能
|
||
|
||
**GitHub**: [994ak/image-compress-skill](https://github.com/994ak/image-compress-skill) | **Gitea**: [mc-skills/994ak--image-compress-skill](http://192.168.0.109:3000/mc-skills/994ak--image-compress-skill)
|
||
|
||
## 中文摘要
|
||
|
||
为AI Agent提供智能图片压缩能力,可自动选择WebP或PNG格式,支持自动安装Rust引擎,并能直接处理远程图片URL,适用于需要批量优化图片资源的场景。
|
||
|
||
## 标签
|
||
|
||
`图片压缩` `AI技能` `WebP` `Rust` `skills.sh`
|
||
|
||
---
|
||
|
||
## README 原文
|
||
|
||
# ImageCompressSkill ⚡️
|
||
|
||
> **The intelligent image optimization skill for AI Agents.**
|
||
>
|
||
> This is the **Skill Definition** package for the [ImageCompressPro](https://github.com/994AK/ImageCompressPro) engine. It provides the prompts, strategy guides, and installation scripts for AI Agents (skills.sh compatible).
|
||
|
||
## 📦 Installation
|
||
|
||
```bash
|
||
# Install via skills.sh
|
||
npx skills add 994AK/image-compress-skill
|
||
```
|
||
|
||
## 🛠 Capabilities
|
||
|
||
When installed, your AI Agent gains the ability to:
|
||
1. **Smartly Compress**: Automatically choose between WebP (Photos) and PNG (Graphics).
|
||
2. **Install Engine**: Automatically fetch and compile the Rust engine if missing.
|
||
3. **Optimize URLs**: Process remote images directly.
|
||
|
||
## 📄 License
|
||
|
||
MIT
|