闲社服务运行正常AI智能体自动化平台
r

反向图片搜索

技能标识:reverse-image-search

Reverse image search (find image source, visually similar images). Use when user provides an image and wants to find its origin, similar images, or verify authenticity. Supports Yandex, Google Lens, and Bing engines. Works with both URLs and local files. No API key required.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

反向图片搜索

反向图片搜索

使用反向图片搜索引擎查找任意图片的来源、相似图片或上下文信息。

环境配置

首次使用时,创建Python虚拟环境并安装依赖:

bash
SKILL_DIR=$(dirname SKILL.md)
python3 -m venv $SKILL_DIR/scripts/.venv
$SKILLDIR/scripts/.venv/bin/pip install -q PicImageSearch typingextensions

此处包含typing_extensions是因为当前PicImageSearch的导入路径在该机器的Python 3.14运行时中需要此依赖。

使用方法

bash
SKILL_DIR=$(dirname SKILL.md)
$SKILLDIR/scripts/.venv/bin/python3 $SKILLDIR/scripts/search.py <图片URL或路径> [搜索引擎] [结果数量]

  • - 图片URL或路径:HTTP(S)网址或本地文件路径
  • 搜索引擎:yandex(默认,最可靠)、google(Google Lens路径)、bing或all
  • 结果数量:每个引擎的最大结果数(默认:10)

输出为JSON格式,包含匹配结果,包括标题、URL、缩略图及相似度(如可用)。

如果所有选定的引擎因上游爬虫故障或反机器人响应而失败,脚本将以非零状态退出,以便调用方可以重试或回退,而不是将此次运行视为完全成功。

对于Yandex的严重故障,错误对象包含attemptlog和diagnostics(包括/tmp中的debughtml_path文件),以便检查收到的具体响应变体。

引擎选择

  • - yandex — 整体最佳:最稳定,擅长查找精确匹配和相似图片
  • google — 通过PicImageSearch使用Google Lens;适合作为辅助来源
  • bing — 适合作为补充来源
  • all — 先运行yandex,仅在Yandex结果不足时回退到Google Lens和Bing

典型工作流程

  1. 1. 用户提供图片(URL或文件附件)
  2. 首先使用yandex运行搜索
  3. 仅当yandex结果不足时,使用all重试
  4. 汇总发现:来源、上下文、相似图片

除非用户明确要求同时使用所有引擎,否则不要以all开始。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 yandex-image-search-1776023665 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 yandex-image-search-1776023665 技能

通过命令行安装

skillhub install yandex-image-search-1776023665

下载

⬇ 下载 reverse-image-search v1.0.0(免费)

文件大小: 5.21 KB | 发布时间: 2026-4-13 12:40

v1.0.0 最新 2026-4-13 12:40
Initial release of reverse-image-search skill.

- Offers reverse image search using Yandex, Google Lens, and Bing—no API key required.
- Supports both image URLs and local files as input.
- Returns JSON with source links, similar images, titles, and thumbnails.
- Automatically logs diagnostics and debug data for Yandex failures.
- Allows users to choose specific engines or search all; defaults to Yandex for best reliability.
- Fails with a clear error if all engines are blocked or broken, allowing retry/fallback logic.
返回顶部