Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

specification-writing

Skill by wanshuiyin

Writes a full patent specification from claims and an invention disclosure, one section at a time. Built for patent drafters preparing CN, US or EP filings. Checks that each claim element has support in the text.

  • Score 90
  • 20k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install specification-writing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/specification-writing ~/.claude/skills/specification-writing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install specification-writing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Specification Writing is an agent skill that drafts a complete patent specification from a claims file and an invention disclosure. It creates separate section files for the title, technical field, background, summary, drawings description, detailed description and abstract in patent/specification/. It applies rules for CN, US and EP jurisdictions and sets language based on the jurisdiction.

The skill reads patent/CLAIMS.md, patent/INVENTION_DISCLOSURE.md and patent/PRIOR_ART_REPORT.md as inputs. It builds a claim support table and an index file, then sends the draft to an external reviewer for checks on written description, enablement and consistency. It is intended for patent drafters who want the full description written from existing claims.

Written from the project's SKILL.md and checked against it.

What it can do

  • Initialize specification structureCreates the patent/specification/ folder and the seven section files.
  • Write title and technical fieldDrafts the invention title and the technical field paragraphs for the chosen jurisdiction.
  • Write background and summaryDescribes prior art deficiencies, the technical problem, the solution and advantages.
  • Write detailed descriptionCalls the embodiment-description sub-skill to describe embodiments with reference numerals.
  • Write drawings descriptionDescribes figures, using the figure-description sub-skill when user figures are provided.
  • Write abstractDrafts the abstract within the word limit for the selected jurisdiction.
  • Verify claim supportMaps each claim element to a specification section, paragraph and reference numeral.
  • Cross-model reviewSends the claims and specification to an external reviewer for completeness checks.

What you need

  • patent/CLAIMS.md with the drafted claims
  • patent/INVENTION_DISCLOSURE.md
  • patent/PRIOR_ART_REPORT.md for the background section
  • User-provided figures, if any

Try asking

  • Write the patent specification from my claims and invention disclosure
  • Draft the patent description for a CN filing
  • Check that every claim element has support in the specification

Good to know

  • Outputs markdown drafts that must be converted to filing format by /jurisdiction-format.
  • Experimental results, accuracy metrics and numerical findings are excluded from the text.
  • If the selected reviewer is unavailable, the draft is recorded as unreviewed.
  • Depends on other skills such as /figure-description and /embodiment-description.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/specification-writing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(*)ReadWriteEditGrepGlobSkillWebSearchWebFetchmcp__codex__codexmcp__codex__codex-replymcp__antigravity__antigravitymcp__antigravity__antigravity-replymcp__grok__grokmcp__grok__grok-replymcp__claude-review__reviewmcp__claude-review__review_replymcp__claude-review__review_startmcp__claude-review__review_reply_startmcp__claude-review__review_status

  • SKILL.md9 KB

Alternatives to specification-writing

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

specification-writing: common questions

What inputs does the specification writing skill need?

It uses patent/CLAIMS.md as the primary source, plus the invention disclosure and prior art report. User-provided figures are optional.

Which jurisdictions does it support?

The source lists CN, US, EP and ALL, with the language set automatically from the jurisdiction. CN uses Chinese and US or EP use English.

Does the specification include experimental results?

No. The source says the skill does not include experimental results, accuracy metrics or empirical evaluations in the specification.

How do I install specification-writing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is specification-writing free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is specification-writing safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to specification-writing?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

specification-writing Install

Add to stack

Loading.