Invention structuring

From wanshuiyin/Auto-claude-code-research-in-sleep · View interactive version

Invention structuring is an AI agent skill from the GitHub repository wanshuiyin/Auto-claude-code-research-in-sleep. Structure a raw invention idea into a formal invention disclosure. Use when user says \"构建发明\", \"structure invention\", \"发明构建\", \"invention disclosure\", or wants to formalize a rough idea into a patent-ready structure.

How to use this skill

Skill file

Invention Structuring

Before each reviewer slot, follow Selectable Reviewers:

resolve invocation → .aris/reviewer.json → Codex default (fresh native reviewer)

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.

Structure the invention into a formal disclosure based on: $ARGUMENTS

Adapted from the refinement pattern in /research-refine for patent invention decomposition.

Constants

Inputs

  1. Invention description from $ARGUMENTS
  2. patent/INVENTION_BRIEF.md if exists
  3. patent/PRIOR_ART_REPORT.md — prior art landscape
  4. patent/NOVELTY_ASSESSMENT.md — novelty analysis

Shared References

Load ../shared-references/patent-writing-principles.md for the Problem-Solution-Advantage framework and claimable subject matter guidelines.

Workflow

Step 1: Problem-Solution-Advantage Framework

Structure the invention using the universal patent framework:

Technical Problem (要解决的技术问题):

Technical Solution (技术方案):

Advantages (有益效果):

Step 2: Invention Decomposition

Break the invention into three layers:

Core Inventive Concept (核心发明构思):

Supporting Features (支撑性特征):

Optional Features (可选特征):

Step 3: Claimable Subject Matter Identification

For the core inventive concept, determine what categories of claims to draft:

| Category | Applicability | Content |

|----------|-------------|---------|

| Method/process | If invention involves steps | Process flow, algorithm, workflow |

| System/apparatus | If invention involves components | Hardware structure, modules, connections |

| Product | If invention is a physical device | Shape, structure, composition |

| Computer-readable medium | If software invention (US) | Stored instructions, non-transitory medium |

| Product-by-process | If structure is hard to define | Product defined by how it is made |

Step 4: Drawing Plan

Plan what figures are needed to support the claims and specification:

| Figure | Type | Shows | Supports Claim Elements |

|--------|------|-------|------------------------|

| FIG. 1 | Block diagram | System architecture | System claim components |

| FIG. 2 | Flowchart | Method steps | Method claim steps |

| FIG. 3 | Sequence diagram | Interaction between components | Specific implementation details |

If user has provided figures, reference them here. If figures are missing, note what is needed.

Step 5: Dependency Mapping

Map feature dependencies to plan the claim hierarchy:

Independent Claim 1 (method, broadest scope)
├── Core inventive feature A
├── Core inventive feature B
└── Known feature C (for context)

Dependent Claim 2 → narrows feature A with specific implementation
Dependent Claim 3 → narrows feature B with specific parameters
Dependent Claim 4 → depends on 2, adds optional feature D
Dependent Claim 5 → alternative implementation of feature A

Step 6: Fresh-Agent Validation (same-family provisional by default)

Call REVIEWER_MODEL via a dedicated Codex reviewer agent at xhigh reasoning:

Resolve this reviewer slot first; the following is the backend=codex example.

spawn_agent:
  model: gpt-6-astra
  reasoning_effort: xhigh
  message: |
    You are a patent attorney reviewing an invention disclosure.
    Evaluate the structuring choices:

    INVENTION: [Problem-Solution-Advantage summary]
    DECOMPOSITION: [Core/Supporting/Optional features]
    CLAIM PLAN: [intended claim categories and hierarchy]

    Please assess:
    1. Is the Problem-Solution-Advantage framework correctly applied?
    2. Is the core inventive concept correctly identified? Are there features that should be core but are listed as supporting (or vice versa)?
    3. Are the planned claim categories sufficient to protect the invention?
    4. Is the drawing plan adequate for enablement?
    5. Are there any claimable aspects being missed?

Step 7: Output

Write patent/INVENTION_DISCLOSURE.md:

## Invention Disclosure

### Title
[invention title]

### Technical Problem
[formal problem statement]

### Technical Solution
[formal solution description]

### Advantages
[measurable advantages]

### Feature Decomposition

#### Core Inventive Concept
[features that define independent claim scope]

#### Supporting Features
[features for dependent claims]

#### Optional Features
[features for embodiments]

### Claimable Subject Matter
[method, system, product, medium claims planned]

### Drawing Plan
[figures needed, what each shows]

### Dependency Map
[claim hierarchy plan]

### Inventor Information
[names, contributions]

### Target Jurisdiction
[CN/US/EP/ALL]

Key Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.