linkfox-zhihuiya-claim-data-translated

v2026.09.24

从智慧芽专利数据库获取翻译后的专利权利要求。当用户询问专利权利要求、权利要求翻译、查看特定语言(中文、英文或日文)的权利要求、通过专利ID或公开号查询专利权利、分析权利要求文本、claim translation, patent claim translation, PatSnap, patent translation时触发此技能。即使用户未明确提及"翻译版权利要求",只要其需求涉及获取特定语言的专利权利要求内容,也应触发此技能。

GitHub
安装命令
npx skhub add linkfox-ai/linkfox-zhihuiya-claim-data-translated
Markdown
SKILL.md

Zhihuiya Patent Claims (Translated)

This skill guides you on how to query translated patent claims from the Zhihuiya (PatSnap) patent database, enabling users to retrieve claim texts in Chinese, English, or Japanese for one or more patents.

Core Concepts

Patent claims define the legal scope of protection granted by a patent. This tool retrieves the translated text of patent claims, supporting three languages: Chinese (cn), English (en), and Japanese (jp). You can look up patents by their internal patent ID or by their publication (announcement) number.

Family patent substitution: When claims are unavailable for a specific patent, the tool can optionally substitute claims from a related family patent. This is controlled by the replaceByRelated parameter.

Data Fields

FieldAPI NameDescriptionExample
Patent IDpatentIdInternal patent identifier84a1b2c3-...
Publication NumberpnPublication (announcement) number of the patentCN112345678A
Related Publication NumberpnRelatedPublication number of the substitute family patent (only present when family substitution is used)US20210012345A1
ClaimsclaimsTranslated patent claim text1. A method for...

Supported Languages

CodeLanguage
enEnglish (default)
cnChinese
jpJapanese

Default language is en (English). Use English when the user does not specify a language.

调用方式

  • API 端点:POST /zhihuiya/claimDataTranslated(完整参数/响应/错误码见 references/api.md)
  • Python 脚本:python scripts/zhihuiya_claim_translated.py '<JSON 参数>' [--inline]
  • 成本约束:本工具会消耗算力;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。

输出策略(脚本默认行为):

  • 始终将完整响应写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-zhihuiya-claim-data-translated-<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 进入上下文。

解决认证和算力问题

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

异常情况

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

Parameter Guide

Patent Identification

You must provide at least one of the following:

  • patentId -- The internal patent ID. When both patentId and patentNumber are provided, patentId takes precedence. Multiple values separated by commas, up to 100 patents per request.
  • patentNumber -- The publication or announcement number. Multiple values separated by commas, up to 100 patents per request.

Optional Parameters

  • lang -- Target translation language: en (English, default), cn (Chinese), or jp (Japanese).
  • replaceByRelated -- Whether to substitute claims from a family patent when the original claims are unavailable: 1 = yes, 0 = no (default).

Usage Examples

1. Get English claims for a single patent by publication number

patentNumber: "CN112345678A"
lang: "en"

2. Get Chinese claims for multiple patents by publication number

patentNumber: "US20210012345A1,EP3456789B1"
lang: "cn"

3. Get Japanese claims with family patent fallback

patentNumber: "JP2021123456A"
lang: "jp"
replaceByRelated: 1

4. Query by patent ID

patentId: "84a1b2c3-d4e5-6f78-9abc-def012345678"
lang: "en"

Display Rules

  1. Present claims clearly: Show the translated claim text with proper formatting. If multiple patents are returned, separate each patent's claims with its publication number as a heading.
  2. Family substitution notice: When pnRelated is present in the response, clearly inform the user that the claims were sourced from a related family patent and show the substitute publication number.
  3. Language notice: State the language of the returned claims so the user knows which translation they are viewing.
  4. Large results: When multiple patents are returned, summarize the count and show a few representative entries, reminding the user of the total.
  5. Error handling: When a query fails, explain the reason based on the error response and suggest checking the patent ID or publication number.

Important Limitations

  • At least one identifier required: Either patentId or patentNumber must be provided; otherwise the query will fail.
  • Batch limit: A maximum of 100 patents per request.
  • Language support: Only Chinese (cn), English (en), and Japanese (jp) are supported.
  • Family substitution: Substitute claims are only returned when replaceByRelated is set to 1 and the original claims are unavailable.

User Expression & Scenario Quick Reference

Applicable -- Queries related to patent claim text and translation:

User SaysScenario
"Show me the claims for patent XX"Single patent claim lookup
"Translate claims to Chinese/Japanese"Claim translation
"What does patent XX claim?"Claim content retrieval
"Get claims for these patents: XX, YY"Batch patent claim lookup
"Claims unavailable, try family patent"Family patent substitution
"Patent rights scope of XX"Claim text retrieval

Not applicable -- Needs beyond patent claim translation:

  • Patent search or discovery (finding patents by keyword)
  • Patent citation or legal status analysis
  • Patent abstract or description retrieval
  • Patent portfolio analytics or statistics

算力消耗规则

按动态规则计费:消耗算力 = 81 × 返回data条数。每条为 1 条专利权利要求翻译结果

重要:本技能的服务按倍数动态计算,可能一次性消耗大量算力,必须提醒用户,由用户决定是否继续。

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, set LinkFox Skills.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/linkfox-zhihuiya-claim-data-translated

默认分支

main

最新提交

38fef04

Tree SHA

1829f02