Image Manager

# Image Manager Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Image Manager" with this command: npx skills add image-manager

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 <image_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 缩略图用于快速浏览
  • 索引优先:查找时只读索引文件,不遍历磁盘
  • 标签灵活:一张图可有多个标签,标签可随时增删

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Table To Image

将 Markdown 表格转换为清晰图片。当用户说"表格看不清"、"生成图片"、"转成图片"时触发。

Registry SourceRecently Updated
4120Profile unavailable
General

Maliang Image

Generate images from text prompts or edit existing images with AI. Powered by Google Gemini via Maliang API. Free $6 credit on first use (~10 images). Suppor...

Registry SourceRecently Updated
4020Profile unavailable
General

Nano Banana 2 — Gemini Image Generation

Gemini image generation, editing, and search-grounded image creation via gemini-3.1-flash-image-preview (Nano Banana 2). USE FOR: - Generating images from te...

Registry SourceRecently Updated
5840Profile unavailable
General

WhatsApp Image Send

Send images, videos, audio, or documents via WhatsApp by downloading, copying to workspace, sending, and cleaning up temporary files.

Registry SourceRecently Updated
6850Profile unavailable