Retrieves patent abstract images (drawings) from the Nexscope (Nexscope) patent database by patent ID or publication number. Trigger when the user mentions patent abstract drawings, patent diagrams, patent figures, patent images, abstract drawing retrieval, patent image lookup, patent abstract images, patent drawings, patent illustrations, Nexscope, abstract image lookup. Also trigger when the user needs to view the drawings or figures in patent documents, even without explicitly mentioning Nexscope.
npx skills add https://github.com/nexscope-ai/nexscope-ecommerce-skills --skill ecommerce.patent-abstract-image-data
This skill guides you on how to retrieve abstract images (drawings) from the Nexscope patent database, helping users quickly obtain the illustrative figures associated with specific patents.
Abstract images (abstract drawings) are the representative figures attached to a patent document's abstract section. They provide a quick visual overview of the invention. This tool queries the Nexscope patent database and returns download paths for these images.
Lookup logic: Provide at least one of a patent ID or a publication number. Each field accepts 1 to 100 values separated by English commas, up to 60,000 characters. If both fields are provided, patentId takes priority.
| Parameter | API Name | Required | Description | Example |
|-----------|----------|----------|-------------|---------|
| Patent ID | patentId | Conditionally (one of the two must be provided) | Internal patent IDs; up to 100 English-comma-separated values, maximum 60,000 characters | 5e6f7a8b9c,6f7a8b9c0d |
| Publication Number | patentNumber | Conditionally (one of the two must be provided) | Patent publication/announcement numbers; up to 100 English-comma-separated values, maximum 60,000 characters | CN115059423A,CN115059424A |
patentId or patentNumber must be supplied.patentId takes precedence.> Credit use: This endpoint consumes credits. Keep the requested batch within the user's stated scope, and explain any additional calls before expanding that scope.
| Field | API Name | Description |
|-------|----------|-------------|
| Patent ID | patentId | The internal patent identifier |
| Publication Number | pn | The publication/announcement number |
| Abstract Drawing Path | abstractDrawingPath | URL path to the abstract image file |
| Total | total | Total number of records returned |
| Cost Token | costToken | Tokens consumed by the query |
/zhihuiya/abstractImage (full parameters/responses/error codes in references/api.md)python scripts/patent_abstract_image_data.py '<JSON params>' [--inline]Output strategy (script default behavior):
<cwd>/nexscope/<YYYY-MM-DD>/<session>/data/ecommerce.patent-abstract-image-data-<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)total/costToken, length of the largest list field + first 3 samples)--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.
If you encounter authentication or credit issues:
NEXSCOPE_API_KEY environment variable is not set.NEXSCOPE_API_KEY environment variable with a valid API key.1. Single patent lookup by publication number
Retrieve the abstract image for patent CN115059423A.
2. Batch lookup by publication number
Retrieve the abstract images for patents CN115059423A and CN115059424A.
Pass {"patentNumber":"CN115059423A,CN115059424A"} to the script for this batch.
3. Lookup by patent ID
Fetch the abstract image for patent ID 5e6f7a8b9c.
abstractDrawingPath, display the image directly using Markdown image syntax so the user can see the drawing inline.pn) alongside each image so the user knows which patent each drawing belongs to.abstractDrawingPath), explicitly inform the user that no abstract image is available for that patent.pn).Applicable -- Patent abstract image retrieval:
| User Says | Scenario |
|-----------|----------|
| "Show me the abstract image for patent XX" | Single patent image lookup |
| "What does the patent figure look like" | Abstract drawing retrieval |
| "Retrieve patent illustrations for XX" | Image download path retrieval |
| "I need the abstract drawing for publication number XX" | Lookup by publication number |
Not applicable -- Needs beyond abstract image retrieval:
Take nexscope-ai/ecommerce.patent-abstract-image-data from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.