linkfox-zhihuiya-description-data-translated

v2026.09.24

从智慧芽获取翻译后的专利说明书(描述)文本。当用户要求专利说明书翻译、其他语言的专利全文、翻译后的专利全文,或想查看中文、英文、日文版的专利说明书、patent specification translation, patent description translation, PatSnap, patent translation时触发此技能。当用户提供专利ID或公开号并要求获取其他语言的说明书/描述内容,或提到"专利说明书翻译"、"描述翻译"、"翻译全文"等类似意图时也应触发。

GitHub
Install command
npx skhub add linkfox-ai/linkfox-zhihuiya-description-data-translated
Markdown
SKILL.md

Zhihuiya Patent Description (Translated)

This skill guides you on how to retrieve translated patent description (specification) text via the Zhihuiya data service. It supports translation into Chinese, English, or Japanese, and can look up patents by patent ID or publication number.

Core Concepts

A patent description (also called "specification") is the full technical text of a patent document. This tool fetches the translated version of that text from the Zhihuiya patent database, supporting three target languages: Chinese (cn), English (en), and Japanese (jp).

When a patent's description is unavailable, the tool can optionally substitute it with a description from a patent family member (a related patent filed in another jurisdiction covering the same invention).

Parameters

ParameterTypeRequiredDescription
patentIdstringConditionallyPatent ID. At least one of patentId or patentNumber must be provided. If both are given, patentId takes priority. Multiple values separated by commas; max 100.
patentNumberstringConditionallyPublication (announcement) number. At least one of patentId or patentNumber must be provided. Multiple values separated by commas; max 100.
langstringNoTarget translation language. Supported values: en (English, default), cn (Chinese), jp (Japanese).
replaceByRelatedintegerNoWhether to substitute with a patent family member's description when the original is unavailable. 1 = yes, 0 = no (default).

Key Rules

  1. At least one identifier required: Either patentId or patentNumber must be provided. If the user gives a publication number like "US10123456B2", use patentNumber. If they give a numeric patent ID, use patentId.
  2. Priority: When both identifiers are supplied, patentId takes precedence.
  3. Batch queries: Up to 100 patents can be queried at once by passing comma-separated values.
  4. Default language: If the user does not specify a language, default to en (English).

调用方式

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

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

  • 始终将完整响应写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-zhihuiya-description-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/套餐到期/需充值/请充值",或类似含义的内容。

Usage Examples

1. Get English translation of a patent description by publication number

patentNumber: "US10123456B2"
lang: "en"

2. Get Chinese translation of a patent description by patent ID

patentId: "abc123def"
lang: "cn"

3. Batch query with family member fallback

patentNumber: "US10123456B2,EP3456789A1,CN112345678A"
lang: "en"
replaceByRelated: 1

4. Japanese translation of a specific patent

patentNumber: "JP2021012345A"
lang: "jp"

Display Rules

  1. Present the translated text clearly: Show the patent description text directly. For long descriptions, present a summary or the first section and inform the user the full text is available.
  2. Identify substitutions: When pnRelated is present in the response, clearly inform the user that the description was sourced from a family member patent and show the related publication number.
  3. Batch results: When multiple patents are returned, present them in a structured list with clear separation between each patent's description.
  4. Error handling: Report the actual error. An empty translation result does not establish that the patent is absent or that all same-language requests are unsupported. For an original specification, use /zhihuiya/descriptionData and verify the returned patent and text language. Keep the requested target language; do not silently switch it or substitute a family patent.
  5. No fabrication: Never invent or paraphrase patent text. Only display what the API returns.

User Expression & Scenario Quick Reference

Applicable -- Patent description/specification translation queries:

User SaysScenario
"Translate this patent description to English"Single patent translation
"I need the Chinese version of patent US10123456"Specific language translation
"Get me the specification text for these patents"Batch patent description retrieval
"What does patent CN112345678A describe?"Patent description lookup
"Show me the Japanese translation of this patent's full text"Japanese translation
"The description is missing, can you try a family member?"Family member fallback

Not applicable -- Needs beyond patent description translation:

  • Patent search or discovery (finding patents by keyword/topic)
  • Patent claim analysis or claim chart generation
  • Patent legal status or prosecution history
  • Patent citation or reference analysis
  • 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.

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/linkfox-zhihuiya-description-data-translated

Default branch

main

Latest commit

38fef04

Tree SHA

1829f02