Agent skill

Linkfox Zhihuiya PDF Data

by linkfox-ai in linkfox-ai/linkfox-skills

通过专利ID或公开号从智慧芽专利数据库下载专利PDF全文文档。当用户提到专利PDF下载、专利全文、专利文件获取、公开号查询、专利家族PDF替代、批量专利PDF导出、patent PDF download, patent full-text document, patent file download, PatSnap, patent…

MITAuto-check passedLegal & Compliance

Install Linkfox Zhihuiya PDF Data

skills CLI
$ npx skills add linkfox-ai/linkfox-skills --skill linkfox-zhihuiya-pdf-data -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install linkfox-ai/linkfox-skills linkfox-zhihuiya-pdf-data --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/linkfox-zhihuiya-pdf-data .claude/skills/linkfox-zhihuiya-pdf-data && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
linkfox-zhihuiya-pdf-data
GitHub stars
107
Used in
1 other repo
Token cost
~1.8k tokens
SKILL.md length
799 words
Files
5 (incl. scripts, references)
Skills in repo
177
Repo updated
First seen
Licence
MIT

At a glance

通过专利ID或公开号从智慧芽专利数据库下载专利PDF全文文档。当用户提到专利PDF下载、专利全文、专利文件获取、公开号查询、专利家族PDF替代、批量专利PDF导出、patent PDF download, patent full-text document, patent file download, PatSnap, patent…

  • Works in 5 steps: Present download links clearly: For each… → Highlight substitutions: If a PDF was… → Batch results: When multiple patents are… → …
  • Tasks that involve Intellectual property
  • SKILL.md covers Core Concepts, Parameter Guide, Response Fields and 调用方式, plus 6 more sections
  • Runs Python scripts from its folder; calls python; needs LINKFOX_AGENT_API_KEY and LINKFOXAGENT_API_KEY

What it does

Linkfox Zhihuiya PDF Data is an agent skill from linkfox-ai/linkfox-skills. 通过专利ID或公开号从智慧芽专利数据库下载专利PDF全文文档。当用户提到专利PDF下载、专利全文、专利文件获取、公开号查询、专利家族PDF替代、批量专利PDF导出、patent PDF download, patent full-text document, patent file download, PatSnap, patent PDF时触发此技能。即使用户未明确提及"智慧芽",只要其需求涉及下载或查看专利PDF文档,也应触发此技能。

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/api.md`, `references/onboarding.md` and `scripts/onboarding.py`).

It sits in Legal & Compliance, covering Intellectual property and PDF. The licence is MIT.

When your agent uses it

  • Tasks that involve Intellectual property
  • Tasks that involve PDF

Example prompts

  • “/linkfox-zhihuiya-pdf-data”

Requirements

  • Python 3
  • A credential in LINKFOX_AGENT_API_KEY
  • A credential in LINKFOXAGENT_API_KEY

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Present download links clearly: For each patent, show the publication number and its PDF download link in a clean table or list format.
  2. Highlight substitutions: If a PDF was provided via family patent substitution, explicitly note this and show the pnRelated value so the…
  3. Batch results: When multiple patents are returned, present them in a table with columns: Publication Number, Patent ID, PDF Link, and…
  4. Error handling: When a query fails or returns no results, explain the reason and suggest the user verify the patent ID or publication…
  5. No PDF available: If a patent entry is returned without a pdfPath, inform the user that the PDF is not available and suggest enabling…

What it can do on your machine

Read from SKILL.md and the folder at commit 38fef04. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • skill.linkfox.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LINKFOX_AGENT_API_KEY
    • LINKFOXAGENT_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Linkfox Zhihuiya PDF Data loads about 1.8k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 799 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from linkfox-ai/linkfox-skills at commit 38fef04, republished under its MIT licence (© linkfox-ai). 799 words, ~1,830 tokens.

Download SKILL.mdSave it as .claude/skills/linkfox-zhihuiya-pdf-data/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
linkfox-zhihuiya-pdf-data
description
通过专利ID或公开号从智慧芽专利数据库下载专利PDF全文文档。当用户提到专利PDF下载、专利全文、专利文件获取、公开号查询、专利家族PDF替代、批量专利PDF导出、patent PDF download, patent full-text document, patent file download, PatSnap, patent PDF时触发此技能。即使用户未明确提及"智慧芽",只要其需求涉及下载或查看专利PDF文档,也应触发此技能。

Zhihuiya Patent PDF Downloader

This skill guides you on how to retrieve patent PDF full-text download links from the Zhihuiya patent database, supporting lookup by patent ID or publication number.

Core Concepts

The Zhihuiya Patent PDF service provides direct download links to the full-text PDF documents of patents worldwide. You can query by patent ID or publication number (also called public announcement number), and retrieve up to 100 patents in a single request.

Lookup priority: When both patentId and patentNumber are supplied, the service uses patentId first. This is important to remember when both identifiers are available.

Family substitution: If a patent's own PDF is unavailable, the service can optionally return the PDF of a related family patent instead.

Parameter Guide

ParameterTypeRequiredDescription
patentIdstringConditionallyPatent ID(s). At least one of patentId or patentNumber must be provided. Separate multiple values with commas. Max 100 entries.
patentNumberstringConditionallyPublication/announcement number(s). At least one of patentId or patentNumber must be provided. Separate multiple values with commas. Max 100 entries.
replaceByRelatedstringNoWhether to substitute with a family patent PDF when the original is unavailable. 1 = yes, 0 = no. Defaults to no substitution.
How to Choose the Right Identifier
  • Patent ID (patentId): An internal numeric identifier within the Zhihuiya system. Use this when the user provides Zhihuiya-specific IDs.
  • Publication Number (patentNumber): The public-facing patent number (e.g., US20230012345A1, CN115000000A). Use this when the user provides standard patent numbers.

Response Fields

FieldDescription
totalNumber of records returned
dataArray of patent objects, each containing download information
data[].patentIdThe patent ID
data[].pnThe publication/announcement number
data[].pdfPathThe PDF full-text download URL
data[].pnRelatedPublication number of the substitute family patent (only present when family substitution is used)
costTokenTokens consumed by the request

调用方式

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

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

  • 始终将完整响应写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-zhihuiya-pdf-data-<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. Single Patent by Publication Number

Retrieve the PDF for patent publication number US20230012345A1.

Parameters: {"patentNumber": "US20230012345A1"}

2. Multiple Patents by Publication Number

Download PDFs for CN115000000A, CN115000001A, and CN115000002A.

Parameters: {"patentNumber": "CN115000000A,CN115000001A,CN115000002A"}

3. Single Patent by Patent ID

Get the full-text PDF for patent ID 12345678.

Parameters: {"patentId": "12345678"}

4. With Family Substitution Enabled

Download the PDF for EP4000000A1. If it is unavailable, use a family patent PDF instead.

Parameters: {"patentNumber": "EP4000000A1", "replaceByRelated": "1"}

5. Batch Download by Patent IDs

Retrieve PDFs for patent IDs 11111111, 22222222, 33333333.

Parameters: {"patentId": "11111111,22222222,33333333"}

Display Rules

  1. Present download links clearly: For each patent, show the publication number and its PDF download link in a clean table or list format.
  2. Highlight substitutions: If a PDF was provided via family patent substitution, explicitly note this and show the pnRelated value so the user knows which family patent was used.
  3. Batch results: When multiple patents are returned, present them in a table with columns: Publication Number, Patent ID, PDF Link, and Substitution Note (if applicable).
  4. Error handling: When a query fails or returns no results, explain the reason and suggest the user verify the patent ID or publication number. If replaceByRelated was not enabled, suggest enabling it as an alternative.
  5. No PDF available: If a patent entry is returned without a pdfPath, inform the user that the PDF is not available and suggest enabling family substitution.
Show full SKILL.md (252 more words)Show less

Important Limitations

  • Batch limit: A maximum of 100 patents per request.
  • Identifier requirement: At least one of patentId or patentNumber must be provided; the request will fail if both are empty.
  • Priority rule: When both identifiers are provided, patentId takes precedence over patentNumber.
  • PDF availability: Not all patents have PDFs available. Use the replaceByRelated option to fall back to family patents.

User Expression & Scenario Quick Reference

Applicable -- Patent PDF document retrieval tasks:

User SaysScenario
"Download the PDF for patent XX"Single patent PDF retrieval
"Get full-text documents for these patents"Batch patent PDF download
"I need the PDF for publication number XX"Lookup by publication number
"Can I get the patent document even if it's not directly available"Family substitution scenario
"Batch export patent PDFs"Multi-patent batch download

Not applicable -- Needs beyond patent PDF retrieval:

  • Patent search or discovery (finding patents by keyword, assignee, etc.)
  • Patent citation or legal status analysis
  • Patent claim interpretation or translation
  • Patent portfolio analytics or landscape mapping

算力消耗规则

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

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

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.

© linkfox-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/linkfox-zhihuiya-pdf-data of linkfox-ai/linkfox-skills.

  • SKILL.md
  • references/api.md
  • references/onboarding.md
  • scripts/onboarding.py
  • scripts/zhihuiya_pdf_data.py

Open the folder on GitHubat commit 38fef04

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in linkfox-ai/linkfox-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Linkfox Zhihuiya PDF Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Linkfox Zhihuiya PDF Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Linkfox Zhihuiya PDF Data this skilllinkfox-ai/linkfox-skills1071 repos~1.8kAutomated safety check: PassMIT
Paper2patent7toCR/paper2patent654—~2.5kAutomated safety check: PassMIT
Patentfigdavila7/claude-code-templates33k—~1.2kAutomated safety check: PassMIT
Index ManagerRobThePCGuy/Claude-Patent-Creator196—~994Automated safety check: PassMIT
Researchalirezarezvani/claude-skills28k—~4.3kAutomated safety check: PassMIT
Data Exportgustavscirulis/snapgrid1161 repos~2.9kAutomated safety check: NotesCustom licence

Similar skills

  • Paper2patent

    7toCR/paper2patent

    Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with…

    654 GitHub stars~2.5k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Patentfig

    davila7/claude-code-templates

    Generate patent-office-compliant figures via the PatentFig AI API — patent line art from text (PNG or SVG), vectorize drawings to SVG/DXF/vector PDF, AI-upscale images, and convert to filing-ready…

    33k GitHub stars~1.2k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Index Manager

    RobThePCGuy/Claude-Patent-Creator

    Manages MPEP index lifecycle including downloads, building, maintenance, and optimization.

    196 GitHub stars~994 tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Research

    alirezarezvani/claude-skills

    Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends/sentiment, grants…

    28k GitHub stars~4.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Data Export

    gustavscirulis/snapgrid

    Generates data export/import infrastructure for JSON, CSV, PDF formats with GDPR data portability, share sheet integration, and file import.

    116 GitHub starsUsed in 1 repo~2.9k tokens
    Legal & ComplianceAuto-check: notes
  • Paper to Chinese Patent Drafter

    Yuan1z0825/nature-skills

    Drafts Chinese invention patent applications and technical disclosures from research papers or inventor materials, tying each claim feature to source evidence.

    47k GitHub starsUsed in 1 repo~1.1k tokens
    Legal & ComplianceAuto-check passed

More from linkfox-ai/linkfox-skills

All 177 skills in this repo
  • Linkfox 1688 Search By Image

    linkfox-ai/linkfox-skills

    1688平台以图搜图,通过商品图片精准检索外观相似或同款的1688货源,返回标题、价格、起批量、月销量、复购率、交易评分等核心数据。当用户提到1688以图搜图、1688找货源、以图找同款、跨境找工厂、1688识图、图片找货源、找相似货源、image search 1688、find supplier by…

    107 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Linkfox Aba Intelligent Query

    linkfox-ai/linkfox-skills

    亚马逊ABA(品牌分析)搜索词数据的查询与分析,涵盖15个站点近3年的周维度数据。当用户提到ABA数据、亚马逊搜索词分析、关键词挖掘、搜索排名趋势、市场机会分析、季节性关键词、高点击低转化分析、蓝海词发现、竞品关键词分析、ABA data, search term report, keyword mining, search ranking trends, blue ocean…

    107 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Linkfox Amazon Alexa Search

    linkfox-ai/linkfox-skills

    通过亚马逊前台的 Alexa 购物助手发起自然语言问答,获取与问题相关的导购回答、推荐商品分组、ASIN 列表,以及可继续追问的问题。每次调用仅支持 1 条 prompt,如需追问须由 agent 总结上下文后拼接新问题发起新请求。可用 url 补充亚马逊页面上下文。当用户提到亚马逊 Alexa、Alexa 购物助手、亚马逊智能助手、AI…

    107 GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • 亚马逊反向选品:基于历史商业洞察报告沉淀的指标数据池,按 30+ 项商业维度(市场规模与增长、价格区间与档位份额、竞争密度与头部集中度、人群画像如年龄/性别/收入、评论卖点与痛点等)反向筛选亚马逊赛道与关键词。当用户提到反向选品、指标筛选、细分市场反查、蓝海赛道挖掘、低竞争赛道、新人友好赛道、品牌分散市场、痛点切入、卖点反查、定价档位机会、人群画像选品、Amazon niche reverse…

    107 GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • Linkfox Amazon Product Detail

    linkfox-ai/linkfox-skills

    通过ASIN获取亚马逊商品详细信息,包括标题、图片、五点描述、规格参数、A+页面、价格、评分评论、变体等;可在取得原始HTML时尝试提取Item Highlights(商品亮点)。当用户提到亚马逊商品详情、ASIN查询、商品页面数据、Listing分析、五点描述提取、Item…

    107 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Linkfox Amazon Reviews List

    linkfox-ai/linkfox-skills

    按ASIN获取并分析亚马逊商品评论,支持15个站点(含美国站),按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review…

    107 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Questions about Linkfox Zhihuiya PDF Data

What does Linkfox Zhihuiya PDF Data do?

通过专利ID或公开号从智慧芽专利数据库下载专利PDF全文文档。当用户提到专利PDF下载、专利全文、专利文件获取、公开号查询、专利家族PDF替代、批量专利PDF导出、patent PDF download, patent full-text document, patent file download, PatSnap, patent…. Linkfox Zhihuiya PDF Data is an agent skill from linkfox-ai/linkfox-skills.

When should I use Linkfox Zhihuiya PDF Data?

Linkfox Zhihuiya PDF Data fits situations like: tasks that involve Intellectual property; tasks that involve PDF.

How do I install Linkfox Zhihuiya PDF Data in Claude Code?

Run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-zhihuiya-pdf-data -a claude-code`. Or copy the skill folder (skills/linkfox-zhihuiya-pdf-data in linkfox-ai/linkfox-skills) into .claude/skills/linkfox-zhihuiya-pdf-data in your project. Claude Code loads it when a task matches its description.

How do I install Linkfox Zhihuiya PDF Data in Codex?

Run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-zhihuiya-pdf-data -a codex`. Or copy the skill folder (skills/linkfox-zhihuiya-pdf-data in linkfox-ai/linkfox-skills) into .agents/skills/linkfox-zhihuiya-pdf-data in your project. Codex loads it when a task matches its description.

Can I use Linkfox Zhihuiya PDF Data in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-zhihuiya-pdf-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/linkfox-zhihuiya-pdf-data, .gemini/skills/linkfox-zhihuiya-pdf-data, .github/skills/linkfox-zhihuiya-pdf-data and .opencode/skills/linkfox-zhihuiya-pdf-data in your project.

What does Linkfox Zhihuiya PDF Data need to run?

Going by SKILL.md and its folder, Linkfox Zhihuiya PDF Data needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named LINKFOX_AGENT_API_KEY and LINKFOXAGENT_API_KEY. Our summary lists: Python 3; A credential in LINKFOX_AGENT_API_KEY; A credential in LINKFOXAGENT_API_KEY.

Does Linkfox Zhihuiya PDF Data access the network?

SKILL.md names 1 domain. As links in the text: skill.linkfox.com. This is read from the text; nothing was executed.

Is Linkfox Zhihuiya PDF Data safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Linkfox Zhihuiya PDF Data use?

Linkfox Zhihuiya PDF Data is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Linkfox Zhihuiya PDF Data use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Linkfox Zhihuiya PDF Data?

Skills that share tags, products or a category with Linkfox Zhihuiya PDF Data: Paper2patent (7toCR/paper2patent, 654 stars), Patentfig (davila7/claude-code-templates, 33k stars), Index Manager (RobThePCGuy/Claude-Patent-Creator, 196 stars) and Research (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Linkfox Zhihuiya PDF Data?

linkfox-ai (a GitHub user) maintains it in linkfox-ai/linkfox-skills, which has 107 GitHub stars. The repository holds 177 skills in this directory. The repository was last updated on September 14, 2026.

Source: linkfox-ai/linkfox-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.