← 返回 Skills 市场
Image Manager
作者
xiaobu2020
· GitHub ↗
· v1.0.0
· MIT-0
176
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install image-manager
功能描述
Manage local images by category with original and thumbnail storage, enabling fast tag, date, and keyword search through a JSON index file.
使用说明 (SKILL.md)
Image Manager Skill
本地图片管理技能,支持索引、压缩、分类、快速查找。
功能
- 📁 分类存储:按类别(pets/people/food/scenery/receipts/other)自动归档
- 🔍 快速索引:基于 JSON 索引文件,支持按标签、日期、类别查找
- 🗜️ 压缩保存:原图 + 缩略图双存储,查看缩略图不影响原图画质
- 🏷️ 标签系统:每张图片可附加多标签,支持标签搜索
- 📊 摘要浏览:快速浏览某个类别/标签的所有图片
目录结构
media/
├── images/ # 原图(保持完整画质)
│ ├── pets/
│ ├── people/
│ ├── food/
│ ├── scenery/
│ ├── receipts/
│ └── other/
├── thumbnails/ # 缩略图(快速预览)
│ ├── pets/
│ ├── people/
│ └── ...
└── index.json # 全局索引文件
快速使用
保存图片
python scripts/save_image.py \x3Cimage_path> \
--category pets \
--tags "包子,白色,长毛" \
--description "包子坐在地上"
查找图片
# 按标签查找
python scripts/search_image.py --tags "包子"
# 按类别查找
python scripts/search_image.py --category pets
# 按日期查找
python scripts/search_image.py --date 2026-03-19
# 按关键词查找(搜索 description 和 tags)
python scripts/search_image.py --keyword "白色"
浏览摘要
python scripts/list_images.py --category pets
python scripts/list_images.py --tags "包子"
索引格式(index.json)
每条记录包含:
{
"id": "baozi-2026-03-19-001",
"path": "media/images/pets/baozi-2026-03-19-001.jpg",
"thumbnail": "media/thumbnails/pets/baozi-2026-03-19-001.jpg",
"category": "pets",
"tags": ["包子", "白色", "长毛"],
"description": "包子坐在地上",
"saved_at": "2026-03-19T22:33:00+08:00",
"source": "feishu",
"size_bytes": 88688,
"width": 1080,
"height": 1440
}
分类说明
| 类别 | 用途 |
|---|---|
| pets | 宠物照片 |
| people | 人物照片 |
| food | 美食/食物 |
| scenery | 风景/地点 |
| receipts | 小票/账单 |
| other | 未分类 |
设计原则
- 原图不动:保存时不做有损压缩,原图完整保留
- 缩略图预览:生成 300x300 缩略图用于快速浏览
- 索引优先:查找时只读索引文件,不遍历磁盘
- 标签灵活:一张图可有多个标签,标签可随时增删
安全使用建议
This skill is a local image manager and appears to only read/write under a workspace folder. Before installing: confirm where OPENCLAW_WORKSPACE will point (scripts default to /home/admin/.openclaw/workspace) so you know which directory will get media/index.json and image files; ensure you are comfortable the agent can write there. Note the scripts optionally use Pillow (PIL) to generate thumbnails — if not present they fallback to copying the image as a thumbnail. There are no network calls or secret access. If you need stricter isolation, run the scripts in a controlled directory or inspect index.json/media contents before trusting them.
功能分析
Type: OpenClaw Skill
Name: image-manager
Version: 1.0.0
The image-manager skill bundle is a legitimate tool for local image organization, indexing, and thumbnail generation. The scripts (save_image.py, list_images.py, search_image.py) operate strictly within the defined workspace, use standard libraries for image processing and file management, and contain no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description match the provided scripts: they index, store originals and thumbnails, and support tag/date/category search. Requested resources (filesystem under a workspace) are appropriate for the stated purpose.
Instruction Scope
SKILL.md directs running the provided Python scripts with local file paths and expected arguments. The runtime instructions do not ask the agent to read unrelated system files, send data externally, or perform privileged operations.
Install Mechanism
No install spec or external downloads; the skill is instruction + local scripts only. That minimizes installation risk (nothing is fetched or executed from remote URLs).
Credentials
The scripts read OPENCLAW_WORKSPACE (defaulting to /home/admin/.openclaw/workspace) but the skill metadata lists no required env vars. This is reasonable (an optional workspace override) but the env var is not declared in the manifest and the SKILL.md does not document it.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide agent settings. It writes only under its workspace media/ directory (index.json, images, thumbnails).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install image-manager - 安装完成后,直接呼叫该 Skill 的名称或使用
/image-manager触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Image Manager Skill v1.0.0
- Initial release with local image management capabilities.
- Supports automatic image categorization (pets, people, food, scenery, receipts, other).
- Features dual storage: original image and 300x300 thumbnail for quick preview.
- Provides fast search by tags, category, date, and keywords using a JSON index file.
- Allows multi-tag system and summary browsing by category or tag.
- Index records include metadata such as path, tags, description, date, source, and size.
元数据
常见问题
Image Manager 是什么?
Manage local images by category with original and thumbnail storage, enabling fast tag, date, and keyword search through a JSON index file. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 176 次。
如何安装 Image Manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install image-manager」即可一键安装,无需额外配置。
Image Manager 是免费的吗?
是的,Image Manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Image Manager 支持哪些平台?
Image Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Image Manager?
由 xiaobu2020(@xiaobu2020)开发并维护,当前版本 v1.0.0。
推荐 Skills