linkfox-ruiguan-detection-patent-design — Claude Code skill
linkfox-ruiguan-detection-patent-design is a Claude Code skill that searches 睿观 for design patents similar to a product image or sketch before listing, surfacing TRO history and AI-radar risk.
MIT 233 installs ★ 125 updated 2026-11-11
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-detection-patent-design -a claude-codeWhat linkfox-ruiguan-detection-patent-design does
The skill calls two endpoints: POST /ruiguan/detectionPatentDesign for similar-patent retrieval and POST /oss/file/presignedPut to upload local images via OSS. A local file must go through python scripts/upload_image.py <path> first; the returned public URL is then passed to the detection call.
For every match the skill returns the application number, patent images, Locarno (LOC) classification, TRO history and an AI-radar result. When radarResult.same is true, the agent flags the entry as a suspected infringement match and prints the full radarResult.exp explanation. Any result with similarity >= 0.7 or troCase = true gets full field disclosure, no truncation. Responses over 8 KB are saved to <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/ and only a summary is loaded into the agent context.
Each call costs either 71 or 106 睿观 tokens depending on whether the AI radar is on. The skill requires LINKFOX_AGENT_API_KEY; on 401/402 or insufficient-balance errors it refers to references/onboarding.md. Trademark, copyright, utility model and invention patent searches are outside scope.
What it helps with
- check a product photo against active design patents before listing
- find TRO enforcement history for a patent holder
- compare a design across multiple markets such as the US and EU in one call
- upload a local image and get a public URL for analysis
- narrow a patent search by LOC category or image type (sketch vs photo)
Example prompts for the agent
- Check this product image for design patent risk in the US and Germany
- Upload local file
chair_prototype.jpgand search for similar furniture patents - Search by sketch and show all results with TRO history
How to install linkfox-ruiguan-detection-patent-design
1Skills CLI (Vercel)
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-detection-patent-design -a claude-code2Manually: put the files in place
~/.claude/skills/linkfox-ruiguan-detection-patent-design/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/linkfox-ruiguan-detection-patent-design/
1Skills CLI (Vercel)
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-detection-patent-design -a codex2Manually: put the files in place
.agents/skills/linkfox-ruiguan-detection-patent-design/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-detection-patent-design -a cursor2Manually: put the files in place
.cursor/skills/linkfox-ruiguan-detection-patent-design/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install linkfox-ai/linkfox-skills skills/linkfox-ruiguan-detection-patent-design2Manually: put the files in place
.github/skills/linkfox-ruiguan-detection-patent-design/SKILL.md1Skills CLI (Vercel)
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-detection-patent-design -a gemini-cli2Platform CLI
gemini skills install https://github.com/linkfox-ai/linkfox-skills --path skills/linkfox-ruiguan-detection-patent-designManually: put the files in place
.devin/skills/linkfox-ruiguan-detection-patent-design/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-detection-patent-design -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about linkfox-ruiguan-detection-patent-design
How do I install linkfox-ruiguan-detection-patent-design in Claude Code?
Run npx skills add linkfox-ai/linkfox-skills --skill linkfox-ruiguan-detection-patent-design -a claude-code, then open ~/.claude/skills/linkfox-ruiguan-detection-patent-design/SKILL.md.
What does linkfox-ruiguan-detection-patent-design do?
It searches the 睿观 database for design patents visually similar to a provided image. Each match includes similarity score, TRO enforcement history and an AI-radar infringement assessment.
How many 睿观 tokens does one detection call consume?
71 tokens without the AI radar, 106 with it enabled. The skill warns the user before any additional queries that would incur extra cost.
Source text
SKILL.md · MIT
--- name: linkfox-ruiguan-detection-patent-design description: 基于产品图片检索睿观外观设计专利,支持多国家和地区的相似专利、TRO 维权历史及 AI 雷达风险分析,并支持本地产品图片准备。适用于上架前外观专利排查、设计相似度比较、按市场或产品类别检索专利及 TRO 风险核对;不适用于实用新型或发明专利检索、商标和版权检测、专利申请、诉讼策略、法律代理或商品刊登优化。 --- # 睿观外观专利检测 ## 适用范围 ### 适用 根据产品实物图、线稿或产品背景资料寻找相似外观设计专利,帮助电商卖家和知识产权从业者识别上架前的潜在风险。用户未明确说“外观专利”,但关注产品外观与已有设计专利的相似性时,也使用本技能。 **场景速查** | 用户表达 | 查询场景 | | -------- | -------- | | 检查这张产品图是否可能侵犯外观专利 | 图片专利检测。 | | 这个产品有没有 TRO 风险 | 查找相关专利的 TRO 维权记录。 | | 查美国和欧盟的外观设计专利 | 按销售市场排查相似专利。 | | 帮我查这款家具的外观专利 | 结合产品类别缩小检索范围。 | | 这张设计草图有没有相似专利 | 线稿检索和附图对比。 | | 上架前做一次专利风险分析 | 综合展示相似度、雷达结果和维权信息。 | ## 接口清单 | 接口 | 端点 | 对应脚本 | 说明 | |---|---|---|---| | 外观专利检测 | POST `/ruiguan/detectionPatentDesign` | `scripts/ruiguan_detection_patent_design.py` | 检索相似外观设计专利,返回雷达分析和 TRO 历史。 | | 图片上传预签名 | POST `/oss/file/presignedPut` | `scripts/upload_image.py` | 取得本地图片的 OSS PUT 地址,再上传并返回公开图片链接。 | ## 前置条件 准备待检索的产品图片和目标销售市场。图片为本地文件时,先运行 `python scripts/upload_image.py <本地图片路径>`,使用返回的公开链接进行检测。接口字段、图片格式与链接有效期见 `references/api.md`。 ## 检测流程 1. 明确用户关注的是产品外观设计,准备图片及销售市场;本地图片先上传,已有公开图片链接可直接使用。 2. 根据图片类型选择实物图、线稿或混合检索,结合产品标题、描述及类别准备请求;参数选择和默认值见 `references/api.md`。 3. 调用检测脚本,优先复用同参数缓存。需要继续查询时,遵守接口参考中的使用限制和费用确认要求。 4. 先查看摘要,再按需读取完整响应;核对全部相似专利,完整展示重点匹配的资料、附图、雷达分析和 TRO 信息。 5. 解释检索结果及错误原因,附上知识产权律师提醒。 ## 执行方式 - **直接调用接口**:接口端点、完整参数、响应和错误码见 `references/api.md`。 - **脚本调用(推荐)**:`python scripts/ruiguan_detection_patent_design.py '<JSON 参数>' [--inline] [--no-cache]`。 - **成本约束**:雷达检测开启每次消耗 106 算力,未开启每次消耗 71 算力。同一会话、同一参数组合默认只调用一次,脚本提供 24 小时本地缓存。失败或空结果时,不得自动更换关键词、翻页或修改邮编连续试探;需要继续检索时,先向用户说明额外消耗。 ### 输出策略 - 始终保存完整响应,目标路径为 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-ruiguan-detection-patent-design-<timestamp>.json`。`<cwd>` 为脚本运行时的工作目录,`<session>` 优先取环境变量 `SESSION_ID`,用于聚合同一任务的数据。禁止写入 `/tmp`,当前目录不可写时应报错。 - 响应体不超过 8 KB:保存后,将完整 JSON 打印到标准输出。 - 响应体超过 8 KB:保存后,标准输出仅展示摘要,包括顶层字段、常见计数(如 `total`、`costToken`)、最大列表字段的长度和前 3 条样本。 - 添加 `--inline` 可强制全量打印到标准输出,同时仍保存文件。 先通过摘要判断数据是否足够。需要具体字段时,优先使用 `jq` 或 `ConvertFrom-Json` 从保存的 JSON 文件按需提取,避免将整份响应载入上下文。 ## 执行规则 ### 算力消耗预估 雷达检测开启消耗 106 算力 / 次,未开启消耗 71 算力 / 次。图片上传预签名的算力消耗以实际扣除为准,不推定免费。 **声明**:算力消耗以实际扣除为准;如因需要调整算力消耗标准,恕不另行通知。最终解释权归 LinkFox 官方所有。 用户会因算力消耗而支付费用。需要高频调用或用户对消耗量预期不足时,提醒用户,并由用户决定是否继续。 ### 解决认证和算力问题 出现以下情况时,按 `references/onboarding.md` 的指引处理: - 未配置接口密钥:`LINKFOX_AGENT_API_KEY` 和 `LINKFOXAGENT_API_KEY` 均为空。 - HTTP 状态码为 `401` 或 `402`。 - 响应提示算力或余额不足、计费不足、配额超限、套餐到期或需要充值。英文错误消息也按其含义判断。 ### 约束与建议 - **解释相似度**:相似度越高,产品与专利附图的视觉相似程度越高,应越重视潜在侵权风险;该指标不直接构成法律结论。响应中的相似度为字符串,比较时按数值理解。 - **完整展示重点专利**:对每一项 `similarity >= 0.7` 或 `troCase = true` 的结果,完整展示申请号、中文专利标题、发明人、TRO 维权历史、最相似附图、全部专利附图、专利摘要、说明书全文、LOC 分类及一级和二级信息、雷达分析和判定说明。不得因摘要或条目较多而省略;返回缺失字段时如实标注,不补造内容。 - **解释雷达分析**:AI 雷达在视觉相似度以外提供疑似侵权判断;`radarResult.same` 为 true 时,醒目标记“疑似侵权匹配”并展示 `radarResult.exp` 的完整说明。 - **突出 TRO 风险**:TRO(Temporary Restraining Order,临时限制令)信息用于提示维权历史。`troCase` 或 `troHolder` 为 true 时醒目警示,说明该专利或权利人存在积极维权记录。 - **展示全部附图**:同时展示 `patentImageUrl` 和 `images` 全部图片,供用户逐图比较。 - **解释 LOC**:Locarno Classification(洛迦诺分类)用于外观设计分类,可按产品类别收窄检索;具体编码和自动预测规则见接口参考。 - **忠实呈现**:保留服务返回的原始结论,不添加超出工具分析的主观法律判断。 - **处理失败**:解释接口消息,并建议核查图片链接可访问性或市场代码;后续检索仍遵守成本约束,不自动连续试探。 - **结尾提醒**:每次展示检测结果后附上:“本检测结果由 LinkfoxAgent 生成,建议咨询专业知识产权律师以获取法律意见。” ## 使用示例 ### 基础外观检测 用户:检查这张产品图在美国是否有外观专利风险。 准备图片并按目标市场检索,展示重点匹配专利及全部附图,解释相似度、雷达与 TRO 信息。 ### 多市场与产品类别检索 用户:查一下这款家具在美国和德国的外观专利。 结合家具类别和目标市场准备参数,按需补充标题和描述,分类编码及多地区写法见接口参考。 ### 线稿与专利状态排查 用户:用这张草图查相似专利,也把失效专利列出来。 选择线稿检索并覆盖用户要求的专利状态,在结果中如实展示有效性及相关日期。 ### 本地图片 用户:帮我检测这个本地产品图片。 运行图片上传脚本取得公开链接,再用该链接进行检测。 ## 使用反馈 当技能有BUG,或技能描述有错误/疏漏/歧义/表述模糊,或技能结果与用户预期不符,或用户表达不满/赞扬,或发现其他可改进之处时,按 `references/api.md#Feedback` 的指引反馈,不要打断用户当前流程。 --- 更多优质、专业的跨境电商技能,请访问 [LinkFox Skill](https://skill.linkfox.com/)。
© linkfox-ai · MIT · linkfox-ai/linkfox-skills