write-patent
Skill4 starsChanged 23 days agoMITView on GitHub
Draft a patent or utility model application from the inventor's own description: an invention disclosure, a prior art search where every document was opened, a chart of what is new, claims, the description, and an examiner-style review that keeps a revision only when it is not worse. The draft is for the inventor and their patent representative to finish and file. Use when the user types /write-patent, asks to write or draft a patent, a utility model, patent claims or an invention disclosure, or to check an idea against prior art. Not for a scientific paper (use write-paper), and not legal advice. Soạn bản nháp đơn đăng ký sáng chế hoặc giải pháp hữu ích từ mô tả của chính tác giả sáng chế: bản bộc lộ sáng chế, tra cứu tình trạng kỹ thuật mà tài liệu nào cũng đã mở ra xem, bảng đối chiếu điểm mới, yêu cầu bảo hộ, bản mô tả, và một vòng thẩm định thử chỉ giữ bản sửa khi nó không tệ hơn. Bản nháp để tác giả và người đại diện sở hữu công nghiệp hoàn thiện rồi nộp. Dùng khi người dùng gõ /write-patent, nhờ viết hay soạn bằng sáng chế, giải pháp hữu ích, yêu cầu bảo hộ, bản mô tả sáng chế, hoặc nhờ so một ý tưởng với các sáng chế đã có. Không dùng cho bài báo khoa học (dùng write-paper), và không phải tư vấn pháp lý.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-cost-reportSkill
- browser-testing-with-devtoolsSkill
- ce-noslopSkill
- codebase-designSkill
- commit-trailSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- draw-flowSkill
- grillingSkill
- handoffSkill
- improve-codebase-architectureSkill
- interview-meSkill
- keep-lessonSkill
- lesson-generatorSkill
- make-skillSkill
- meeting-notesSkill
- qa-siteSkill
- qa-testSkill
- security-auditSkill
- session-retroSkill
- tddSkill
- ui-ux-pro-maxSkill
- write-paperSkill
- write-specSkill
- wtfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 11 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Never paste the invention into an outside service, a public chat or a search box.
- Very specific: line 18
If a paper on the same work is planned (write-paper), the application is filed first unless the representative says otherwise.
- Very specific: line 22
Ask one question at a time until patent/disclosure.md holds:
- Distinctive: line 38
Search patent databases (the office's own, Espacenet, WIPO Patentscope, Google Patents) and the scientific literature, by keywords and by …
- Distinctive: line 41
Never cite a publication number, a date or a content from memory.
- Distinctive: line 43
Look beyond the invention's own field for each idea it combines: the same way of learning or measuring is often older in another industry.
- Very specific: line 50
Write a chart in patent/feature-chart.md: one row for each essential feature, one column for each close document, each cell "shown" with …
- Distinctive: line 60
Support: every feature of every claim appears in the description, in the same words, with enough detail for a skilled person to carry it …
- Very specific: line 61
Only the disclosure: no embodiment, value, test result or advantage the inventor did not give.
- Distinctive: line 69
Decide: Keep the revision when it leaves fewer open objections and adds none.
- Distinctive: line 79
Never invent a feature, an embodiment, a test result, a prior art document, a publication number or a date.
- Distinctive: line 80
Never say an invention is patentable, or will be granted.
- Distinctive: line 81
Never state a law, a fee or a time limit without having opened the office's page in this session.
- Distinctive: line 82
Never send the invention or the draft to an outside service, and never put the new combination in a search query.
- Distinctive: line 83
Never decide who the inventors or the owners are.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write a patent application
Answer the user in their language. Write the application in the language the patent office asks for.
Purpose: turn what the inventor knows into a draft application an examiner and a patent representative can work with. This is a draft and not legal advice. Patent law differs from one country to the next and changes; whether to file, where, and with which final wording is decided by the inventor with a registered patent representative.
1. Keep it secret first
Say this before anything else, once:
- An invention made public before the filing date can lose its novelty: a paper, a thesis defence, a poster, a web page, a sale, a demo. Ask what has already been shown, to whom and when, and write it down. If something was disclosed, the representative must know now; some offices allow a short grace period, others none.
- Never paste the invention into an outside service, a public chat or a search box. Search prior art with general technical terms, never with the full new combination.
- If a paper on the same work is planned (
write-paper), the application is filed first unless the representative says otherwise.
2. The invention disclosure
Ask one question at a time until patent/disclosure.md holds:
- The office and the kind of protection: which country or office, and a patent or a utility model. Open that office's own current guidance for applicants and follow its required parts and form; say what you opened. Never state a rule, a fee, a time limit or a requirement from memory.
- The problem: what existing solutions cannot do, in technical terms.
- The solution: what it is made of or the steps it takes, and how the parts work together.
- The essential features: the smallest set of features without which the problem is not solved. Everything else is optional.
- Variants: other ways to build each part, ranges for each value, alternatives the inventor considered.
- Effects: what it achieves, and which were measured or built and which are expected. Keep the two apart.
- People and dates: who contributed to the invention, who owns it (an employer, a university or a funder may), and the dates of the work.
Have the inventor confirm the disclosure. From here on it is the only source of technical content.
When a draft or a filed application already exists, ask where it stands (not filed, filed, published, under examination, granted) and write it in the disclosure: it decides what is still secret and what can still change. Read all of it, claims included, and say so when a part could not be read. Fill the disclosure from it and skip step 5: go through the prior art search, the chart and the examination, and report. Never rewrite a filed application: what may still be amended after filing, and how, is for the representative. Also open each document the application itself cites and check it says what the application says it does.
3. Prior art: only what was opened
Search patent databases (the office's own, Espacenet, WIPO Patentscope, Google Patents) and the scientific literature, by keywords and by classification.
- A document counts only after it was opened in this session. Record it in
patent/prior-art.md: its number or reference, title, applicant or authors, publication date, the link, and which features of the invention it shows, with the paragraph or figure. - Never cite a publication number, a date or a content from memory. Not opened means not listed. A document seen only as a search result goes in a separate "not opened" list and supports nothing.
- Mark what was read word for word and what came through a tool's summary of the page. A claim's wording is quoted only when read word for word.
- Look beyond the invention's own field for each idea it combines: the same way of learning or measuring is often older in another industry.
- Name the closest prior art: the one document that shares the most essential features.
Say plainly that this search is not complete: an examiner and a professional searcher reach documents this one misses.
4. What is new
Write a chart in patent/feature-chart.md: one row for each essential feature, one column for each close document, each cell "shown" with where, or "not shown".
- The features no single document shows are the candidates for novelty.
- For the difference from the closest prior art, write the technical effect it brings and why a skilled person would not arrive at it from the documents found.
- If one document shows every essential feature, stop and tell the inventor. Do not reword the invention to step around it. Ask whether a variant or an optional feature in the disclosure makes a real difference, and go on only when one does.
5. Draft
- Claims first. One independent claim with the essential features only, in the form the office uses, the known features before the new ones when the office asks for that. Then dependent claims, each adding one optional feature or variant as a fallback. Use one term for one thing throughout. Claims of another category (a method beside a device) only when the disclosure supports them and they share the same inventive idea.
- The description, in the office's order, usually: title; technical field; background, citing the documents from
patent/prior-art.md; the technical problem; the solution and its effects; a short description of the drawings; a detailed description with at least one way to carry out the invention; examples. - Support: every feature of every claim appears in the description, in the same words, with enough detail for a skilled person to carry it out. Every variant the claims cover is described.
- Only the disclosure: no embodiment, value, test result or advantage the inventor did not give. Where the draft needs something that is missing, write
[INVENTOR TO CONFIRM: what]and add it to the open items. - Drawings and abstract: a list of the drawings needed, each with what it must show and its reference numbers; the abstract in the office's length.
6. Examine, and keep a revision only when it is not worse
- Examine. Give the claims, the description and the prior art file, and nothing else of this conversation, to a fresh examiner: a subagent when the tool has them, otherwise a separate pass. It returns objections under novelty, inventive step, clarity, support in the description, and unity, each pointing at the claim and the document or passage.
- Revise to answer the objections from what the disclosure already holds.
- Examine the revision with the same instructions and a fresh examiner.
- Decide. Keep the revision when it leaves fewer open objections and adds none. Otherwise go back to the version before and stop.
Narrowing the independent claim gives up protection: propose it with what is lost and what is gained, and change it only after the inventor says yes. At most three rounds, each written in patent/review-log.md. This examination is one model's opinion and predicts nothing about the office's decision; tell the inventor so.
7. Report
In a few lines: the files written; the closest prior art and the difference the claims rest on; the open items for the inventor; the questions for the patent representative (earlier disclosures, ownership, where to file, the final claim wording); and what was not verified. Never file anything.
Never
- Never invent a feature, an embodiment, a test result, a prior art document, a publication number or a date.
- Never say an invention is patentable, or will be granted. Say what the search found and did not find.
- Never state a law, a fee or a time limit without having opened the office's page in this session.
- Never send the invention or the draft to an outside service, and never put the new combination in a search query.
- Never decide who the inventors or the owners are.
Source
The staged flow (gather the material, search and keep only what was verified, draft from one source of truth, then a review loop that accepts a revision only when it is not worse) follows google-research/paper-orchestra (Apache License 2.0), which does this for research papers. This skill was written for this project and copies none of its code or prompts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

