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-drawinggit 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-drawing)<a href="https://agentmods.dev/skills/raw1mage/patentmcp/patent-drawing"><img src="https://agentmods.dev/badge/skills/raw1mage/patentmcp/patent-drawing/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-drawing"><img src="https://agentmods.dev/badge/skills/raw1mage/patentmcp/patent-drawing.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.00061 | $0.03269 |
| Opus 5.5 | $0.00024 | $0.01308 |
| Sonnet 5.5 | $0.00012 | $0.00654 |
| Haiku 4.5 | $0.00006 | $0.00327 |
Grade A, and why
patent-drawing 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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
專利製圖技能手冊 (L3 Format)
架構定位:專利製圖(Drawing)是專利說明書起草(Drafting)之專屬附屬技能。 負責將請求項(Claims)與實施例邊界轉譯為符合各國專利法規之 PowerPoint 原生可編輯工程圖式。 交付格式 100% 唯一指定 PowerPoint 原生 DrawingML(具備隨動吸附 Snapping)。
0. 快速導航與單一真相源 (SSOT)
| 任務情境 | 必讀文件 | 核心重點 |
|---|---|---|
| 圖式規格定義 / SSOT | reference/figure-spec.md |
Claim 階層樹、架構圖 vs 流程圖邊界、標號外置資料欄位 |
| 幾何規範 / 19 項阻斷檢核 | reference/figure-rules.md |
DrawingML Snapping 五大天條、網格對齊、負向控制組矩陣 |
| G3 構圖執行器 | ../patentworks/scripts/figure_builder.py |
依描述檔產出原生 DrawingML PPTX,嚴格執行 19 項阻斷檢核 |
| 說明書起草對接 | ../patent-drafting/SKILL.md |
四步法第三步:依洋蔥架構擬圖對應,一圖對一範圍 |
雙真相源分立準則 (Resolution of SSOT Conflict)
專利圖式作業嚴格區分「工程建置」與「送件交付」兩套真相源,杜絕概念混淆:
- 工程建置與微創手術 SSOT (Build SSOT):
- 可編輯原生 PPTX 檔案(及其
<deck>.src/build/slides/PNN.py繪圖腳本)為唯一工程母本。 - 所有形狀、端口與連接線必須維持原生 DrawingML 向量物件,嚴禁在 PPTX 內將投影片扁平化為點陣圖(Never flatten slides to bitmaps)。
- 可編輯原生 PPTX 檔案(及其
- 正式送件交付件 SSOT (Filed Figures / Delivery SSOT):
- 專利局正式送件圖檔與說明書 DOCX 內嵌圖,強制由原生 Microsoft PowerPoint 導出 300~600 DPI 之高解析點陣圖(
投影片1.PNG~投影片N.PNG)壓制替換。 - 點陣圖僅作為衍生送件資產(Derivative Submission Assets),絕不可倒流污染或取代可編輯 PPTX 母本。
- 專利局正式送件圖檔與說明書 DOCX 內嵌圖,強制由原生 Microsoft PowerPoint 導出 300~600 DPI 之高解析點陣圖(
1. 第一原理與本體論邊界
第一原理:「根據 Claim 的文字描述把意象視覺化」。 架構圖只表達系統模組元件的連結關係;內部運算邏輯由泳道流程圖負責。
- 方塊唯一合法候選:只有「執行功能的系統模組元件」可以畫成方塊。
- 嚴禁入框:資料訊號、設定檔、物件、檔案、資料表欄位、動態動作(人工確認、比對)一律不入框。
- 畫不出來即不配圖:若 Claim 純為資料結構或運算邏輯,正確結論是該項不配架構圖,嚴禁硬湊。
2. 專利製圖四大核心支柱 (Four Pillars)
- 柱一:法規與本體論邊界
- 請求項為單一展開 SSOT(大系統 FIG. 1 ➔ 核心模組 ➔ 流程圖)。
- 架構圖(實體模組/儲存分區)與流程圖(垂直泳道步驟 S010~S470)嚴格分立。
- 方框文字純化:僅標法定元件名稱,嚴禁功能括號,多輸入箭頭強制上位化。
- 柱二:標號與連線外置幾何契約
- 標號全外置:元件標號與步驟標號自成獨立無框 shape,以 1/4 圓弧引線(Quarter-circle leader,優先偏好
curvedConnector2跨軸正交連接)連回。 - 版面預設值(引線拉伸 0.25" × 0.35–0.45"、標號在框外對角、L 形箭頭代號放折角內側、左右留白相等):見
reference/figure-spec.md§3.1.1(BR_20261128)。這些是生成器預設,使用者手調永遠優先。 - 連線標注純英數代號(不加
#),實施一圖一專屬英文字首,杜絕跨圖撞號。
- 標號全外置:元件標號與步驟標號自成獨立無框 shape,以 1/4 圓弧引線(Quarter-circle leader,優先偏好
- 柱三:PowerPoint 原生 DrawingML 吸附與網格工程
- 100% 原生幾何(嚴禁 SVG 繞道),連線端點綁定 shape 端口(原生 Snapping)。
- 網格優先佈局:垂直主柱中心 X 對齊($dx=0$),水平管線中心 Y 對齊($dy=0$)。
- 柱四:交付純化、圖檔保真與微創手術契約 (0 Drift)
- 交付目錄格式唯一認
.pptx(帶版號fig<N>_v<X>.pptx),舊版移.history/。 - 人手微調最高尊重:嚴禁構圖腳本重新覆蓋重畫;修訂一律採 OOXML 增量微創手術。
- 使用者手編母本:手術前確認磁碟檔即最終存檔,手術後出示逐頁 shape diff;任何重建前先把使用者幾何回寫到位置覆寫表並證明零差異(
reference/figure-spec.md§4.4)。 - 圖檔保真鐵律:明令禁止使用 Linux headless LibreOffice 轉檔(避免正交連接線穿透矩形切割文字);正式圖檔強制使用原生 Microsoft PowerPoint 匯出 300~600 DPI 之 PNG 圖檔(
投影片X.PNG)。 - Master Lock 查驗:計算使用者母本 PPTX 的 SHA-256 並登錄,未動投影片保持 100% 位元完全一致。
- 人類回饋意見帳:任何審查回饋於執行前一律先登錄至
plans/<slug>/verbal_rules_ledger.md與tasks.md。
- 交付目錄格式唯一認
What ships with it
2 files 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 Changed · +13 lines 6beeba1a9c7f
- 17d ago First seen · 102 lines · 61 tokens per session scan A 12b485bf5ae5
patent-drawing is a skill published in the GitHub repository Raw1mage/patentmcp (2 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 3,269 once invoked, about $0.0002 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-11-17.
patent-drawing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| patent-drawingRaw1mage/patentmcp | Skill | 2 | 2d ago | MIT | A | 61 | Claude Code, Codex |
| accessibility-compliance-accessibility-auditsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 38 | Claude Code |
| ada-plan-view-accessibilitybenchflow-ai/skillsbench | Skill | 1.9k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| befund-bearbeitenKlotzkette/claude-fuer-deutsches-recht | Skill | 2.0k | yesterday | Apache-2.0 | A | 61 | Claude Code |
| pruefstandard-bearbeitenKlotzkette/claude-fuer-deutsches-recht | Skill | 2.0k | yesterday | Apache-2.0 | A | 70 | Claude Code |
| counselaimeos/pagible | Skill | 609 | yesterday | MIT | A | 34 | Claude Code, Codex |
| bmod-acmebmad-code-org/BMAD-METHOD | Skill | 56k | today | none | A | 18 | Claude Code, Codex |