Agent skill

Patent Jurisdiction Rules

by illusionaireal in illusionaireal/oh-my-patent

Supplies rules for Chinese, US and PCT patent filings, including examination type, timelines, claim formats, fees and special requirements, through a small TypeScript module.

MITAuto-check passedLegal & Compliance

Install Patent Jurisdiction Rules

skills CLI
$ npx skills add illusionaireal/oh-my-patent --skill jurisdiction -a claude-code

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

GitHub CLI
$ gh skill install illusionaireal/oh-my-patent jurisdiction --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/illusionaireal/oh-my-patent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/jurisdiction .claude/skills/jurisdiction && 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
jurisdiction
GitHub stars
104
Token cost
~1.9k tokens
SKILL.md length
626 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Supplies rules for Chinese, US and PCT patent filings, including examination type, timelines, claim formats, fees and special requirements, through a small TypeScript module.

  • Drafting claims in the Chinese or US format
  • SKILL.md covers Usage, Exports, Supported Jurisdictions and Examples, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Looking up the examination timeline for a CN, US or PCT application

What it does

The skill documents the actual exports of src/skills/jurisdiction.ts in the oh-my-patent plugin, which covers three jurisdictions: CN, US and PCT. For each, it holds the examination type and default timeline, the typical examination range, the claim format and dependent-claim prefix, whether multiple dependent claims are allowed and the claim limit, a fee schedule and special requirements. As recorded there, CN has a 24-month default timeline and a maximum of 10 claims with no multiple dependent claims, while US has a 36-month default and allows them up to a maximum of 20.

Three functions, getJurisdictionRules, getClaimFormat and getExaminationTimeline, take a JurisdictionCode value and throw on an unsupported code, and the package entry re-exports seven symbols. The document says it must be kept in step with the implementation, because an earlier version described an API that never existed.

When your agent uses it

  • Drafting claims in the Chinese or US format
  • Looking up the examination timeline for a CN, US or PCT application
  • Comparing fees and claim limits between jurisdictions

Example prompts

  • “Show the claim format and dependent claim prefix used for a US application.”
  • “Compare the examination timelines for CN and US filings.”
  • “What special requirements does the CN entry list for national phase entry from a PCT application?”

Requirements

  • The oh-my-patent package, imported as a TypeScript module

What it can do on your machine

Read from SKILL.md and the folder at commit f44755c. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Patent Jurisdiction Rules loads about 1.9k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 626 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from illusionaireal/oh-my-patent at commit f44755c, republished under its MIT licence (© illusionaireal). 626 words, ~1,920 tokens.

Download SKILL.mdSave it as .claude/skills/jurisdiction/SKILL.md (or your agent's skills folder).
name
jurisdiction
description
Use when applying CN, US, or PCT patent jurisdiction rules, claim formats, procedures, or timelines.

Jurisdiction Rules Skill

Provides patent jurisdiction rules for CN, US, and PCT: examination type and default timeline, fee schedule, jurisdiction-specific requirements, claim format, and the examination timeline range.

This file documents the actual exports of src/skills/jurisdiction.ts. Every symbol, field name and number below is taken from that file. If you change the implementation, change this document in the same commit — this document used to describe an API that never existed, which is worse than having none.

Usage

The implementation is src/skills/jurisdiction.ts. From inside this skill's directory the relative import is ../jurisdiction.js; consumers outside the package should import from the package entry, which re-exports all seven symbols (src/index.ts).

typescript
import { getJurisdictionRules, JurisdictionCode } from '../jurisdiction.js';

const rules = getJurisdictionRules(JurisdictionCode.CN);

Exports

ExportKindNotes
JurisdictionCodeenumCN / US / PCT — the only supported values
JurisdictionRulesinterfacesee Output Types
ClaimFormatinterfacesee Output Types
ExaminationTimelineinterfacesee Output Types
getJurisdictionRules(code)functionthrows on an unsupported code
getClaimFormat(code)functionthrows on an unsupported code
getExaminationTimeline(code)functionthrows on an unsupported code

Supported Jurisdictions

CN (中国)
  • Country: 中国
  • Examination Type: 实质审查
  • Default Timeline: 24 months
  • Examination Timeline: 18–36 months (typical 24)
  • Claim Format: 一种[产品/方法],其特征在于,包括:[技术特征]
  • Dependent Claim Prefix: 根据权利要求[N]所述的[产品/方法],其特征在于
  • Multiple Dependent Claims: not allowed; max 10 claims
  • Fees: filing 950 / examination 2500 / grant 200 / maintenance 900
  • Special Requirements: Chinese language required / National phase entry required for PCT / Grace period: 6 months for disclosure
US (United States)
  • Country: United States
  • Examination Type: Substantive Examination
  • Default Timeline: 36 months
  • Examination Timeline: 24–48 months (typical 36)
  • Claim Format: A [product/method] comprising: [technical features]
  • Dependent Claim Prefix: The [product/method] of claim [N], wherein
  • Multiple Dependent Claims: allowed; max 20 claims
  • Fees: filing 300 / examination 700 / grant 1000 / maintenance 12000
  • Special Requirements: First to file system / 12-month grace period / Provisional applications available
PCT (Patent Cooperation Treaty)
  • Country: PCT International
  • Examination Type: International Search and Examination
  • Default Timeline: 30 months
  • Examination Timeline: 12–30 months (typical 18)
  • Claim Format: A [product/method] comprising: [technical features]
  • Dependent Claim Prefix: The [product/method] of claim [N], wherein
  • Multiple Dependent Claims: allowed; max 10 claims
  • Fees: filing 2500 / examination 2200 / grant 0 / maintenance 0
  • Special Requirements: 30-month national phase entry / International Search Report included / International Preliminary Examination optional

Examples

Example 1: jurisdiction rules
typescript
import { getJurisdictionRules, JurisdictionCode } from '../jurisdiction.js';

const cnRules = getJurisdictionRules(JurisdictionCode.CN);

console.log(cnRules.code);             // "CN"
console.log(cnRules.country);          // "中国"
console.log(cnRules.examinationType);  // "实质审查"
console.log(cnRules.defaultTimeline);  // 24
console.log(cnRules.fees.filing);      // 950
console.log(cnRules.specialRequirements);
// ["Chinese language required", "National phase entry required for PCT", "Grace period: 6 months for disclosure"]
Example 2: examination timeline

The timeline is not a field of JurisdictionRules — it has its own getter.

typescript
import { getExaminationTimeline, JurisdictionCode } from '../jurisdiction.js';

const cn = getExaminationTimeline(JurisdictionCode.CN);
console.log(cn.minMonths, cn.maxMonths, cn.typical); // 18 36 24

const us = getExaminationTimeline(JurisdictionCode.US);
console.log(us.minMonths, us.maxMonths, us.typical); // 24 48 36

const pct = getExaminationTimeline(JurisdictionCode.PCT);
console.log(pct.minMonths, pct.maxMonths, pct.typical); // 12 30 18
Example 3: claim format
typescript
import { getClaimFormat, JurisdictionCode } from '../jurisdiction.js';

const cn = getClaimFormat(JurisdictionCode.CN);
console.log(cn.independentClaimTemplate);
// "一种[产品/方法],其特征在于,包括:[技术特征]"
console.log(cn.dependentClaimPrefix);
// "根据权利要求[N]所述的[产品/方法],其特征在于"
console.log(cn.multipleDependentClaims, cn.maxClaims); // false 10

const us = getClaimFormat(JurisdictionCode.US);
console.log(us.multipleDependentClaims, us.maxClaims); // true 20
Show full SKILL.md (251 more words)Show less
Example 4: validating a jurisdiction code

There is no isValidJurisdiction() helper. The getters throw on an unsupported value, so validation means checking membership before calling them:

typescript
import { JurisdictionCode, getJurisdictionRules } from '../jurisdiction.js';

const SUPPORTED = Object.values(JurisdictionCode) as string[];

function isValidJurisdiction(value: string): value is JurisdictionCode {
  return SUPPORTED.includes(value);
}

isValidJurisdiction('CN');  // true
isValidJurisdiction('XX');  // false

// Unsupported codes throw rather than returning a default:
// getJurisdictionRules('XX' as JurisdictionCode)  ->  Error: Unsupported jurisdiction: XX

Note that this skill covers CN, US and PCT only. These are the workflow's only supported jurisdictions: the single definition is the JurisdictionCode enum in src/skills/jurisdiction.ts (exported as SUPPORTED_JURISDICTIONS / guarded by isValidJurisdiction), from which state.ts and plugin.jsonc derive their lists. Since REQ-017 the intent router no longer emits unsupported codes (EP / JP are recognized but dropped), so "routed as A, rejected as A" can no longer happen; unsupported requests are answered with an explicit "not supported" instead.

Output Types

JurisdictionRules
  • code: JurisdictionCode
  • country: display name (中国 / United States / PCT International)
  • examinationType: examination procedure name
  • defaultTimeline: number of months (not an object)
  • fees: { filing, examination, grant, maintenance } — all four are always present, 0 where not applicable
  • specialRequirements?: optional list of jurisdiction-specific constraints
ClaimFormat
  • independentClaimTemplate: template for an independent claim
  • dependentClaimPrefix: prefix for a dependent claim, [N] marking the parent claim number
  • multipleDependentClaims: whether multiple-dependent claims are permitted
  • maxClaims: claim-count ceiling
ExaminationTimeline
  • minMonths: fastest realistic examination
  • maxMonths: slowest realistic examination
  • typical: the value to use when a single estimate is needed

Notes

  • All three getters throw on an unsupported code; they never return undefined.
  • JurisdictionRules deliberately carries no claimFormat and no timeline: those are separate types fetched with getClaimFormat() and getExaminationTimeline().
  • CN requires the filing to be in Chinese; PCT covers the international phase only — national-phase rules apply afterwards.
  • Timeline ranges are estimates and vary with backlog.

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

Files

Just SKILL.md in src/skills/jurisdiction of illusionaireal/oh-my-patent.

Open the folder on GitHubat commit f44755c

Compare with similar skills

Patent Jurisdiction Rules 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.

Patent Jurisdiction Rules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Patent Jurisdiction Rules this skillillusionaireal/oh-my-patent104—~1.9kAutomated safety check: PassMIT
Paper to Chinese Patent DrafterYuan1z0825/nature-skills47k1 repos~1.1kAutomated safety check: PassApache-2.0
Paper To Cn Patentsnipp-zha/Paper-to-patent-Skill1071 repos~959Automated safety check: PassNone
Patent Examinegfodor/legal-skills393—~4.8kAutomated safety check: PassGPL-3.0
Patent Auditgfodor/legal-skills393—~2.9kAutomated safety check: PassGPL-3.0
Replica BrandJakeschincariol/replica-skill1.4k—~1.1kAutomated safety check: PassMIT

Similar skills

  • 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
  • Paper To Cn Patent

    snipp-zha/Paper-to-patent-Skill

    Convert scientific papers, theses, technical reports, source code, figures, or research manuscripts into evidence-grounded Chinese invention patent drafts.

    107 GitHub starsUsed in 1 repo~959 tokens
    Legal & ComplianceAuto-check passed
  • Patent Examine

    gfodor/legal-skills

    Iteratively examine and revise a draft U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~4.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Patent Audit

    gfodor/legal-skills

    Audit a draft U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~2.9k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Replica Brand

    Jakeschincariol/replica-skill

    Names and rebrands an app clone so it is the user's own: name candidates with the trademark, domain, store and handle checks to run, a new palette checked for contrast, a logo brief, a voice guide…

    1.4k GitHub stars~1.1k tokensUpdated 8 days ago
    Legal & ComplianceAuto-check passed
  • Patent Workaround

    gfodor/legal-skills

    Adversarially pressure-test a draft or pending U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~5.7k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from illusionaireal/oh-my-patent

  • Patent Brainstorm Path Tracker

    illusionaireal/oh-my-patent

    Records, branches and visualizes the rounds of a patent brainstorming session, scoring each candidate and letting you restore an abandoned idea.

    104 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Prior-Art Evidence Cards

    illusionaireal/oh-my-patent

    Creates standardized evidence cards for patents, papers, standards and other prior-art references, saved as markdown files with required fields by source type.

    104 GitHub stars~516 tokensUpdated 2 days ago
    Auto-check passed
  • Prior Art Search

    illusionaireal/oh-my-patent

    A skill your agent uses when searching patents and technical literature for prior art, novelty, or patentability assessment.

    104 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • Patent Disclosure Quality Gate

    illusionaireal/oh-my-patent

    Scores a patent disclosure for completeness by checking required, recommended and informational sections and deducting points, using a TypeScript QualityChecker.

    104 GitHub stars~216 tokensUpdated 2 days ago
    Auto-check passed
  • Patent Disclosure Drafting

    illusionaireal/oh-my-patent

    Turns technical ideas, documents or code into traceable patent disclosures, with search planning, patent review, figure drawing and the ability to resume a project.

    104 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Disclosure Template

    illusionaireal/oh-my-patent

    A skill your agent uses when creating or validating a patent disclosure document against the required section template.

    104 GitHub stars~161 tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Patent Jurisdiction Rules

What does Patent Jurisdiction Rules do?

Supplies rules for Chinese, US and PCT patent filings, including examination type, timelines, claim formats, fees and special requirements, through a small TypeScript module. ts in the oh-my-patent plugin, which covers three jurisdictions: CN, US and PCT. For each, it holds the examination type and default timeline, the typical examination range, the claim format and dependent-claim prefix, whether multiple dependent claims are allowed and the claim limit, a fee schedule and special requirements.

When should I use Patent Jurisdiction Rules?

Patent Jurisdiction Rules fits situations like: drafting claims in the Chinese or US format; looking up the examination timeline for a CN, US or PCT application; comparing fees and claim limits between jurisdictions.

How do I install Patent Jurisdiction Rules in Claude Code?

Run `npx skills add illusionaireal/oh-my-patent --skill jurisdiction -a claude-code`. Or copy the skill folder (src/skills/jurisdiction in illusionaireal/oh-my-patent) into .claude/skills/jurisdiction in your project. Claude Code loads it when a task matches its description.

How do I install Patent Jurisdiction Rules in Codex?

Run `npx skills add illusionaireal/oh-my-patent --skill jurisdiction -a codex`. Or copy the skill folder (src/skills/jurisdiction in illusionaireal/oh-my-patent) into .agents/skills/jurisdiction in your project. Codex loads it when a task matches its description.

Can I use Patent Jurisdiction Rules 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 illusionaireal/oh-my-patent --skill jurisdiction -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/jurisdiction, .gemini/skills/jurisdiction, .github/skills/jurisdiction and .opencode/skills/jurisdiction in your project.

What does Patent Jurisdiction Rules need to run?

SKILL.md names no scripts, command-line tools or credentials: Patent Jurisdiction Rules is instructions for the agent only. Our summary lists: The oh-my-patent package, imported as a TypeScript module.

Does Patent Jurisdiction Rules access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Patent Jurisdiction Rules 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. Review the folder before installing.

What licence does Patent Jurisdiction Rules use?

Patent Jurisdiction Rules 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 Patent Jurisdiction Rules use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Patent Jurisdiction Rules?

Skills that share tags, products or a category with Patent Jurisdiction Rules: Paper to Chinese Patent Drafter (Yuan1z0825/nature-skills, 47k stars), Paper To Cn Patent (snipp-zha/Paper-to-patent-Skill, 107 stars), Patent Examine (gfodor/legal-skills, 393 stars) and Patent Audit (gfodor/legal-skills, 393 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Patent Jurisdiction Rules?

illusionaireal (a GitHub user) maintains it in illusionaireal/oh-my-patent, which has 104 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.

Source: illusionaireal/oh-my-patent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.