К основному содержанию
скилл CX Codex

jurisdiction-format — скилл для Claude Code: патент в формате CN/US/EP

Пересобирает черновик патентной заявки в формат подачи для CNIPA, USPTO или EPO. Полезен, когда формула и описание уже написаны, а разложить их по национальным правилам нет времени.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill jurisdiction-format -a claude-code
Открыть на GitHub

Что делает jurisdiction-format

Скилл читает patent/CLAIMS.md, разделы описания из patent/specification/, описания фигур из patent/figures/ и patent/INVENTION_DISCLOSURE.md для метаданных. Дальше он раскладывает всё по структуре выбранного ведомства и пишет результат в patent/output/.

Юрисдикция задаётся аргументом: CN, US, EP или ALL. Для CNIPA собирается 权利要求书, 说明书 и 说明书摘要, для USPTO — claims, specification, abstract и скелет Application Data Sheet, для EPO — формула в двухчастной форме по Rule 43(1) EPC и Reference Signs List. Язык вывода тоже разный: китайский для CN, английский для US и EP.

Содержание формулы скилл не меняет, только переформатирует. Поэтому если в исходнике нет родового понятия или антецедента, автоматика это не починит — проверять придётся руками. Вывод в docx требует python-docx; без него скилл откатывается на markdown.

Какие задачи решает

  • разложить готовую формулу по правилам CNIPA, USPTO и EPO
  • собрать описание в порядке разделов, который требует конкретное ведомство
  • проверить, что нумерация позиций совпадает во всех форматах
  • подготовить скелет Application Data Sheet для подачи в США
  • сравнить объём реферата с лимитом знаков или слов по юрисдикции

Примеры запросов агенту

  • /jurisdiction-format ALL
  • /jurisdiction-format US
  • Пересобери заявку из patent/ в формат EPO

Как установить jurisdiction-format

1Через Skills CLI (Vercel)

npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill jurisdiction-format -a claude-code

2Вручную: положить файлы

~/.claude/skills/jurisdiction-format/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/jurisdiction-format/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о jurisdiction-format

Как установить jurisdiction-format в Claude?

Выполните npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill jurisdiction-format -a claude-code. После этого файл скилла появится по пути ~/.claude/skills/jurisdiction-format/SKILL.md.

Что делает jurisdiction-format?

Собирает патентную заявку в формат подачи для CNIPA, USPTO или EPO: формулу, описание и реферат по правилам выбранного ведомства. Содержание при этом не переписывается.

Нужен ли python-docx?

Только если нужен вывод в docx. Без установленного python-docx скилл откатывается на markdown.

Исходный текст

SKILL.md · MIT
---
name: jurisdiction-format
description: "Compile patent application into jurisdiction-specific filing format. Use when user says \"格式转换\", \"jurisdiction format\", \"国家格式\", \"compile patent\", or wants formatted patent documents for CN/US/EP filing."
argument-hint: "[patent-directory-or-jurisdiction]"
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob
---

# Jurisdiction Format: Patent Filing Compilation

Compile the patent application into filing-ready format based on: **$ARGUMENTS**

Analogous to `/paper-compile` but for patent document formatting instead of LaTeX.

## Constants

- `JURISDICTION = "auto"` — From pipeline or args: `CN`, `US`, `EP`, `ALL`
- `PATENT_TYPE = "invention"` — `invention` (发明专利) or `utility_model` (实用新型, CN only)
- `OUTPUT_FORMAT = "markdown"` — `markdown` (for review) or `docx` (for filing, requires python-docx)
- `OUTPUT_DIR = "patent/output/"` — Base output directory

## Inputs

1. `patent/CLAIMS.md` — drafted claims
2. `patent/specification/` — all specification sections (title, technical_field, background, summary, drawings_description, detailed_description, abstract)
3. `patent/figures/` — figure descriptions and numeral index
4. `patent/INVENTION_DISCLOSURE.md` — for metadata

## Shared References

Load `../shared-references/patent-format-cn.md` for CNIPA document structure and formatting rules.
Load `../shared-references/patent-format-us.md` for USPTO document structure.
Load `../shared-references/patent-format-ep.md` for EPO document structure.

## Workflow

### Step 1: Determine Output Jurisdictions

From `$ARGUMENTS` or constant:
- `CN` -> Generate CNIPA format only
- `US` -> Generate USPTO format only
- `EP` -> Generate EPO format only
- `ALL` -> Generate all three formats

### Step 2: Generate CN Format (if CN or ALL)

Output to `patent/output/CN/`:

#### 权利要求书 (Claims)
- Extract claims from `patent/CLAIMS.md`
- Format per CNIPA conventions:
  - Independent claims: "1. 一种[主题]的方法,...其特征在于..."
  - Dependent claims: "2. 根据权利要求1所述的方法,其特征在于..."
- Ensure Chinese terminology is correct (所述, 其特征在于, 包括, 等)

#### 说明书 (Description)
Combine all specification sections in CNIPA order:
1. 发明名称 (from title.md)
2. 技术领域 (from technical_field.md)
3. 背景技术 (from background.md)
4. 发明内容 (from summary.md — split into 技术问题/技术方案/有益效果)
5. 附图说明 (from drawings_description.md)
6. 具体实施方式 (from detailed_description.md)

#### 说明书摘要 (Abstract)
- Extract from abstract.md
- Verify word count <= 300 Chinese characters
- Include most representative claim

#### Format as markdown or docx
If `OUTPUT_FORMAT = "markdown"`:
- Write as separate .md files with clear section headers

If `OUTPUT_FORMAT = "docx"`:
- Use python-docx to create Word documents matching CNIPA templates
- Set font to 宋体 (SimSun) for body, 黑体 (SimHei) for headers
- Standard margins (上下 2.54cm, 左右 3.17cm)

### Step 3: Generate US Format (if US or ALL)

Output to `patent/output/US/`:

#### Claims Section
- Number all claims sequentially (1, 2, 3, ...)
- Format per US conventions:
  - "1. A method for [purpose], comprising:"
  - "2. The method of claim 1, wherein..."
- Ensure antecedent basis is correct ("a" -> "the")

#### Specification
Combine all sections in USPTO order:
1. Title
2. Cross-Reference to Related Applications (if any)
3. Field of the Invention
4. Background of the Invention
5. Brief Summary of the Invention
6. Brief Description of the Drawings
7. Detailed Description of Preferred Embodiments
8. Abstract

Format drawings references as "FIG. 1" (not "Figure 1").

#### Abstract
- Extract from abstract.md
- Verify word count <= 150 words / 2500 characters

#### Application Data Sheet (ADS) Template
Generate a skeleton ADS with:
- Title
- Inventor information (placeholder)
- Application type
- Entity status (small/micro/large)

### Step 4: Generate EP Format (if EP or ALL)

Output to `patent/output/EP/`:

#### Claims Section
- Format in two-part form per Rule 43(1) EPC:
  - "1. A method for [purpose], comprising [known features], characterised in that [inventive features]."
- Ensure the "characterised in that" phrase is present in all independent claims

#### Description
Combine all sections in EPO Rule 42 order:
1. Title of the Invention
2. Technical Field
3. Background Art
4. Disclosure of the Invention (problem-solution-advantage)
5. Description of Embodiments
6. Brief Description of Drawings
7. Reference Signs List (mandatory at EPO)

Format drawings references as "FIG. 1" or "Figure 1".

#### Abstract
- Extract from abstract.md
- ~150 words limit

### Step 5: Consistency Check

Verify across all generated formats:
- [ ] All claims are present in every format
- [ ] Claim numbering is consistent
- [ ] Reference numerals match specification across all formats
- [ ] No format-specific requirements are violated
- [ ] Language is correct for each jurisdiction (Chinese for CN, English for US/EP)

### Step 6: Output Summary

Write `patent/output/OUTPUT_SUMMARY.md`:

```markdown
## Patent Filing Documents

### Generated Files

#### CN (CNIPA)
| File | Description | Status |
|------|-------------|--------|
| 权利要求书.md | Claims in CN format | Complete |
| 说明书.md | Description in CN format | Complete |
| 说明书摘要.md | Abstract (CN) | Complete |

#### US (USPTO)
| File | Description | Status |
|------|-------------|--------|
| claims.md | Claims in US format | Complete |
| specification.md | Description in US format | Complete |
| abstract.md | Abstract (US) | Complete |
| ads_template.md | Application Data Sheet skeleton | Complete |

#### EP (EPO)
| File | Description | Status |
|------|-------------|--------|
| claims.md | Claims in EP format | Complete |
| description.md | Description in EP format | Complete |
| abstract.md | Abstract (EP) | Complete |

### Consistency Check
- [ ] All claims present in all formats
- [ ] Reference numerals consistent
- [ ] Language correct per jurisdiction
```

## Key Rules

- Never mix jurisdiction formats (e.g., do not include "其特征在于" in US claims).
- Claims must be identical in technical content across jurisdictions, only the format differs.
- For CN output, verify Chinese patent terminology is correct and consistent.
- For EP output, the two-part claim form is mandatory -- every independent claim must have "characterised in that."
- Abstract word limits are jurisdiction-specific and must be verified.
- The jurisdiction-format skill does NOT modify claim content -- it reformats existing content only.
- If `OUTPUT_FORMAT = "docx"`, check that python-docx is available; if not, fall back to markdown.

© wanshuiyin · MIT · wanshuiyin/Auto-claude-code-research-in-sleep

Похожие скиллы

Всё по теме «Тексты и документация» →
patent Alireza Rezvani Скилл ищет патентный уровень техники и строит ландшафт по выбранной задаче. Подходит для первичной технической оценки перед решением о подаче или лицензировании. 357установок claim-chart официальный anthropics Строит и проверяет таблицы сопоставления признаков для патентных и гражданских споров с точными ссылками на источники. Помогает найти пробелы в доказательствах по каждому пункту. CX Codex +1 666установок pandoc plinde Скилл учит агента гонять документы между Markdown, DOCX, PDF, HTML и LaTeX через pandoc. Пригодится, когда нужно отдать текст в Word или собрать PDF. CX Codex +1 484установок demand-draft официальный anthropics Собирает письмо-требование из заполненной анкеты по делу и не даёт начать черновик, пока не отработаны привилегия, FRE 408 и риск признания. CX Codex +1 653установок convert-documents-to-markdown firecrawl Конвертирует офисные документы, электронные таблицы и PDF в GitHub-Flavored Markdown через утилиту anydoc. Пригодится, когда агенту нужно извлечь данные из DOCX или XLSX без ручной вычитки. CX Codex +1 12 500установок training-report samber Собирает структурированный отчёт о тренинге или воркшопе через интервью и экспортирует черновик Markdown в итоговый документ .docx. CX Codex +1 4 200установок

Из того же набора78

specification-writing Генерирует текст патентного описания по формуле изобретения и раскрытию. Пригодится, когда нужно собрать черновик заявки по стандартам юрисдикций. CX Codex +1 460установок alphaxiv Скилл получает сведения об одной статье arXiv и отвечает на вопросы по ней, переходя от краткого обзора к полному тексту и исходникам LaTeX. CX Codex +1 455установок meta-optimize Скилл анализирует логи ARIS и готовит патчи для файлов SKILL.md и промптов ревьюера. Пригодится для настройки оркестрации на основе реальных прогонов. CX Codex +1 455установок figure-spec Создаёт редактируемые SVG-диаграммы из JSON-описания FigureSpec. Пригодится для архитектуры, процессов и конвейеров, где важны точные связи. CX Codex +1 456установок vast-gpu Подбирает, арендует и настраивает серверы с GPU на vast.ai под вычислительную задачу. Пригодится для обучения моделей без покупки собственного железа. CX Codex +1 453установок writing-systems-papers Разбивает статью на 10–12 страниц для OSDI, SOSP, ASPLOS, NSDI и EuroSys по абзацам: сколько страниц на раздел, что писать в каждом. CX Codex +1 447установок exa-search Скилл ищет по всему интернету через Exa: блоги, документацию, новости, компании. К каждому результату прикладывает highlights или полный текст. CX Codex +1 440установок experiment-queue Оркеструет пачки ML-экспериментов на удалённых серверах по SSH. Перезапускает задачи при нехватке памяти GPU, чистит зависшие сессии screen и следит за волнами запусков. CX Codex +1 437установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой