@frxiaobei: The complete collapse of intellectual property protection. Invention patent generation skill https://github.com/handsomestWei/patent-disclosure-skill… Software copyright generation skill https://github.com/Fokkyp/S…
Summary
The article introduces open-source AI agent skills, such as 'patent-disclosure-skill', designed to automate the generation of invention patent disclosures and software copyright applications. It highlights how these tools integrate with agents like Claude Code to streamline patent drafting, prior art search, and document formatting.
View Cached Full Text
Cached at: 05/12/26, 12:46 AM
The intellectual property landscape has been completely overrun. Invention patent generation skill: https://github.com/handsomestWei/patent-disclosure-skill… Software copyright generation skill: https://github.com/Fokkyp/SoftwareCopyright-Skill… Design patents/utility models are even easier: Claude Design / image2
handsomestWei/patent-disclosure-skill
Source: https://github.com/handsomestWei/patent-disclosure-skill
China Patent Skill
From project documentation to deliverable technical disclosures: Mining patentable points, prioritizing searches on the CNIPA Publication Bulletin, desensitized drafting, and a self-check closed loop.
Python 3.9+ (https://www.python.org/) Node.js (https://nodejs.org/) AgentSkills (https://agentskills.io)
You have design docs and code, but haven’t sorted out the patentable points yet? The disclosure needs system block diagrams, flowcharts, and Word documents that agents can edit directly? After finalizing, you still need multiple rounds of supplementary materials and error corrections, and you want traceability for file modifications? Searching the CNIPA publication site, you expect reliable crawling and precise retrieval?
This Skill orchestrates the entire workflow according to AgentSkills conventions, with SKILL.md + prompts/ being step-by-step, readable, and iterable.
Features · Installation · Usage · Project Structure · Examples · Results · Reference Docs · Detailed Installation Instructions · Skill Entry
Features
| Capability | Description |
|---|---|
| Project Scanning | Reads docs/code by priority; .docx / .pptx are converted to Markdown first (see prompts/project_scan.md) |
| Patentable Points | Candidate point discussion and fusion (patent_points_analyzer.md) |
| Prior Art Search | Prioritizes CNIPA · China Patent Publication Bulletin (http://epub.cnipa.gov.cn/): Uses tools/cnipa_epub_search.py for precise scraping; falls back to WebSearch (e.g., Google Scholar / Patents) on failure or no results. Bibliographic data and external links are written to Chapter 1 (prior_art_search.md) |
| Disclosure Drafting | Desensitized template + mermaid system block diagrams and flowcharts; mermaid_render.py → PNG, defaults to also outputting .docx |
| Delivery Naming | All delivered files: {CaseName}_{YYYYMMDDHHmmss}.md and a same-name .docx (disclosure_builder.md §7.3) |
| Self-Check | Logical closure, consistency of formulas and parameters (disclosure_self_check.md, not written into the main text) |
| Iteration | Merge / Correct saves as a new file; Disclosure Revision Dialogue Log.md appends entries line by line (iteration_context.md, iteration_dialog_log.py) |
Office Extraction: .docx / .pptx are first converted to Markdown using this repo’s docx_to_md.py / pptx_to_md.py before scanning (see SKILL.md).
Python Dependencies (by file):
- Basic (Office / Disclosure Conversion): Root
requirements.txt—pip install -r requirements.txt - Prior Art Search (CNIPA Bulletin, Optional):
tools/requirements-cnipa.txt—pip install -r tools/requirements-cnipa.txt, then runpython -m playwright install chromium. Installation is optional: Step 5 will fall back to using only WebSearch perprior_art_search.md. See INSTALL.md, tools/README.md for details.
Installation
Claude Code
Please place this directory in the git repository root or global skills path, ensuring
SKILL.mdis at the root level of the skill folder (consistent with INSTALL.md).
# Example: Install to the current project's skills directory
mkdir -p .claude/skills
git clone <This Repo URL> .claude/skills/patent-disclosure-skill
Cursor
Place the complete contents of this repo into the skills path specified by Cursor (see table in INSTALL.md), restart, and confirm the skill has been discovered in Settings → Rules.
Dependencies
# Basic (Office conversion, disclosure-related Python packages)
pip install -r requirements.txt
# Optional: CNIPA Prior Art Search (epub.cnipa.gov.cn)
pip install -r tools/requirements-cnipa.txt
python -m playwright install chromium
Diagram rendering also requires Node.js; execute npm install under tools/ or use npx mmdc (see tools/README.md for details).
Usage
Describe your requirements in natural language within the Agent, for example:
- Patent mining, patentable points, technical disclosure, prior art search, prior art comparison
- Slash commands (depending on host configuration): e.g.,
/patent-disclosure-skill,/disclosure
It is recommended to also specify the project path or technical topic (consistent with argument-hint in SKILL.md).
Prior Art Search (Step 5) will first search Chinese patent publication information via the China Patent Publication Bulletin (http://epub.cnipa.gov.cn/), then supplement with other sources as needed; see prompts/prior_art_search.md for the workflow.
When adding materials or correcting errors on an existing disclosure file, there is no need to say “iterate”—the skill will handle it via merger.md / correction_handler.md; details in SKILL.md.
Project Structure
This repo follows AgentSkills (https://agentskills.io), where the root directory is a single skill:
patent-disclosure-skill/
├── SKILL.md # Entry: Trigger conditions, tool table, steps, and prompt references
├── prompts/ # Step-by-step templates (followed after Agent Read)
│ ├── intake.md
│ ├── project_scan.md
│ ├── patent_points_analyzer.md
│ ├── prior_art_search.md
│ ├── disclosure_preview.md
│ ├── disclosure_builder.md
│ ├── disclosure_self_check.md
│ ├── iteration_context.md
│ ├── merger.md
│ ├── correction_handler.md
│ └── template_reference.md
├── tools/ # mermaid_render, md_to_docx, docx_to_md, pptx_to_md; CNIPA cnipa_epub_* (prior art); iteration_dialog_log, etc.
├── docs/ # PRD, repo structure description, result screenshots (result-*.jpg)
├── examples/ # Raw material examples (e.g., example_batch_job_scheduler/knowledge/)
├── outputs/ # User outputs, entire directory is .gitignored
├── requirements.txt
├── LICENSE
├── INSTALL.md
└── .gitignore
Examples
Fictitious scanning raw materials can be found in examples/README.md (e.g., examples/example_batch_job_scheduler/knowledge/).
Complete outputs such as patentable points, prior art notes, and disclosures are generated locally to outputs/{CaseID}/.
Results
Initial Generation (First delivery on disk) Initial generation: Timestamped disclosure in the outputs directory, mermaid diagram directories, etc.
Iterative Updates (Delivery after merge/correction, multiple versions coexist + dialogue log) Iterative updates: New timestamped files and disclosure revision dialogue log
Reference Docs
- Skill Entry and Agent Workflow (Trigger conditions,
prompts/mapping, tool table) - Detailed Installation Instructions (Claude Code / Cursor paths)
- Diagram and Conversion Scripts (mermaid / mmdc, Word export, CNIPA epub prior art tool)
- Example Case and Raw Material Description
- Product Workflow and Directory Conventions
- Engineering Structure Description
- Disclosure Template Details
MIT License © handsomestWei (https://github.com/handsomestWei/)
Similar Articles
@QingQ77: An AgentSkills skill that automatically generates Chinese patent technical disclosure documents from project documentation, including patent point mining, novelty search, desensitization, and self-check closure. Suitable for development teams with patent needs. https://github.com/handsomestWei/patent-disc…
A patent skill based on AgentSkills that automatically generates Chinese patent technical disclosure documents from project documentation and code, covering patent point mining, novelty search (prioritizing the China National Intellectual Property Administration publication announcement site), desensitization drafting, and self-check closure. Supports iterative revisions, outputting .md and .docx formats.
@GitHub_Daily: If you want to apply for a technology patent, but when writing the disclosure document, you need to draw system block diagrams and flow charts, and also edit Word documents, which is quite troublesome. On GitHub, I saw this Claude Code skill called "China Patent.skill" that runs through the entire process from project documentation to a completed patent disclosure document. Automatically scan project docs and code...
Introduces a Claude Code skill on GitHub called "China Patent.skill" that can automatically scan project documents and code, mine patent points, connect to the China National Intellectual Property Administration (CNIPA) for novelty search and comparison, and generate a Word disclosure document with block diagrams and flow charts, supporting iterative modification.
@aigclink: Open Source Software Copyright Application Skill: SoftwareCopyright-Skill - automatically generates application materials, saving you hundreds of dollars in agent fees for a software copyright. It lets AI read local projects, from project analysis, business understanding, application form information, operation manual to code materials, automatically generating a full set of software copyright application materials, including operation...
Open Source Software Copyright Application Skill uses AI to automatically generate a full set of software copyright application materials, including operation manuals, code materials, etc., suitable for small teams or individual developers to save on agency fees.
@axichuhai: https://x.com/axichuhai/status/2062146611472400461
Shares 8 curated AI skills, covering basic configuration, product development, and content creation, to boost AI productivity for agents such as Claude Code and CodeX.
@gyro_ai: https://x.com/gyro_ai/status/2055198700016660826
Matt Pocock open-sourced Skills for Real Engineers, a set of small, composable, and hackable AI coding skills designed to address issues in AI programming such as understanding bias, lack of shared language, missing feedback loops, and software entropy. The tool enhances AI programming efficiency through skills like grill-with-docs, tdd, and diagnose, and provides a complete workflow.