disclosure-template — Claude Code skill: what it does, how to install
Creates and validates patent disclosure documents by generating a MAIN.md file tailored to CN, US, or PCT jurisdiction formats.
npx skills add illusionaireal/oh-my-patent --skill disclosure-template -a claude-codeWhat disclosure-template does
This skill generates a patent disclosure file named MAIN.md structured around specific jurisdiction requirements. It assists developers in drafting new submissions or checking existing sections against official outlines.
Templates adapt to three legal frameworks. The CN setup aligns with Chinese patent law. The US layout follows USPTO conventions, which place claims at the start of the document. International filings rely on the PCT format.
Output goes straight into MAIN.md. Because USPTO rules prioritize claims over descriptions, switching to the US format immediately moves the claims block to the top.
What it helps with
- Generate a
MAIN.mdpatent disclosure document - Format a disclosure draft for USPTO with claims first
- Structure patent application sections according to Chinese patent law
- Validate a disclosure file against the PCT international format
Example prompts for the agent
- Generate a
MAIN.mdtemplate for a US patent disclosure - Create a patent disclosure structure following CN jurisdiction rules
- Validate my
MAIN.mdfile against the PCT application template
How to install disclosure-template
1Skills CLI (Vercel)
npx skills add illusionaireal/oh-my-patent --skill disclosure-template -a claude-code2Manually: put the files in place
~/.claude/skills/disclosure-template/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/disclosure-template/
1Skills CLI (Vercel)
npx skills add illusionaireal/oh-my-patent --skill disclosure-template -a codex2Manually: put the files in place
.agents/skills/disclosure-template/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add illusionaireal/oh-my-patent --skill disclosure-template -a cursor2Manually: put the files in place
.cursor/skills/disclosure-template/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install illusionaireal/oh-my-patent disclosure-template2Manually: put the files in place
.github/skills/disclosure-template/SKILL.md1Skills CLI (Vercel)
npx skills add illusionaireal/oh-my-patent --skill disclosure-template -a gemini-cli2Platform CLI
gemini skills install https://github.com/illusionaireal/oh-my-patent --path src/skills/disclosure-templateManually: put the files in place
.devin/skills/disclosure-template/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add illusionaireal/oh-my-patent --skill disclosure-template -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about disclosure-template
How do I install disclosure-template in Claude Code?
Run npx skills add illusionaireal/oh-my-patent --skill disclosure-template -a claude-code in your terminal.
What does disclosure-template do?
It creates a MAIN.md patent disclosure file with mandatory section headings and validates documents against jurisdictional templates.
How does the US template differ from other jurisdictions?
The US template follows the USPTO standard, placing the claims section right at the top.
Source text
SKILL.md · MIT
--- name: disclosure-template description: Use when creating or validating a patent disclosure document against the required section template. --- # Disclosure Template Skill Provide patent disclosure templates for different jurisdictions. ## Usage Generates `MAIN.md` template based on selected jurisdiction. ## Template Structure ### CN Template ```markdown # 发明名称 ## 技术领域 ## 背景技术 ## 发明内容 ## 具体实施方式 ## 权利要求书 ## 摘要 ## 附图说明 ``` ## Jurisdiction Adaptation - CN: Follows Chinese patent law requirements - US: USPTO format (claims first) - PCT: International application format ## Output - `MAIN.md`: Patent disclosure document
© illusionaireal · MIT · illusionaireal/oh-my-patent