patent-drawing

patent-drawing is a skill for Claude Code, Codex from Raw1mage/patentmcp. It costs 61 tokens per session (3,269 once invoked), scanned A, original, MIT.

A patent-drawing workflow for creating editable engineering figures in PowerPoint from patent claims and example implementations. Patent claims define the legal scope of an invention, while the figures show its components and relationships.

In plain words
What is it for?
It helps create system diagrams and flow diagrams, place reference labels, apply geometry checks, preserve native PowerPoint drawing objects, and produce filing images from the editable source.
Why use it?
It provides rules for keeping technical figures editable, aligned, and consistent with the patent text. It also separates the editable working file from image files prepared for formal filing.

Skill for Claude CodeCodex

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

Good fit It helps create system diagrams and flow diagrams, place reference labels, apply geometry checks, preserve native PowerPoint drawing objects, and produce filing images from the editable source.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/raw1mage/patentmcp/patent-drawing
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-drawing
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-drawing

README.md
[![agentmods](https://agentmods.dev/badge/skills/raw1mage/patentmcp/patent-drawing/github.svg)](https://agentmods.dev/skills/raw1mage/patentmcp/patent-drawing)
Your own site
<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.

agentmods 80×15 button for patent-drawing

Your own site · 80×15
<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>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,269 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.00061 $0.03269
Opus 5.5 $0.00024 $0.01308
Sonnet 5.5 $0.00012 $0.00654
Haiku 4.5 $0.00006 $0.00327

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

Security

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.

skills/patent-drawing/SKILL.md · 115 lines

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)

專利圖式作業嚴格區分「工程建置」與「送件交付」兩套真相源,杜絕概念混淆:

  1. 工程建置與微創手術 SSOT (Build SSOT):
    • 可編輯原生 PPTX 檔案(及其 <deck>.src/build/slides/PNN.py 繪圖腳本)為唯一工程母本。
    • 所有形狀、端口與連接線必須維持原生 DrawingML 向量物件,嚴禁在 PPTX 內將投影片扁平化為點陣圖(Never flatten slides to bitmaps)。
  2. 正式送件交付件 SSOT (Filed Figures / Delivery SSOT):
    • 專利局正式送件圖檔與說明書 DOCX 內嵌圖,強制由原生 Microsoft PowerPoint 導出 300~600 DPI 之高解析點陣圖(投影片1.PNG~投影片N.PNG)壓制替換。
    • 點陣圖僅作為衍生送件資產(Derivative Submission Assets),絕不可倒流污染或取代可編輯 PPTX 母本。

1. 第一原理與本體論邊界

第一原理:「根據 Claim 的文字描述把意象視覺化」。 架構圖只表達系統模組元件的連結關係;內部運算邏輯由泳道流程圖負責。

  • 方塊唯一合法候選:只有「執行功能的系統模組元件」可以畫成方塊。
  • 嚴禁入框:資料訊號、設定檔、物件、檔案、資料表欄位、動態動作(人工確認、比對)一律不入框。
  • 畫不出來即不配圖:若 Claim 純為資料結構或運算邏輯,正確結論是該項不配架構圖,嚴禁硬湊。

2. 專利製圖四大核心支柱 (Four Pillars)

  1. 柱一:法規與本體論邊界
    • 請求項為單一展開 SSOT(大系統 FIG. 1 ➔ 核心模組 ➔ 流程圖)。
    • 架構圖(實體模組/儲存分區)與流程圖(垂直泳道步驟 S010~S470)嚴格分立。
    • 方框文字純化:僅標法定元件名稱,嚴禁功能括號,多輸入箭頭強制上位化。
  2. 柱二:標號與連線外置幾何契約
    • 標號全外置:元件標號與步驟標號自成獨立無框 shape,以 1/4 圓弧引線(Quarter-circle leader,優先偏好 curvedConnector2 跨軸正交連接)連回。
    • 版面預設值(引線拉伸 0.25" × 0.35–0.45"、標號在框外對角、L 形箭頭代號放折角內側、左右留白相等):見 reference/figure-spec.md §3.1.1(BR_20261128)。這些是生成器預設,使用者手調永遠優先。
    • 連線標注純英數代號(不加 #),實施一圖一專屬英文字首,杜絕跨圖撞號。
  3. 柱三:PowerPoint 原生 DrawingML 吸附與網格工程
    • 100% 原生幾何(嚴禁 SVG 繞道),連線端點綁定 shape 端口(原生 Snapping)。
    • 網格優先佈局:垂直主柱中心 X 對齊($dx=0$),水平管線中心 Y 對齊($dy=0$)。
  4. 柱四:交付純化、圖檔保真與微創手術契約 (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。

Read the full file on GitHub · 115 lines

Files

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.

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 Changed · +13 lines 6beeba1a9c7f
  2. 17d ago First seen · 102 lines · 61 tokens per session scan A 12b485bf5ae5

Subscribe to this mod's changes

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.

Related

patent-drawing compared with skills from other repositories

patent-drawing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
patent-drawingRaw1mage/patentmcpSkill22d agoMITA61Claude Code, Codex
accessibility-compliance-accessibility-auditsickn33/agentic-awesome-skillsSkill51ktodayMITA38Claude Code
ada-plan-view-accessibilitybenchflow-ai/skillsbenchSkill1.9ktodayApache-2.0A41Claude Code, Codex
befund-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0kyesterdayApache-2.0A61Claude Code
pruefstandard-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0kyesterdayApache-2.0A70Claude Code
counselaimeos/pagibleSkill609yesterdayMITA34Claude Code, Codex
bmod-acmebmad-code-org/BMAD-METHODSkill56ktodaynoneA18Claude Code, Codex