embodiment-description — Claude Code skill: how to install
Drafts detailed embodiment descriptions for patent specifications. Useful when turning claims and technical disclosures into step-by-step implementations.
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill embodiment-description -a claude-codeWhat embodiment-description does
The skill writes the detailed description section for patent applications and outputs it to patent/specification/detailed_description.md. It relies on pre-drafted files: patent/INVENTION_DISCLOSURE.md for feature breakdown and patent/CLAIMS.md for claim terms. If figures exist, it also references patent/figures/numeral_index.md.
Generation starts by mapping each claim element to at least one embodiment. The preferred implementation comes first, followed by alternative configurations and ranges to support broad claim scope. Reference numerals follow figure series, assigning 100-series numbers to FIG. 1 and 200-series numbers to FIG. 2. For software inventions, it writes algorithmic descriptions and pseudocode rather than raw source code.
This skill discards accuracy percentages, test runs, and experimental tables, because patent offices require instructions on how to practice an invention rather than performance evaluations.
What it helps with
- draft patent embodiments from claims and disclosure documents
- integrate figure reference numerals into the detailed description
- strip empirical test results and accuracy metrics from patent text
- verify every claim element appears in at least one embodiment
Example prompts for the agent
- Write detailed embodiments for
patent/CLAIMS.md - Draft the patent embodiment section from
patent/INVENTION_DISCLOSURE.md - Generate detailed description for the algorithm with reference numerals
How to install embodiment-description
1Skills CLI (Vercel)
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill embodiment-description -a claude-code2Manually: put the files in place
~/.claude/skills/embodiment-description/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/embodiment-description/
1Skills CLI (Vercel)
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill embodiment-description -a codex2Manually: put the files in place
.agents/skills/embodiment-description/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill embodiment-description -a cursor2Manually: put the files in place
.cursor/skills/embodiment-description/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wanshuiyin/Auto-claude-code-research-in-sleep embodiment-description2Manually: put the files in place
.github/skills/embodiment-description/SKILL.md1Skills CLI (Vercel)
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill embodiment-description -a gemini-cli2Platform CLI
gemini skills install https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep --path skills/embodiment-descriptionManually: put the files in place
.devin/skills/embodiment-description/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill embodiment-description -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about embodiment-description
How to install embodiment-description in Claude Code?
Run npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill embodiment-description -a claude-code in your terminal.
What does embodiment-description do?
It plans and drafts patent embodiment sections, cross-referencing figures and claims into patent/specification/detailed_description.md.
What files does embodiment-description require?
The skill expects patent/INVENTION_DISCLOSURE.md and patent/CLAIMS.md in your project directory.
Source text
SKILL.md · MIT
---
name: embodiment-description
description: "Write detailed embodiment descriptions for patent specifications. Use when user says \"撰写实施例\", \"write embodiment\", \"实施例描述\", \"detailed description\", or wants to describe how to practice an invention."
argument-hint: "[claims-path-or-embodiment-details]"
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob
---
# Embodiment Description
Write detailed embodiments for: **$ARGUMENTS**
Embodiments describe HOW to make and use the invention -- they are the patent equivalent of experiment sections, but describe the invention rather than evaluating it empirically.
## Constants
- `MIN_EMBODIMENTS = 1` — At least one complete embodiment required
- `MAX_EMBODIMENTS = 3` — Practical limit; more embodiments strengthen enablement
- `EMBODIMENT_STYLE = detailed` — `detailed` (full working example) or `outline` (sketch)
- `REFERENCE_NUMERAL_PREFIX = 100` — Starting reference numeral for first figure's components
## Inputs
1. `patent/INVENTION_DISCLOSURE.md` — invention decomposition (core/supporting/optional features)
2. `patent/CLAIMS.md` — drafted claims that the embodiments must support
3. User-provided figures (if any) in any directory
4. `patent/figures/numeral_index.md` if it exists (from `/figure-description`)
## Workflow
### Step 1: Plan Embodiments
For each claim category (method, system, etc.), plan at least one embodiment:
| Embodiment | Covers Claims | Type | Key Variations |
|-----------|--------------|------|----------------|
| 1 | Claims 1, X | Best mode / preferred | [primary implementation] |
| 2 | Claims 2, 3 | Alternative | [different parameters/materials] |
| 3 | Claims 4, 5 | Additional alternative | [different configuration] |
### Step 2: Write Each Embodiment
For each embodiment, write a detailed description following this structure:
**Opening paragraph**:
"In one embodiment, [invention summary with reference to what is being described]."
**Component/step-by-step description**:
For method embodiments:
- Describe each step in order
- Reference figure numerals: "As shown in FIG. 1, at step 202, the processor 102 receives the input data 104..."
- Include specific parameters, ranges, and conditions
- Describe what happens at each decision point
For system/apparatus embodiments:
- Describe each component
- Reference figure numerals: "Referring to FIG. 1, the system 100 comprises a processor 102, a memory 104, and a communication interface 106..."
- Describe interconnections between components
- Describe operation of the system step-by-step
**Variations and alternatives**:
- "In some embodiments, the processor 102 may be a GPU, an FPGA, or an ASIC."
- "In another embodiment, the memory 104 may be replaced with a distributed storage system."
- "The parameters described above are exemplary; other values within the range [X, Y] are also contemplated."
These variations are critical -- they support broader claim interpretation.
### Step 3: Reference Numeral Integration
Ensure consistent reference numeral usage:
1. Every component mentioned must have a numeral
2. Numeral must appear first in parentheses after the component name: "the processor (102)"
3. Subsequent references: "the processor 102" (no parentheses)
4. Numbering follows figure series: 100-series for FIG. 1, 200-series for FIG. 2
**Format**:
- First mention: "the processor (102)"
- Later in same embodiment: "the processor 102"
- Cross-figure: "the processor 102 (shown in both FIG. 1 and FIG. 2)"
### Step 4: Claim Support Verification
For each claim element, verify it appears in at least one embodiment:
| Claim Element | Embodiment | Reference Numeral | Description Paragraph |
|---------------|-----------|-------------------|----------------------|
| [element] | [which] | [numeral] | [paragraph reference] |
If any claim element lacks embodiment support, add the necessary description.
### Step 5: Software/Algorithm Embodiments (if applicable)
For method/software inventions, include:
- Pseudocode or algorithmic description (NOT actual code)
- Flowchart description tied to figures
- Data structure descriptions
- Interface specifications
Example:
```
In one embodiment, the method comprises the following steps:
At step 202, the processor 102 receives input data from the input device 108.
At step 204, the processor 102 extracts feature vectors from the input data using a convolutional neural network.
At step 206, the processor 102 applies the attention mechanism 110 to the feature vectors...
```
### Step 6: Output
Embodiment sections are written to `patent/specification/detailed_description.md` (or appended to the specification structure).
Each embodiment section should be self-contained but cross-reference other embodiments when describing alternatives.
## Key Rules
- Embodiments must teach a POSITA to make and use the invention without undue experimentation.
- Include at least one "best mode" embodiment (US requirement).
- Multiple embodiments strengthen the specification against enablement challenges.
- Describe the invention, do NOT evaluate it empirically ("The embodiment achieves 95% accuracy" is wrong; "The processor classifies the input data" is correct).
- **CRITICAL — NO experimental data, test results, accuracy percentages, detection rates, precision values, or comparative performance data.** These belong in papers, not patents. The embodiment teaches HOW to make and use, not HOW WELL it performs.
- WRONG: "传感器对直径超过150μm的金属颗粒实现了100%的检测精度,即使在检测限处仍保持94%的高精度。"
- RIGHT: "当不锈钢颗粒通过间隙传感区域时,谐振频率下降。颗粒直径越大,频率偏移幅度越大。"
- Do NOT include tables of experimental results, graphs of measurement data, or comparisons with prior art performance.
- **CRITICAL — An embodiment is NOT an experiment.** Do NOT describe "repeated experiments", "accuracy evaluation", "precision testing", "calibration experiments", or "comparison with reference methods". An embodiment describes ONE way to make and use the invention — it is a recipe, not a test report.
- Do NOT copy experimental sections from source papers verbatim. Transform the experimental setup into a manufacturing/operation description.
- If the source material is a paper, extract ONLY: (1) what was built, (2) what materials/parameters were used, (3) how it operates. Ignore all test methodology, results, and performance metrics.
- Include specific parameters where possible, but frame them as exemplary, not limiting.
- Reference numerals must be consistent with the figures.
- Do NOT use subjective language ("excellent", "surprising", "superior").
© wanshuiyin · MIT · wanshuiyin/Auto-claude-code-research-in-sleep