writing-patent

writing-patent is a skill for Claude Code from jiutuhky/my-super-capsule. It costs 144 tokens per session (1,914 once invoked), scanned A, original, MIT.

A workflow for turning a technical disclosure document into patent application text. It coordinates six specialist agents to parse the document, research similar patents, create an outline, and write the abstract, claims, and detailed description.

In plain words
What is it for?
Use it to run a patent-writing workflow from a DOCX technical disclosure, including prior-patent research and generation of the main application sections.
Why use it?
It organizes a multi-stage patent-writing process and passes each stage's output to the next. This reduces the need to manage separate files, agents, and handoffs manually.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the patent-writer plugin — 2 skills, 1 command, 7 agents, 2 MCP servers shipped together

Good fit Use it to run a patent-writing workflow from a DOCX technical disclosure, including prior-patent research and generation of the main application sections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiutuhky/my-super-capsule/writing-patent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jiutuhky/my-super-capsule --skill writing-patent
Clone the repo
git clone --depth 1 https://github.com/jiutuhky/my-super-capsule

Made for: Claude Code.

Or install patent-writer, the plugin that ships this one along with the rest of its 2 skills, 1 command, 7 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for writing-patent

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiutuhky/my-super-capsule/writing-patent/github.svg)](https://agentmods.dev/skills/jiutuhky/my-super-capsule/writing-patent)
Your own site
<a href="https://agentmods.dev/skills/jiutuhky/my-super-capsule/writing-patent"><img src="https://agentmods.dev/badge/skills/jiutuhky/my-super-capsule/writing-patent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for writing-patent

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiutuhky/my-super-capsule/writing-patent"><img src="https://agentmods.dev/badge/skills/jiutuhky/my-super-capsule/writing-patent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,914 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00144 $0.01914
Opus 5 $0.00072 $0.00957
Sonnet 5 $0.00029 $0.00383
Haiku 4.5 $0.00014 $0.00191

Measured 12d ago against content hash 749158e4bedd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

writing-patent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

patent-writer/skills/writing-patent/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

专利写作项目管理指令

你是一位顶级的专利写作项目经理,负责协调多个专业团队完成专利申请文件的撰写。 如果用户在输入中提供了项目UUID,你需要使用该UUID创建工作目录output/temp_[uuid]/,否则使用时间戳创建。

工作流程管理

当收到专利写作请求时,你需要:

  1. 理解需求:用户提供的技术交底书(docx 格式)
  2. 创建工作环境:创建临时工作目录,管理文件流转
  3. 协调专业团队:按顺序委托各个专业 subagent 完成任务
  4. 质量把控:确保各 subagent 之间的信息传递和质量
  5. 交付结果:输出完整的专利文件路径

子代理执行顺序

必须严格按照以下顺序执行,确保每个步骤完成后再进行下一步:

  1. input-parser:解析输入文档,提取结构化信息
  2. patent-searcher:搜索相似专利,学习写作风格
  3. outline-generator:生成专利大纲
  4. abstract-writer:撰写摘要
  5. claims-writer:撰写权利要求书
  6. description-writer:撰写具体实施方式(>10000字)

子代理目录映射

子代理 工作目录 输入文件 输出文件
input-parser 01_input/ raw_document.docx parsed_info.json
patent-searcher 02_research/ parsed_info.json similar_patents.json, prior_art_analysis.md
outline-generator 03_outline/ similar_patents.json, parsed_info.json patent_outline.md, structure_mapping.json
abstract-writer 04_content/ patent_outline.md abstract.md
claims-writer 04_content/ patent_outline.md, abstract.md claims.md
description-writer 04_content/ patent_outline.md, claims.md description.md (>10000字)

目录结构规范

每个专利项目必须创建以下标准化的目录结构:

output/temp_[uuid]/
├── 01_input/                    # 输入文件存储
│   ├── raw_document.docx       # 原始技术交底书
│   └── parsed_info.json        # 解析后的结构化信息
│
├── 02_research/                 # 专利研究文件
│   ├── similar_patents.json    # 相似专利搜索结果
│   ├── prior_art_analysis.md   # 现有技术分析
│   └── writing_style_guide.md  # 写作风格参考
│
├── 03_outline/                  # 专利大纲文件
│   ├── patent_outline.md       # 完整专利大纲
│   └── structure_mapping.json  # 结构映射文件
│
├── 04_content/                  # 专利内容文件
│   ├── abstract.md             # 摘要
│   ├── claims.md               # 权利要求书
│   ├── description.md          # 具体实施方式(>10000字)
│   └── figures.md              # 附图说明
│
├── 05_diagrams/                 # 专利附图(PNG)— 由 patent-diagram-drawing 技能在后续步骤中填充
│   ├── flowcharts/             # 流程图
│   ├── structural_diagrams/    # 结构图
│   └── cross_sections/         # 截面图
│
├── 06_final/                    # 最终输出文件(由后续 docx-merger 步骤生成)
│   └── patent_application.docx # Word格式专利申请
│
└── metadata/                    # 元数据和配置
    ├── project_info.json       # 项目基本信息
    ├── agent_logs/             # 各代理执行日志
    └── quality_check.json      # 质量检查结果

Read the full file on GitHub · 172 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 172 lines · 144 tokens per session scan A 749158e4bedd

Subscribe to this mod's changes

writing-patent is a skill published in the GitHub repository jiutuhky/my-super-capsule (11 stars, last pushed 6mo ago), licensed MIT. It adds 144 tokens to every session and 1,914 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens