Skip to main content
skill CX Codex

linkfox-ruiguan-trademark-graphic-detection — Claude Code skill

linkfox-ruiguan-trademark-graphic-detection — a skill for Claude Code detects graphic trademarks and logos in product photos, then searches for similar registered marks. It runs during pre-listing image risk checks.

MIT 230 installs ★ 125 updated 2026-11-11

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a claude-code
Open on GitHub

What linkfox-ruiguan-trademark-graphic-detection does

The skill locates a possible logo in a product image and compares it with registered trademark records for selected regions. Results include visual similarity, mark status, office, owner, Nice classes, and radar risk.

A public image URL can be sent directly. For a local photo, python scripts/upload_image.py uploads the file before scripts/ruiguan_trademark_graphic_detection.py runs the search. Product context, a suspected logo name, and target regions can be added to the request. Radar mode costs 106 compute units per call, while the mode without radar costs 71; the service requires LINKFOX_AGENT_API_KEY or LINKFOXAGENT_API_KEY. This skill does not cover text-only mark searches, trademark filings, patent or copyright checks, disputes, or Listing optimisation.

What it helps with

  • locate a logo in a product photo
  • compare an image mark with registered trademarks
  • screen a product for risks in the US and EU
  • show matching marks with status, owner, and Nice classes
  • surface radar risk before a product listing goes live

Example prompts for the agent

  • Check this product photo for similar graphic trademarks.
  • Search for matching marks for the logo in this image, limited to the US and EU.
  • Review this local product photo and show detected logos with radar risk.

How to install linkfox-ruiguan-trademark-graphic-detection

1Skills CLI (Vercel)

npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a claude-code

2Manually: put the files in place

~/.claude/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/linkfox-ruiguan-trademark-graphic-detection/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about linkfox-ruiguan-trademark-graphic-detection

How do I install linkfox-ruiguan-trademark-graphic-detection in Claude Code?

Run npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a claude-code, then check ~/.claude/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md.

What does linkfox-ruiguan-trademark-graphic-detection do?

It detects graphic marks and logos in product images, searches regional trademark records for similar registrations, and reports similarity, status, owner, Nice classes, and radar risk.

What do I need to check a local product photo?

Provide an image file and, if useful, the product title, suspected logo name, and target regions. The local file is uploaded with python scripts/upload_image.py, and its public URL is then used for detection.

Source text

SKILL.md · MIT
---
name: linkfox-ruiguan-trademark-graphic-detection
description: 检测产品图片中的图形商标与 Logo,搜索多个国家和地区的相似注册商标,展示相似度、商标状态、权利人、尼斯分类和雷达风险信息。适用于上架前图片商标筛查、图形商标相似度分析及指定地区风险排查,支持本地产品图片。纯文字商标搜索、商标注册申请、专利或版权检查、商标争议法律咨询及 Listing 优化不适用。
---
# 睿观图形商标检测

## 适用范围

### 适用

将产品图片中的图形或 Logo 与注册商标数据库比对,帮助电商卖家和品牌方识别上架前的潜在商标风险。用户说“检查产品能否销售”时,只有关注点是图片图形或 Logo 的商标风险才使用本技能。

**场景速查**

| 用户表达 | 查询场景 |
| -------- | -------- |
| 检查这张图片有没有商标问题 | 产品图片商标筛查。 |
| 这个 Logo 在哪些地方注册过 | 多地区相似商标搜索。 |
| 找与这张图形相似的商标 | 图形相似度分析。 |
| 只查美国和欧盟的商标 | 指定地区检测。 |
| 扫描产品照片里的 Logo | 定位疑似商标并查看匹配。 |
| 这是本地产品照片,检查商标风险 | 先上传图片,再执行检测。 |

### 边界

不处理无图片的文字商标查询、商标注册或申请、专利与版权检查、商标争议法律咨询及商品 Listing 优化。

## 接口清单

| 接口 | 端点 | 对应脚本 | 说明 |
|---|---|---|---|
| 图形商标检测 | POST `/ruiguan/trademarkGraphicDetection` | `scripts/ruiguan_trademark_graphic_detection.py` | 定位疑似 Logo 并比对各地区图形商标。 |
| 获取图片上传预签名地址 | POST `/oss/file/presignedPut` | `scripts/upload_image.py` | 获取临时上传地址;脚本随后向对象存储 PUT 图片并返回公开 URL。 |

## 前置条件

准备产品图片,按需补充产品标题、疑似 Logo 名称和目标地区。图片访问要求、地区范围及上传格式见 `references/api.md`。

## 检测流程

1. 确认用户希望筛查的产品图片与地区范围;没有指定地区时按接口默认范围处理。
2. 若用户提供本地图片路径,先执行 `python scripts/upload_image.py <本地图片路径>`,从标准输出 JSON 取得公开 URL;已提供公开图片 URL 时直接使用。
3. 按 `references/api.md` 整理检测参数,运行 `scripts/ruiguan_trademark_graphic_detection.py`;按需启用定位切图、补充产品与 Logo 上下文。
4. 读取响应摘要,需要详细字段时从已保存的 JSON 提取,按下方展示规则解释匹配和雷达结果。
5. 失败或结果不足时依据响应解释原因,可建议换清晰图片、核对地区或调整返回数量;后续调用遵守成本约束和接口参考中的高消耗确认规则。

## 执行方式

- **直接调用接口**:接口端点、完整参数、响应和错误码见 `references/api.md`。
- **脚本调用(推荐)**:`python <脚本路径> '<JSON 参数>' [--inline] [--no-cache]`。
- **成本约束**:图形商标检测每次消耗为雷达开启 106 算力、关闭 71 算力。同一会话、同一参数组合默认只调用一次,脚本提供 24 小时本地缓存。失败或空结果时,不得自动更换关键词、翻页或修改邮编连续试探;需要继续检索时,先向用户说明额外消耗。

### 输出策略

- 始终保存完整响应,目标路径为 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-ruiguan-trademark-graphic-detection[-<接口标识>]-<timestamp>.json`。`<cwd>` 为脚本运行时的工作目录,`<session>` 优先取环境变量 `SESSION_ID`,用于聚合同一任务的数据。禁止写入 `/tmp`,当前目录不可写时应报错。
- 响应体不超过 8000 字节:保存后,将完整 JSON 打印到标准输出。
- 响应体超过 8000 字节:保存后,标准输出仅展示摘要,包括顶层字段、常见计数及消耗字段(如 `total`、`costToken`)、最大列表字段的长度和前 3 条样本。
- 添加 `--inline` 可强制全量打印到标准输出,同时仍保存文件。

先通过摘要判断数据是否足够。需要具体字段时,优先使用 `jq` 或 `ConvertFrom-Json` 从保存的 JSON 文件按需提取,避免将整份响应载入上下文。

## 执行规则

### 算力消耗预估

雷达检测开启时每次消耗 106 算力,未开启时每次消耗 71 算力;以实际返回及扣除为准。

**声明**:算力消耗以实际扣除为准;如因需要调整算力消耗标准,恕不另行通知。最终解释权归 LinkFox 官方所有。

用户会因算力消耗而支付费用。需要高频调用或用户对消耗量预期不足时,提醒用户,并由用户决定是否继续。

### 解决认证和算力问题

出现以下情况时,按 `references/onboarding.md` 的指引处理:

- 未配置接口密钥:`LINKFOX_AGENT_API_KEY` 和 `LINKFOXAGENT_API_KEY` 均为空。
- HTTP 状态码为 `401` 或 `402`。
- 响应提示算力或余额不足、计费不足、配额超限、套餐到期或需要充值。英文错误消息也按其含义判断。

### 约束与建议

- **理解检测方式**:服务使用基于 YOLO 的目标检测定位图片中的疑似 Logo,再与多地区商标数据库比对;图片越清晰、分辨率越高,越有利于检测。
- **解释相似度**:`similarity` 越接近 1.0,视觉匹配越相近;超过 0.8 时,必须明确突出提示潜在高侵权风险,不能将相似度直接表述为法律结论。
- **清晰展示匹配**:用表格展示商标图片、相似度、商标名称、商标状态、受理局、尼斯分类、权利人和关键日期。未返回的信息不补造。
- **说明商标状态**:`registered` 为已注册,`act` 为有效,`pend` 为申请待审,`filed` 为已提交申请,`ended` 为已到期,`DEL` 为已删除或撤销;空状态表示未提供。解释各状态对风险判断的意义,不能把到期或撤销等同于绝对安全。
- **突出雷达结果**:返回 `radarResult` 时显著展示综合风险判断;各匹配含 `subRadarResult` 时在对应行一并展示。
- **注明检索范围**:始终说明本次检索地区;使用默认范围时说明为接口支持的全部地区,不将其描述为全球所有国家。

## 使用示例

### 检查公开图片

用户:查这张产品图有没有相似商标。

使用公开图片 URL,按接口默认范围执行一次检测,展示匹配、状态及风险信息。

### 限定美国和欧盟

用户:只检查美国和欧盟,给出最相近的商标。

根据接口参考选择地区与返回数量,说明地区范围并突出高相似度匹配。

### 带产品上下文并查看定位切图

用户:这是蓝牙耳机,疑似 Logo 为 SonicWave,希望看图中具体位置。

补充产品标题和疑似商标名称,按需启用切图,结合定位信息、商标状态和雷达结果展示。

### 使用本地照片

用户:检查这张本地产品照片的 Logo 风险。

先上传取得公开 URL,再执行检测;遵守上传链接有效期和本次调用消耗约束。

## 使用反馈

当技能有BUG,或技能描述有错误/疏漏/歧义/表述模糊,或技能结果与用户预期不符,或用户表达不满/赞扬,或发现其他可改进之处时,按 `references/api.md#Feedback` 的指引反馈,不要打断用户当前流程。

---

更多优质、专业的跨境电商技能,请访问 [LinkFox Skill](https://skill.linkfox.com/)。

© linkfox-ai · MIT · linkfox-ai/linkfox-skills

Similar skills

All skills for Security →

From the same set74

The whole set →
linkfox-shopee-store-livestream The linkfox-shopee-store-livestream skill for Claude Code and Codex manages Shopee store livestreams. It handles session setup, product lists, comments, and stream metrics. CX Codex +1 231installs linkfox-echotik-batch-product-detail linkfox-echotik-batch-product-detail — a skill for Claude Code and Codex that pulls EchoTik analytics for batches of TikTok Shop items. Compares revenue, sales volumes, listing status, and livestream performance. CX Codex +1 231installs linkfox-fastmoss-product-rank-top-selling linkfox-fastmoss-product-rank-top-selling — a skill for Claude Code ranks popular TikTok Shop products by market, period, category, or sales metric. It handles daily, weekly, and monthly product reports. CX Codex +1 231installs linkfox-zhihuiya-abstract-data-translated linkfox-zhihuiya-abstract-data-translated — a skill for Claude Code and Codex that fetches Chinese, English, or Japanese patent title and abstract translations from PatSnap. Accepts single or batch patent IDs and publication numbers. CX Codex +1 231installs linkfox-zhihuiya-pdf-data The linkfox-zhihuiya-pdf-data Claude Code skill finds full patent PDF links from an ID or publication number. It handles single and batch lookups, with a related-family document as a fallback. CX Codex +1 230installs linkfox-shopee-store-ams linkfox-shopee-store-ams — a skill for Claude Code and Codex that automates Shopee Affiliate Marketing Solutions (AMS). It coordinates open product promotions, creator campaigns, and affiliate conversion tracking. CX Codex +1 229installs linkfox-zhihuiya-patent-forward-citation linkfox-zhihuiya-patent-forward-citation — a skill for Claude Code finds patents and non-patent documents cited by a selected patent. It handles reference checks and citation analysis. CX Codex +1 229installs linkfox-zhihuiya-patent-cited The linkfox-zhihuiya-patent-cited Claude Code skill retrieves patent forward-citation data. Compare patents, inspect time-window and family counts, or list the patents citing a document. CX Codex +1 229installs

Project sponsors

Companies that keep this analytics open