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.
npx skills add Raw1mage/patentmcp --skill patent-tw-formatgit clone --depth 1 https://github.com/Raw1mage/patentmcpWrote 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.
[](https://agentmods.dev/skills/raw1mage/patentmcp/patent-tw-format)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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 閘門")取用。
二、交付紅線
- 交付物=E-SET 相容
.docx三件組:發明專利申請書.docx、發明說明書.docx、發明圖式.docx。 - 禁止以
word-pdf或任何工具匯出送件 PDF;送件 PDF 由 E-SET Add-in 通過檢核後自行產生。 - 修改前把原
.docx備份到History/(保留 bytes 與時間戳),不得覆蓋。 - 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。 - 圖式 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即依此實作)。
- 600 DPI 圖檔由 Windows 原生 PowerPoint 匯出(WSL →
- 說明書樣式與頁數:樣式對齊先前已過 E-SET 之基線(不自動首行縮排、段間不空行、零空段落);以 Windows Word COM 實測各節頁數,同步申請書、紙本填寫表與規費級距;交接清單必含 Word
Ctrl+A → F9(刷新SECTIONPAGES)。撰稿修稿階段不產 PDF。 - 個資:申請人變更時不沿用前申請人個資欄位,待填欄位保留
〔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 的規費檢核與人工複核。
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.
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.
- 2d ago First seen · 54 lines · 134 tokens per session scan A d3fb972f4158
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.
patent-tw-format compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| patent-tw-formatRaw1mage/patentmcp | Skill | 2 | 2d ago | MIT | A | 134 | Claude Code, Codex |
| patent-readerhandsomestWei/patent-disclosure-skill | Skill | 14k | yesterday | MIT | A | 38 | Claude Code |
| meta-pdf-reformat-pipelineopensquilla/opensquilla | Skill | 7.2k | 8d ago | Apache-2.0 | A | 35 | Claude Code, Codex |
| ectd-xml-compileraipoch/medical-research-skills | Skill | 2.1k | 14d ago | MIT | A | 39 | Claude Code, Codex |
| akf-trust-metadata-v2diegosouzapw/awesome-omni-skills | Skill | 181 | 3d ago | MIT | A | 100 | Claude Code, Codex |
| diagramar-pecaemidio-trancoso/advocacia-aberta | Skill | 112 | 3d ago | MIT | A | 76 | Claude Code |
| audit-exportSnowflake-Labs/cocoplus | Skill | 730 | 27d ago | MIT | A | 15 | Claude Code |