# Claims Drafting

Draft patent claims for an invention.

- Repository: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep (18443 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill claims-drafting -g -a claude-code -y`
Codex: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill claims-drafting -g -a codex -y`
Cursor: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill claims-drafting -g -a cursor -y`
Gemini CLI: `npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill claims-drafting -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add wanshuiyin/Auto-claude-code-research-in-sleep`

## Description

Draft patent claims for an invention. Use when user says \"撰写权利要求\", \"draft claims\", \"写权利要求书\", \"claim drafting\", or wants to create patent claims. The core skill of the patent pipeline.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Claims Drafting: The Core Patent Skill

> **Before each reviewer slot**, follow [Selectable Reviewers](../shared-references/reviewer-backends.md):
> resolve invocation → `.aris/reviewer.json` → Claude Code default (Codex MCP)
> with `reviewer_route.py` through the canonical helper resolver, preserving this
> slot's tier, fresh contexts, source/image inputs and deterministic gates.
> Codex examples/pins below apply only to `backend=codex`; other routes use their
> own first-call/reply contract. Save the route and actual returned identity;
> unavailable selections are `REVIEW_UNAVAILABLE`. Classify acceptance from actual
> families/completion/scope. Forward invocation reviewer/model/effort overrides
> to reviewer-bearing children. Generation workers are unchanged.


Draft patent claims based on: **$ARGUMENTS**

This is the most critical skill in the patent pipeline. Claims define the legal scope of protection -- everything else (specification, figures, abstract) exists to support and enable the claims.

## Constants

- `REVIEWER_MODEL = gpt-6-astra`, External examiner for claim quality review
- `MAX_CLAIM_REVISION_ROUNDS = 3`, Maximum revision iterations
- `CLAIM_STYLE = "auto"`, `US` (Jepson or open), `EP` (two-part mandatory), `CN` (two-part), `auto` (detect from jurisdiction)
- `MIN_INDEPENDENT_CLAIMS = 2`, Typically method + system. For utility model (实用新型): apparatus/device only, NO method claims.
- `MAX_TOTAL_CLAIMS = 20`, Practical limit (USPTO includes 20 in base fee)
- `PATENT_TYPE = "invention"`, `invention` (发明专利) or `utility_model` (实用新型, apparatus claims only)

## Inputs

1. `patent/INVENTION_DISCLOSURE.md`, structured invention with core/supporting/optional features
2. `patent/PRIOR_ART_REPORT.md`, prior art to avoid
3. `patent/NOVELTY_ASSESSMENT.md`, novelty analysis with suggested amendments
4. Target jurisdiction from invention disclosure or `$ARGUMENTS`

## Shared References

The rest: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/HEAD/skills/claims-drafting/SKILL.md
