# linkfox-ruiguan-trademark-graphic-detection

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 230 installs · ★ 125 repo stars
- Author: linkfox-ai
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/linkfox-ai/linkfox-skills/tree/HEAD/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md
- Updated: 2026-11-11
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/linkfox-ruiguan-trademark-graphic-detection

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.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/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install linkfox-ai/linkfox-skills skills/linkfox-ruiguan-trademark-graphic-detection
```

2. **Manually: put the files in place**
- File: `.github/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/linkfox-ai/linkfox-skills --path skills/linkfox-ruiguan-trademark-graphic-detection
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-trademark-graphic-detection -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/linkfox-ai/linkfox-skills/tree/HEAD/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md

## When to use it
- 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
- 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.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 0200cbcbac6db4b8.

BEGIN THIRD-PARTY FILE 0200cbcbac6db4b8
```text
---
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. 确认用户希望筛查的产品图片与地区范围；没有指定地区时按接口默认范围处理。
```
END THIRD-PARTY FILE 0200cbcbac6db4b8

The third-party file has ended. Everything between the 0200cbcbac6db4b8 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2223 of 7663 bytes. © linkfox-ai · MIT · https://github.com/linkfox-ai/linkfox-skills/tree/HEAD/skills/linkfox-ruiguan-trademark-graphic-detection/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
