specification-writing
Skill by wanshuiyin
Writes a full patent specification from drafted claims and an invention disclosure. It is for patent drafters working under CN, US or EP formats.
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/skills-codex/specification-writing ~/.claude/skills/specification-writingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex/specification-writing ~/.gemini/antigravity-cli/skills/specification-writingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install specification-writing in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill drafts a patent specification section by section. It reads the claims file and the invention disclosure, and uses the prior art report for the background section. It writes the title, technical field, background, summary, drawings description, detailed description and abstract into files under patent/specification/. Each section follows jurisdiction rules for CN, US or EP, with abstract word limits set per jurisdiction.
The skill checks that every claim element has support in the specification, using a claim support table with section, paragraph and reference numeral. It then sends the full specification to a separate reviewer agent for a check on written description, enablement and consistency. It is intended for patent drafters preparing a filing-ready specification from their claims.
Written from the project's SKILL.md and checked against it.
What it can do
- Initialize structureCreates the patent/specification/ folder with one file per section.
- Write title and technical fieldDrafts the invention title and the technical field paragraphs.
- Write background and summaryDescribes prior art deficiencies and the technical problem, solution and advantages.
- Describe drawingsWrites the brief description of drawings, using figure-description for user figures.
- Write detailed descriptionDrafts the embodiments by calling the embodiment-description sub-skill.
- Write abstractDrafts the abstract within the word limit for the chosen jurisdiction.
- Verify claim supportBuilds a table mapping each claim element to specification paragraphs and reference numerals.
- Run fresh-agent reviewSends claims and specification to a reviewer agent for completeness checks.
What you need
- Codex agent support enabled in the host for the reviewer step
- Drafted claims in patent/CLAIMS.md
- Invention disclosure in patent/INVENTION_DISCLOSURE.md
Try asking
- Write the patent specification from my claims and invention disclosure
- Draft the full CN specification for the claims in patent/CLAIMS.md
- Write the abstract and check claim support for each element
Good to know
- Outputs markdown drafts; conversion to filing format is done by a separate jurisdiction-format skill.
- Requires Codex agent support for the reviewer step; the skill stops if it is unavailable.
- Excludes experimental results, accuracy metrics and empirical evaluations from the specification.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/skills-codex/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__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 →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
specification-writing: common questions
What files does the specification writing skill need?
It reads patent/CLAIMS.md as the primary source and patent/INVENTION_DISCLOSURE.md for the invention breakdown. It uses patent/PRIOR_ART_REPORT.md for the background section.
Which patent jurisdictions does it support?
The skill lists CN, US and EP, with jurisdiction-specific title, abstract and format rules. It can also run for all three.
Does it check that the specification supports the claims?
Yes. It builds a claim support table that maps each claim element to a specification section, paragraph and reference numeral, and adds missing description before continuing.
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 91 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.
