patent-tw-format

patent-tw-format is a skill for Claude Code, Codex from Raw1mage/patentmcp. It costs 134 tokens per session (1,653 once invoked), scanned A, original, MIT.

A workflow skill for checking and correcting Taiwanese invention-patent DOCX files before electronic filing through TIPO E-SET. DOCX is the file format used by Microsoft Word, and TIPO is Taiwan's patent office.

In plain words
What is it for?
It is for preparing three E-SET-compatible Word files: the application, specification, and drawings. It also describes backing up originals and verifying the edited document structure.
Why use it?
It separates document-format checks from checking whether the patent's content meets legal requirements. It helps avoid submitting files that fail E-SET's format checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for preparing three E-SET-compatible Word files: the application, specification, and drawings. It also describes backing up originals and verifying the edited document structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/raw1mage/patentmcp/patent-tw-format
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 Raw1mage/patentmcp --skill patent-tw-format
Clone the repo
git clone --depth 1 https://github.com/Raw1mage/patentmcp

Made for: Claude Code, Codex.

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 patent-tw-format

README.md
[![agentmods](https://agentmods.dev/badge/skills/raw1mage/patentmcp/patent-tw-format/github.svg)](https://agentmods.dev/skills/raw1mage/patentmcp/patent-tw-format)
Your own site
<a href="https://agentmods.dev/skills/raw1mage/patentmcp/patent-tw-format"><img src="https://agentmods.dev/badge/skills/raw1mage/patentmcp/patent-tw-format/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 patent-tw-format

Your own site · 80×15
<a href="https://agentmods.dev/skills/raw1mage/patentmcp/patent-tw-format"><img src="https://agentmods.dev/badge/skills/raw1mage/patentmcp/patent-tw-format.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,653 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.00134 $0.01653
Opus 5.5 $0.00054 $0.00661
Sonnet 5.5 $0.00027 $0.00331
Haiku 4.5 $0.00013 $0.00165

Measured 2d ago against content hash d3fb972f4158, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

patent-tw-format 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_tw_eset.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/patent-tw-format/SKILL.md · 54 lines

How it starts

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

台灣專利送件格式閘門(TIPO E-SET)

適用:台灣發明專利申請送件前的 .docx 格式檢核與修正。內容合法性(記載要件)走 patent-drafting;本 skill 只管 E-SET 能否過檔。

一、最快路徑(中央 Runbook)

  • Runbook ID:rbs-7242f5a1-77ff-48ca-a6da-85328cb9fc95:workflow.task-path.tipo-e-set-tw-patent-docx-format-gate-audit-and-remediation-
  • 調用:runbook(action="find", intent="TIPO E-SET TW patent docx format gate audit and remediation"),照其步驟執行。
  • 閘門矩陣、驗證器錯誤碼對照、圖片與樣式規則全文在 server KB(knowledge-base/patent-drafting-legal/tipo-eset/),以 patentmcp_kb_query("TIPO E-SET 閘門") 取用。

二、交付紅線

  1. 交付物=E-SET 相容 .docx 三件組:發明專利申請書.docx、發明說明書.docx、發明圖式.docx。
  2. 禁止以 word-pdf 或任何工具匯出送件 PDF;送件 PDF 由 E-SET Add-in 通過檢核後自行產生。
  3. 修改前把原 .docx 備份到 History/(保留 bytes 與時間戳),不得覆蓋。
  4. OOXML 只經 docxmcp 修改,固定順序: webdav_mount(app="docxmcp") → docxmcp_document(action="open_for_revise") → docxmcp_docx_patch → docxmcp_docx_patch(target="package", op="strip_injected_ids") → docxmcp_docx_verify(target="structure")。 禁止以 python/zipfile/ElementTree/pandoc 直接改寫 OOXML。
  5. 圖式 DOCX 組裝(使用者裁示 2026-11-28~2026-12-02,例與原文在 server KB drafting-user-rulings-distilled.md §5):
    • 600 DPI 圖檔由 Windows 原生 PowerPoint 匯出(WSL → powershell.exe → PowerPoint);LibreOffice 只供預覽。
    • 橫式投影片逆時針轉 90° 成直式、寬填滿 17 cm;高 > 24.5 cm 時只裁上下純白列,不縮寬、不裁內容與圖名。
    • 圖片本身已含【圖 k】時,不再加重複【圖 k】段落。
    • word/media/imageN.* 的 N 不保證等於圖號;一律經 document.xml 之 r:embed + document.xml.rels 對映(check_tw_eset.py 即依此實作)。
  6. 說明書樣式與頁數:樣式對齊先前已過 E-SET 之基線(不自動首行縮排、段間不空行、零空段落);以 Windows Word COM 實測各節頁數,同步申請書、紙本填寫表與規費級距;交接清單必含 Word Ctrl+A → F9(刷新 SECTIONPAGES)。撰稿修稿階段不產 PDF。
  7. 個資:申請人變更時不沿用前申請人個資欄位,待填欄位保留 〔TBD-NN〕;紙本填寫表含真實身分證號,不進 git、不在日誌或報告印出未遮蔽號碼,保留待填欄位黃色螢光標記。

三、自動 pre-flight(唯讀)

腳本 用途
scripts/check_tw_eset.py 唯讀稽核三件組的靜態阻擋閘門;輸出 JSON,exit 0=PASS、1=FAIL、2=用法/讀檔錯誤
python3 scripts/check_tw_eset.py <三件組目錄>
python3 scripts/check_tw_eset.py <某檔.docx> --kind spec
  • 檔名含 申請書/說明書/圖式 自動判別種類;否則以 --kind 指定。
  • 量測範圍:字元(<>&、PUA、CP950)、【…】 粗斜底線、樣式字型、禁用結構(文字框/w:sdt/表格/浮動圖)、頁尾頁碼欄位與 992 dxa、注入書籤與 customXml;申請書 ValidDesignatedReceiver;說明書六標題、【NNNN】 連續段號(ER10020025)、【指定代表圖】 單行、請求項 style="2";圖式 RGB JPEG ≥300 DPI、8.0–17.0 × 8.0–24.5 cm、圖→【圖k】 順序、a9 置中、pageBreakBefore;跨檔 ValidSameInventionTitle。
  • 不量測(輸出 not_measured 列出):規費計算(FeeCalculate.dll)、地址郵遞區號與欄位合法性、頁數與件數同步、版面渲染。這些留給 Add-in 的 規費檢核 與人工複核。

Read the full file on GitHub · 54 lines

Files

What ships with it

1 file 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. 2d ago First seen · 54 lines · 134 tokens per session scan A d3fb972f4158

Subscribe to this mod's changes

patent-tw-format is a skill published in the GitHub repository Raw1mage/patentmcp (2 stars, last pushed 2d ago), licensed MIT. It adds 134 tokens to every session and 1,653 once invoked, about $0.0005 per session on Opus 5.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-12-02.

Related

patent-tw-format compared with skills from other repositories

patent-tw-format next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
patent-tw-formatRaw1mage/patentmcpSkill22d agoMITA134Claude Code, Codex
patent-readerhandsomestWei/patent-disclosure-skillSkill14kyesterdayMITA38Claude Code
meta-pdf-reformat-pipelineopensquilla/opensquillaSkill7.2k8d agoApache-2.0A35Claude Code, Codex
ectd-xml-compileraipoch/medical-research-skillsSkill2.1k14d agoMITA39Claude Code, Codex
akf-trust-metadata-v2diegosouzapw/awesome-omni-skillsSkill1813d agoMITA100Claude Code, Codex
diagramar-pecaemidio-trancoso/advocacia-abertaSkill1123d agoMITA76Claude Code
audit-exportSnowflake-Labs/cocoplusSkill73027d agoMITA15Claude Code