linkfox-maidalv-product-tro-detection

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Product Infringement & TRO Risk Detection

产品侵权与TRO风险检测

This skill detects whether a product carries TRO (Temporary Restraining Order) or IP infringement risk by checking a product image against a database of IP assets (trademarks, patents, copyrights) and TRO case plaintiffs. It returns an overall risk level, high-risk hits, a low-risk IP list with TRO plaintiff details, numeric risk scores, and an AI-generated legal report.
本技能通过将产品图片与IP资产(商标、专利、版权)数据库及TRO案件原告信息进行比对,检测产品是否存在TRO(临时限制令)或IP侵权风险。返回内容包括总体风险等级、高风险命中项、含TRO原告详情的低风险IP清单、数值风险分以及AI生成的法律评估报告。

Core Concepts

核心概念

TRO (Temporary Restraining Order) is a legal injunction brand owners file against sellers (often Amazon listings) for trademark/copyright/patent infringement. This tool takes a main product image (URL or Base64 data URI) plus optional reference images / text / IP keywords, runs visual + text matching against IP assets and TRO case records, and returns a structured risk assessment with an AI legal report (localized by the
language
parameter).
TRO(临时限制令)是品牌方针对卖家(通常是亚马逊店铺)因商标/版权/专利侵权而提起的法律禁令。本工具需输入产品主图(URL或Base64 data URI),还可选择补充参考图、参考文本、IP关键词,通过视觉+文本匹配IP资产与TRO案件记录,返回结构化风险评估结果及AI生成的法律报告(可通过
language
参数设置语言)。

Data Fields

数据字段

Top-level response:
FieldDescription
errcode200 = success; see api.md for other codes
statusOverall analysis status (
success
)
checkIdUnique ID for this detection run
riskLevelOverall risk: 高风险/中风险/低风险 (High/Medium/Low Risk)
totalCount of high-risk hits (length of
results
)
resultsHigh-risk infringement items (array)
nonResultsLow-risk / non-high IP items incl. TRO plaintiff info (array)
costTokenTokens consumed this call
columnsRender column metadata (display only)
Each item (results / nonResults):
FieldDescription
ipType
Trademark
/
Copyright
/
Patent
textIP text (trademark word, patent/copyright title)
ipOwnerIP rights owner
regNoRegistration number (may be a JSON-string array, e.g.
["1221667"]
)
riskLevel / riskScore / riskDescriptionRisk rating / 0-10 score / text; present only when scored
ipAssetUrlsURLs to IP evidence images
plaintiffName / plaintiffIdTRO plaintiff (present only when IP appears in a TRO case)
numberOfCasesPlaintiff's case count (TRO only)
lastCaseDocket / lastCaseDateFiledMost recent court docket / filing date (TRO only)
reportAI-generated legal assessment (localized by
language
)
顶层响应:
字段描述
errcode200=成功;其他错误码请参考api.md
status整体分析状态(
success
checkId本次检测的唯一ID
riskLevel总体风险等级:高风险/中风险/低风险
total高风险命中项数量(
results
数组长度)
results高风险侵权项(数组)
nonResults低风险/非高风险IP项,含TRO原告信息(数组)
costToken本次调用消耗的积分
columns渲染列元数据(仅用于展示)
每个子项(results / nonResults):
字段描述
ipType
Trademark
/
Copyright
/
Patent
textIP文本(商标名称、专利/版权标题)
ipOwnerIP权利所有人
regNo注册号(可能为JSON字符串数组,例如
["1221667"]
riskLevel / riskScore / riskDescription风险评级/0-10分/风险描述;仅在有评分时返回
ipAssetUrlsIP证据图片URL
plaintiffName / plaintiffIdTRO原告(仅当IP出现在TRO案件中时返回)
numberOfCases原告的案件数量(仅TRO相关)
lastCaseDocket / lastCaseDateFiled最近案件的法院案号/立案日期(仅TRO相关)
reportAI生成的法律评估报告(通过
language
参数设置语言)

Parameter Guide

参数指南

ParameterRequiredDefaultDescription
mainProductImageYes-Main product image: URL or
data:image/...;base64,...
(≤1000 chars)
referenceImagesNo-Reference images for similar products, up to 3 (URL or data URI)
otherProductImagesNo-Additional product images, up to 5 (URL or data URI)
ipImagesNo-IP-related images, up to 3 (URL or data URI)
referenceTextNo-Text from similar products (e.g. product title), ≤1000 chars
descriptionNo-Product description (title recommended), ≤1000 chars
ipKeywordsNo-IP-related keywords, up to 20
languageNozhLegal report language (
zh
/
en
); only affects the
report
language
Image rules: URL must be publicly accessible; Base64 must include the
data:image/...;base64,
prefix. For a local image, either upload it first (see 「Local Image Upload」) or convert it to a data URI.
参数是否必填默认值描述
mainProductImage-产品主图:URL或
data:image/...;base64,...
(长度≤1000字符)
referenceImages-同类产品参考图,最多3张(URL或data URI)
otherProductImages-额外产品图片,最多5张(URL或data URI)
ipImages-IP相关图片,最多3张(URL或data URI)
referenceText-同类产品文本(如产品标题),长度≤1000字符
description-产品描述(推荐填写标题),长度≤1000字符
ipKeywords-IP相关关键词,最多20个
languagezh法律报告语言(
zh
/
en
);仅影响
report
字段的语言
图片规则:URL必须可公开访问;Base64必须包含
data:image/...;base64,
前缀。若为本地图片,需先上传(见「本地图片上传」)或转换为data URI。

调用方式

调用方式

  • API 端点
    POST /maidalv/checkApiFlash
    (完整参数/响应/错误码见
    references/api.md
  • Python 脚本
    python scripts/maidalv_check_api_flash.py '<JSON 参数>' [--inline]
  • 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、换主图或连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为)
  • 始终将完整响应写入
    <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-maidalv-product-tro-detection-<timestamp>.json
    <cwd>
    为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;
    <session>
    取自环境变量
    SESSION_ID
    ,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如
    total
    /
    costToken
    、最大列表字段的长度 + 前 3 条样本)
  • --inline
    强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用
jq
ConvertFrom-Json
从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
  • API 端点
    POST /maidalv/checkApiFlash
    (完整参数/响应/错误码见
    references/api.md
  • Python 脚本
    python scripts/maidalv_check_api_flash.py '<JSON 参数>' [--inline]
  • 成本约束:本工具会消耗积分;同一会话同一参数组合默认仅调用一次,脚本带有24小时本地缓存。失败/空结果不得自动更换关键词、主图或连续试探;如需继续检索,需先向用户说明会产生额外消耗,由用户决定是否继续。
输出策略(脚本默认行为)
  • 始终将完整响应写入
    <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-maidalv-product-tro-detection-<timestamp>.json
    <cwd>
    为脚本执行时的工作目录,在Claude Code中即当前项目目录;
    <session>
    取自环境变量
    SESSION_ID
    ,按用户任务自动聚合;禁止写入/tmp,若当前目录不可写则报错)
  • 响应体≤8 KB:落盘后将完整JSON打印到标准输出
  • 响应体>8 KB:落盘后标准输出仅打印摘要(顶层字段、
    total
    /
    costToken
    等常见计数、最大列表字段的长度+前3条样本)
  • 添加
    --inline
    参数可强制将全量内容打印到标准输出(同样会落盘)
读数据建议:先查看摘要判断是否满足需求;如需具体字段,优先使用
jq
ConvertFrom-Json
从保存的JSON文件中按需抽取,避免整份JSON进入上下文。

解决认证和积分问题

解决认证和积分问题

发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
出现以下异常情况时,需按照references/onboarding.md引导用户解决:

异常情况

异常情况

  • 未配置API Key:环境变量未配置
    LINKFOX_AGENT_API_KEY
    ,也未配置
    LINKFOXAGENT_API_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
  • 未配置API Key:环境变量未配置
    LINKFOX_AGENT_API_KEY
    ,也未配置
    LINKFOXAGENT_API_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息包含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值"或类似含义内容。

Local Image Upload

本地图片上传

This tool accepts a publicly accessible image URL or a Base64 data URI. If the user provides a local image file path, either upload it first to obtain a public URL, or encode it to a data URI.
Run the upload script:
bash
python scripts/upload_image.py /path/to/local/image.png
The script returns a public URL (valid for 24 hours) usable as
mainProductImage
.
本工具接受可公开访问的图片URL或Base64 data URI。若用户提供本地图片文件路径,需先上传获取公开URL,或转换为data URI。
运行上传脚本:
bash
python scripts/upload_image.py /path/to/local/image.png
脚本会返回一个公开URL(有效期24小时),可作为
mainProductImage
参数使用。

Usage Examples

使用示例

1. Basic detection (main image only)
检测这个产品的 TRO 和知识产权侵权风险,图片地址为 https://m.media-amazon.com/images/I/71jKJgFpg8L._AC_SL1500_.jpg
2. English legal report
Check this product for TRO and IP infringement risk: https://example.com/product.jpg — give me the legal report in English.
3. With reference image + IP keywords
检测这个图片的侵权风险,主图 https://example.com/product.jpg,参考图 https://example.com/ref.jpg,IP 关键词 apple、iphone
1. 基础检测(仅主图)
检测这个产品的TRO和知识产权侵权风险,图片地址为https://m.media-amazon.com/images/I/71jKJgFpg8L._AC_SL1500_.jpg
2. 英文法律评估报告
检测该产品的TRO和IP侵权风险:https://example.com/product.jpg — 请提供英文的法律评估报告。
3. 带参考图+IP关键词
检测这个图片的侵权风险,主图https://example.com/product.jpg,参考图https://example.com/ref.jpg,IP关键词apple、iphone

Display Rules

展示规则

  1. Lead with the overall verdict: Show
    riskLevel
    (高风险/中风险/低风险) and
    checkId
    first.
  2. High-risk items first: If
    results
    is non-empty, list each hit's
    ipType
    /
    text
    /
    ipOwner
    /
    riskScore
    /
    riskDescription
    prominently.
  3. TRO plaintiff detail: For items with
    plaintiffName
    , show plaintiff,
    numberOfCases
    ,
    lastCaseDocket
    ,
    lastCaseDateFiled
    — these drive TRO risk.
  4. Evidence images: Display
    ipAssetUrls
    inline for visual comparison when available.
  5. AI legal report: Surface the
    report
    field (long-form legal assessment) for high-risk items.
  6. Counts: Always state
    total
    (high-risk count) and
    nonResults
    length.
  7. No secondary processing: Results are a one-shot analysis; no SQL/secondary query is available.
  1. 优先展示总体结论:首先显示
    riskLevel
    (高风险/中风险/低风险)和
    checkId
  2. 先展示高风险项:若
    results
    数组非空,突出显示每个命中项的
    ipType
    /
    text
    /
    ipOwner
    /
    riskScore
    /
    riskDescription
  3. TRO原告详情:对于带有
    plaintiffName
    的项,展示原告名称、
    numberOfCases
    lastCaseDocket
    lastCaseDateFiled
    ——这些是TRO风险的核心依据。
  4. 证据图片:若有
    ipAssetUrls
    ,则内联展示以便视觉对比。
  5. AI法律报告:针对高风险项,突出显示
    report
    字段(长篇法律评估内容)。
  6. 统计数据:始终说明
    total
    (高风险项数量)和
    nonResults
    数组长度。
  7. 不支持二次处理:结果为一次性分析;无法使用
    _dataQuery_executeDynamicQuery
    进行二次查询。

Important Limitations

重要限制

  1. One-shot analysis: Results are not stored in a database; cannot use
    _dataQuery_executeDynamicQuery
    for secondary processing.
  2. Image input:
    mainProductImage
    is required. Local images must be uploaded or Base64-encoded (with
    data:image/...;base64,
    prefix).
  3. Language scope:
    language
    only affects the
    report
    text; field values remain as returned.
  4. Conditional fields are expected: Non-TRO / unscored items return only base fields (
    ipType
    /
    text
    /
    ipOwner
    /
    regNo
    /
    ipAssetUrls
    ); plaintiff/case and risk fields are absent (not null) when not applicable — do not treat missing fields as an error.
  5. columns
    is render-meta
    : Its length differs from the data arrays; do not use it to infer result counts (use
    results
    /
    nonResults
    lengths).
  1. 一次性分析:结果不会存储在数据库中;无法使用
    _dataQuery_executeDynamicQuery
    进行二次处理。
  2. 图片输入要求
    mainProductImage
    为必填项。本地图片必须上传或转换为Base64编码(需包含
    data:image/...;base64,
    前缀)。
  3. 语言范围
    language
    仅影响
    report
    文本;其他字段值保持返回原样。
  4. 字段为条件返回:非TRO/无评分项仅返回基础字段(
    ipType
    /
    text
    /
    ipOwner
    /
    regNo
    /
    ipAssetUrls
    );原告/案件及风险字段在不适用时不会返回(而非返回null)——请勿将缺失字段视为错误。
  5. columns
    为渲染元数据
    :其长度与数据数组长度不同;请勿用它推断结果数量(请使用
    results
    /
    nonResults
    的长度)。

User Expression & Scenario Quick Reference

用户表述与场景速查

Applicable — Product TRO / IP infringement risk checks:
User SaysScenario
"这个产品有没有 TRO 风险" / "会不会被起诉"Basic TRO risk check
"这个图片有没有商标/专利/版权侵权"IP infringement detection
"这个 Amazon 产品上架有没有侵权风险"Pre-listing compliance check
"查一下这个产品的原告信息"TRO plaintiff lookup
"给我英文的法律评估报告"English legal report
Not applicable — Beyond this tool:
  • 1688 / Amazon image-based product sourcing (use 以图搜图 skills)
  • Patent全文 / 权利要求检索 (use 智慧芽/Eureka patent skills)
  • Listing 文案优化或关键词分析
Boundary judgment: When the user provides a product image and asks about infringement/TRO/legal risk, this skill applies. If they want supplier sourcing or keyword analytics, use the respective sourcing/keyword tools instead.
适用场景——产品TRO/IP侵权风险检测:
用户表述场景
"这个产品有没有TRO风险" / "会不会被起诉"基础TRO风险检测
"这个图片有没有商标/专利/版权侵权"IP侵权检测
"这个Amazon产品上架有没有侵权风险"上架前合规检测
"查一下这个产品的原告信息"TRO原告信息查询
"给我英文的法律评估报告"英文法律评估报告生成
不适用场景——超出本工具范围:
  • 1688/Amazon以图搜品(使用以图搜图技能)
  • 专利全文/权利要求检索(使用智慧芽/Eureka专利技能)
  • Listing文案优化或关键词分析
边界判断:当用户提供产品图片并询问侵权/TRO/法律风险时,适用本技能。若用户需要供应商寻源或关键词分析,请使用对应的寻源/关键词工具。

积分消耗规则

积分消耗规则

消耗 113 积分(约 150000 token)。
用户会因积分消耗而支付费用。本工具单次调用成本较高(含 AI 法律评估),请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. Anything you believe could be improved
Call the feedback API as specified in
references/api.md
. Do not interrupt the user's flow.

For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.
消耗113积分(约150000 token)。
用户会因积分消耗产生费用。本工具单次调用成本较高(包含AI法律评估),请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。
反馈:
当出现以下任意情况时,自动通过Feedback API提交反馈:
  1. 本技能描述的功能或用途与实际行为不符
  2. 技能结果与用户意图不符
  3. 用户表达对本技能的不满或赞赏
  4. 任何你认为可以改进的内容
请按照
references/api.md
中的说明调用反馈API,请勿打断用户流程。

如需更多高质量专业跨境电商技能,请访问LinkFox Skills