Skip to content

nexscope-ai/nexscope-ecommerce-skills / ecommerce-patent-claims-translation

ecommerce.patent-claims-translation

Verified

Retrieves translated patent claims from the Nexscope (Nexscope) patent database. Trigger when the user asks about patent claims, claims translation, viewing claims in specific languages (Chinese, English, or Japanese), querying patent claims by patent ID or publication number, analyzing claim text, claim translation, patent claim translation, Nexscope, patent translation. Also trigger when the user needs patent claim content in a specific language, even without explicitly mentioning translated claims.

Nexscope Patent Claims (Translated)

This skill guides you on how to query translated patent claims from the Nexscope (Nexscope) patent database, enabling users to retrieve claim texts in Chinese, English, or Japanese for a single patent per request.

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.

Calling the Tool

  • API Endpoint: /zhihuiya/claimDataTranslated (full parameters/responses/error codes in references/api.md)
  • Python Script: python scripts/patent_claims_translation.py '<JSON params>' [--inline]
  • Cost constraint: This tool consumes credits. Within the same session and same parameter combination, it defaults to a single call with a 24-hour local cache. Do not automatically retry with different keywords, pagination, or parameters on failure/empty results. Inform the user of additional credit consumption before continuing retrieval.

Output strategy (script default behavior):

  • Always write the full response to <cwd>/nexscope/<YYYY-MM-DD>/<session>/data/ecommerce.patent-claims-translated-<timestamp>.json (<cwd> is the working directory when the script executes, which in Claude Code is the current project directory; <session> is taken from the SESSION_ID environment variable, automatically grouped by user task; do not write to /tmp; error if the current directory is not writable)
  • Response body <= 8 KB: write to disk then print full JSON to stdout
  • Response body > 8 KB: write to disk then print only a summary to stdout (top-level fields, common counts like total/costToken, length of the largest list field + first 3 samples)
  • Add --inline to force full output to stdout (still writes to disk)

Reading data: Check the summary first to determine if it is sufficient. When specific fields are needed, use jq or ConvertFrom-Json to extract from the saved JSON file as needed, avoiding loading the entire JSON into context.

Authentication & Credits

If you encounter authentication or credit issues:

Error conditions

  • API Key not configured: The NEXSCOPE_API_KEY environment variable is not set.
  • HTTP 401 or 402 status code
  • Insufficient credits/balance: Response message indicates credit balance exhausted, quota exceeded, subscription expired, or recharge required.

Resolution steps

  1. Set the NEXSCOPE_API_KEY environment variable with a valid API key.
  2. If credits are insufficient, visit https://www.nexscope.ai/pricing?co-from=skillNS to top up your balance.
  3. For onboarding and setup guidance, refer to https://www.nexscope.ai/help/skills-external-access?co-from=skillNS

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. This Skill sends one patent ID per call; the gateway accepts up to 100 comma-separated IDs.
  • patentNumber -- The publication or announcement number. This Skill sends one publication number per call; the gateway accepts up to 100 comma-separated numbers.

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).

Skill single-patent policy: This endpoint consumes credits. To query multiple patents, obtain explicit user consent and make separate calls for each. This Skill sends one patent per call to control credits; the gateway accepts up to 100 English comma-separated identifiers.

Usage Examples

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

patentNumber: "CN112345678A"
lang: "en"

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. Results contain a single patent's data per call.
  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 the response is large, 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.
  • Skill request policy: This Skill uses one patent per call to control credits; the gateway accepts up to 100 English comma-separated identifiers.
  • 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
"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

API Key request rate

All Nexscope API Keys belonging to the same user share one request-rate allowance for public API execution. The allowance is measured over any rolling 1-second window. Your RPS depends on your account entitlements; do not assume every user has a fixed 1 RPS. A single Skill operation may make multiple public API requests, and each request uses this allowance.

If an execution request returns HTTP 429 with outer code 13012, the request-rate allowance was exceeded. Honor the returned Retry-After before considering another request. Outer code 13013 means the concurrent-request limit was exceeded, not the rate limit; honor its Retry-After when supplied. Inspect the response and reconcile state before retrying. Never automatically replay a write operation or a request whose outcome is unclear.

deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall