Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计提醒

claw2immichclaw2immich 搜索

Agent Skill

claw2immich 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

20,592

周安装

825

GitHub Stars

公开资料未说明

下载量

6,666
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install claw2immich

简介

claw2immich 用于通过 MCP 协议搜索 Immich 照片库中的图片资源。

  • 适合按人物、日期、地点或相册检索家庭或个人媒体资产。
  • 通过 clawhub 安装,支持共享链接下载与多格式导出。
  • 使用前需配置 Immich 服务器地址、认证凭据及存储配额。
  • 建议启用访问日志并定期检查权限分配是否符合最小原则。

SKILL.md

name
claw2immich
description
Work with Immich photo library via MCP (claw2immich) - search photos by people, dates, locations, albums. Download assets via shared links. Handles multi-person search, CLIP smart search, and metadata queries.
homepage
https://github.com/JoeRu/claw2immich
metadata
openclaw
emoji
📸
requires
mcp
[immich]

Immich Photo Library (via claw2immich)

Work with your Immich photo library via the claw2immich MCP server. Search by people, dates, locations, and albums. Download photos via shared links or inline base64. 249 tools available from the full Immich OpenAPI spec.

Prerequisites

  • Immich instance running (https://immich.app)
  • claw2immich MCP server installed and running

- Repository: https://github.com/JoeRu/claw2immich - Follow setup instructions in the repo README

  • MCP server configured in config/mcporter.json:
  {
    "mcpServers": {
      "immich": {
        "baseUrl": "http://your-claw2immich-host:port/sse"
      }
    }
  }

Key Tools

ToolDescription
immich_searchassetsMetadata search (date, people, location, etc.)
immich_searchsmartCLIP-based natural language search
immich_searchpersonFind person by name
immich_getassetinfoGet full asset details including web_url
immich_viewassetGet thumbnail/preview as base64 (WebP)
downloadAssetDownload asset via shared link (default) or inline base64
immich_getallpeopleList all people
immich_getallalbumsList all albums
immich_createsharedlinkCreate shared link for album/assets
tool_access_reportCheck which tools are available

Quick Start

Find people by name

mcporter call immich immich_searchperson query_name="Maria"

Search photos with multiple people (AND logic)

mcporter call immich immich_searchassets \
  'body_personIds=["person-uuid-1","person-uuid-2"]' \
  body_order=desc body_size=10

CLIP smart search (natural language)

mcporter call immich immich_searchsmart \
  body_query="sunset at the beach" body_size=5

Get asset info (includes web_url)

mcporter call immich immich_getassetinfo path_id=<asset-uuid>

Download a photo (shared link)

mcporter call immich downloadAsset asset_id=<asset-uuid>

Returns a short-lived shared link (30 min, no auth needed).

Get thumbnail for display

mcporter call immich immich_viewasset path_id=<asset-uuid> query_size=thumbnail

Returns {encoding: "base64", content_type: "image/webp", size_bytes: ..., data: "..."}.

Web URLs

Tool responses for assets, albums, people, and places include a web_url field:

  • Assets: https://<domain>/photos/<asset-id>
  • Albums: https://<domain>/albums/<album-id>
  • People: https://<domain>/people/<person-id>

This requires IMMICH_EXTERNAL_DOMAIN to be configured on the server.

Common Workflows

"Show me recent photos of X and Y together"

  1. Find person IDs:
   mcporter call immich immich_searchperson query_name="Alice"
   mcporter call immich immich_searchperson query_name="Bob"
  1. Search photos (AND logic):
   mcporter call immich immich_searchassets \
     'body_personIds=["alice-id","bob-id"]' \
     body_order=desc body_size=10
  1. Display a photo:
   mcporter call immich immich_viewasset path_id=<asset-id> query_size=thumbnail

Decode base64 data, save as .webp, send to user.

"Find vacation photos from summer 2024"

mcporter call immich immich_searchassets \
  body_createdAfter="2024-06-01T00:00:00Z" \
  body_createdBefore="2024-08-31T23:59:59Z" \
  body_city="Barcelona" body_order=desc

"Download a photo"

mcporter call immich downloadAsset asset_id=<asset-uuid>

Response:

{
  "delivery_mode": "shared_link",
  "download_url": "https://immich.example.com/share/<token>",
  "expires_in_minutes": 30,
  "requires_auth": false
}

The shared link can be sent directly to users — no auth required.

Displaying photos in chat

  1. Get thumbnail via immich_viewasset (query_size=thumbnail, typically < 30KB)
  2. Decode the base64 data field
  3. Save as .webp file
  4. Send via messaging tool

Note: preview size may exceed the 64KB MCP transport limit. Use thumbnail for reliable delivery.

Key Parameters

immich_searchassets (POST /api/search/assets)

Filtering:

  • body_personIds: ["uuid1", "uuid2"] — Photos with these people (AND)
  • body_city: "string" — Filter by city
  • body_country: "string" — Filter by country
  • body_createdAfter: "ISO8601" — Minimum date
  • body_createdBefore: "ISO8601" — Maximum date
  • body_isFavorite: boolean — Only favorites
  • body_albumIds: ["uuid"] — Filter by albums

Sorting & Pagination:

  • body_order: "desc" — Newest first
  • body_order: "asc" — Oldest first
  • body_size: number — Limit results
  • body_page: number — Page number

immich_searchsmart (POST /api/search/smart)

  • body_query: "string" — Natural language query (CLIP-based)
  • body_size: number — Limit results
  • Same filter parameters as searchassets

downloadAsset

  • asset_id: "uuid" — Asset to download

Delivery mode is controlled server-side via IMMICH_DOWNLOAD_ASSET_DELIVERY:

  • shared_link (default): Returns a tokenized shared link (30 min TTL, no auth)
  • inline_base64: Returns base64-encoded file data (limited by 64KB transport)
  • immich_link: Returns direct Immich URL (requires auth)

immich_viewasset (GET /api/assets/{id}/thumbnail)

  • path_id: "uuid" — Asset ID
  • query_size: "thumbnail"|"preview" — Image size

Returns structured base64 response. Use thumbnail to stay under transport limits.

Important Patterns

Multi-Person Search (AND)

Correct: Array in body_personIds

{"body_personIds": ["person-1", "person-2"]}

Wrong: Separate calls (that's OR, not AND)

Parameter Prefixes

All OpenAPI tool parameters use prefixes:

  • path_<name> — Path parameters
  • query_<name> — Query parameters
  • body_<name> — Body parameters (for POST endpoints)

Date Filtering

Always use ISO 8601: "2024-01-15T00:00:00Z"

64KB Transport Limit

MCP responses are truncated at 64KB. This affects:

  • downloadAsset with inline_base64 mode (use shared_link instead)
  • immich_viewasset with query_size=preview (use thumbnail instead)
  • Large search results (reduce body_size)

Access Profiles

Set IMMICH_PROFILE on the server to restrict tools:

  • read_only — Only GET endpoints (search, browse)
  • read_write — Read + write (upload, update, delete)
  • full_scope — Everything including admin

Use tool_access_report to check available tools.

Troubleshooting

No results with multiple people:

  • Verify person IDs (search each person first)
  • Add body_isArchived: false if photos might be archived

downloadAsset returns error:

  • Check tool_access_report for permissions
  • Shared link creation requires write access to shared-links API

Thumbnail too large:

  • Use query_size=thumbnail instead of preview
  • Thumbnails are typically 5-25 KB (WebP)

MCP call fails:

  • Verify server is running: mcporter call immich ping_server
  • Check config: mcporter list immich

Reference

  • Immich: https://immich.app
  • claw2immich: https://github.com/JoeRu/claw2immich
  • Immich API docs: https://immich.app/docs/api/

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.49%
按下载量换算5,832

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills