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.
git clone --depth 1 https://github.com/illusionaireal/oh-my-patentWrote 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/commands/illusionaireal/oh-my-patent/patent-diagram)<a href="https://agentmods.dev/commands/illusionaireal/oh-my-patent/patent-diagram"><img src="https://agentmods.dev/badge/commands/illusionaireal/oh-my-patent/patent-diagram/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/commands/illusionaireal/oh-my-patent/patent-diagram"><img src="https://agentmods.dev/badge/commands/illusionaireal/oh-my-patent/patent-diagram.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.00000 | $0.00331 |
| Opus 5 | $0.00000 | $0.00166 |
| Sonnet 5 | $0.00000 | $0.00066 |
| Haiku 4.5 | $0.00000 | $0.00033 |
Grade A, and why
patent-diagram 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 13d 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.
What it actually says
/patent-diagram
生成、重渲染或查看专利附图
Usage In Codex
When the user writes /patent-diagram, follow this command prompt in the current workspace and obey AGENTS.md.
Prompt
name: patent-diagram description: 生成、重渲染或查看专利附图
/patent-diagram — 专利附图命令
用法
/patent-diagram [action] [options]
操作
| Action | 说明 |
|---|---|
generate |
读取 MAIN.md,生成全部附图(默认操作) |
regenerate <figureId> |
重新生成指定图 |
status |
查看当前图渲染状态 |
render <figureId> |
仅重新渲染指定图(不修改源码) |
示例
/patent-diagram— 生成全部附图/patent-diagram generate— 同上/patent-diagram regenerate fig1_system_architecture— 重新生成图1/patent-diagram status— 查看渲染状态
流程
- 确认当前项目目录和 MAIN.md 存在
- 调用
@patent-diagram-generatoragent 执行对应操作 - 报告渲染结果和文件位置
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.
- 13d ago First seen · 48 lines · 0 tokens per session scan A ebfc8445ae9a
patent-diagram is a command published in the GitHub repository illusionaireal/oh-my-patent (94 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 331 tokens. 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-08-30.
Other commands, from other repositories
deps-audit
Audit project dependencies for vulnerabilities, outdated packages, license conflicts, and supply chain risks — then provide actionable remediation strategies.
review-epo-claims
Analyze patent claims for EPO Art. 84 EPC compliance - clarity, conciseness, support by description.
voice-compliance
Voice/telephony compliance check — invokes voice-ai-reviewer to produce TM-voice-{slug}.md with TCPA, STIR/SHAKEN, state recording-consent, EU AI Act Art. 50, and synth-voice deepfake-law gaps.
review-policy
Review a policy document for structure, coverage, and language quality.
at-dsgvo
You are helping an enterprise architect generate an Austrian Data Protection Assessment — the Austrian-specific GDPR layer applied by the Datenschutzbehörde (DSB) under the Datenschutzgesetz (DSG 2018, BGBl. I Nr. 165/1999 as amended). Run this after /arckit:eu-rgpd to add Austrian obligations that go beyond the EU…
au-pspf
You are an enterprise architect generating a Protective Security Policy Framework (PSPF) compliance assessment for an Australian Government entity or contractor handling government information.