cnipa-patent-search

cnipa-patent-search is a skill for Claude Code, Codex from desirecore/market. It costs 131 tokens per session (2,518 once invoked), scanned A, original, MIT.

A search tool for China’s National Intellectual Property Administration patent database. Give it a company name as the applicant to retrieve patent records such as application numbers, titles, types, status, inventors, and publication dates.

In plain words
What is it for?
Use it to investigate a company’s invention, utility-model, and design patents, including their current status and related agencies.
Why use it?
It saves time compared with checking patent records one by one. The database requires a registered, logged-in account, so it is not an anonymous search service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate a company’s invention, utility-model, and design patents, including their current status and related agencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desirecore/market/cnipa-patent-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add desirecore/market --skill cnipa-patent-search
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cnipa-patent-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/desirecore/market/cnipa-patent-search/github.svg)](https://agentmods.dev/skills/desirecore/market/cnipa-patent-search)
Your own site
<a href="https://agentmods.dev/skills/desirecore/market/cnipa-patent-search"><img src="https://agentmods.dev/badge/skills/desirecore/market/cnipa-patent-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cnipa-patent-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/desirecore/market/cnipa-patent-search"><img src="https://agentmods.dev/badge/skills/desirecore/market/cnipa-patent-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,518 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.02518
Opus 5 $0.00066 $0.01259
Sonnet 5 $0.00026 $0.00504
Haiku 4.5 $0.00013 $0.00252

Measured 6d ago against content hash d00a4809577d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cnipa-patent-search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl.exe -s -X POST "http://127.0.0.1:10086/command" \
skills/cnipa-patent-search/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

L0: One-Sentence Summary

Input a company name, drive the CNIPA pss-system patent search via Kimi WebBridge browser automation, and return a structured patent list.

L1: Overview

  • Data source: CNIPA Patent Search and Analysis System (pss-system.cponline.cnipa.gov.cn)
  • Auth: logged-in account (registration required — anonymous search redirects to login)
  • Invocation: Kimi WebBridge browser automation (navigate + evaluate + CDP insertText)
  • Prerequisites:
    • Kimi WebBridge daemon running
    • the user has logged into pss-system in the browser (login persists; log in once and reuse)

Account Registration

pss-system requires real-name registration (phone + SMS):

  1. Open https://pss-system.cponline.cnipa.gov.cn/ in the browser
  2. Click "注册" and complete real-name registration
  3. Log in once — the browser keeps the session for later automation

L2: Procedure

1. Check the WebBridge daemon

~/.kimi-webbridge/bin/kimi-webbridge.exe status

If down or disconnected, start it: kimi-webbridge.exe start.

2. Navigate to pss-system

Write C:\tmp\cnipa-nav.json:

{
  "action": "navigate",
  "args": {
    "url": "https://pss-system.cponline.cnipa.gov.cn/",
    "newTab": true,
    "group_title": "专利检索"
  },
  "session": "cnipa-patent"
}
curl.exe -s -X POST "http://127.0.0.1:10086/command" \
  -H "Content-Type: application/json" \
  --data-binary "@C:\tmp\cnipa-nav.json" --max-time 30

Wait 5 seconds.

3. Confirm login, accept the disclaimer, enter search

Write C:\tmp\cnipa-agree.json:

{
  "action": "evaluate",
  "args": {
    "code": "(async function(){var txt=document.body.innerText||'';var hasLogout=txt.includes('退出');if(txt.includes('免责声明')){var btns=document.querySelectorAll('button.el-button--primary');for(var b of btns){if((b.innerText||'').replace(/\\s+/g,'')==='同意'){b.click();break;}}await new Promise(function(r){setTimeout(r,4000);});}txt=document.body.innerText||'';return JSON.stringify({url:location.href.slice(0,80),isSearch:txt.includes('常规检索'),inputs:document.querySelectorAll('input').length,hasLogout:hasLogout});})()"
  },
  "session": "cnipa-patent"
}

Read the full file on GitHub · 229 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 229 lines · 131 tokens per session scan A d00a4809577d

Subscribe to this mod's changes

cnipa-patent-search is a skill published in the GitHub repository desirecore/market (2 stars, last pushed today), licensed MIT. It adds 131 tokens to every session and 2,518 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.