patent-new

patent-new is a command for Claude Code from illusionaireal/oh-my-patent. It costs 0 tokens per session (174 once invoked), scanned A, original, MIT.

A command for starting a new patent project from a topic or title. It creates the project folder, initializes its status, and adds a place for references.

In plain words
What is it for?
Use it to create a numbered project directory with a topic-based name, an INIT state, and a references folder.
Why use it?
It gives a new patent idea a consistent folder structure and starting state.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to create a numbered project directory with a topic-based name, an INIT state, and a references folder.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/illusionaireal/oh-my-patent/patent-new
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.

Clone the repo
git clone --depth 1 https://github.com/illusionaireal/oh-my-patent

Made for: Claude Code.

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-new

README.md
[![agentmods](https://agentmods.dev/badge/commands/illusionaireal/oh-my-patent/patent-new/github.svg)](https://agentmods.dev/commands/illusionaireal/oh-my-patent/patent-new)
Your own site
<a href="https://agentmods.dev/commands/illusionaireal/oh-my-patent/patent-new"><img src="https://agentmods.dev/badge/commands/illusionaireal/oh-my-patent/patent-new/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-new

Your own site · 80×15
<a href="https://agentmods.dev/commands/illusionaireal/oh-my-patent/patent-new"><img src="https://agentmods.dev/badge/commands/illusionaireal/oh-my-patent/patent-new.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 174 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.00000 $0.00174
Opus 5.5 $0.00000 $0.00070
Sonnet 5.5 $0.00000 $0.00035
Haiku 4.5 $0.00000 $0.00017

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

Security

Grade A, and why

patent-new 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 15d 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.

src/commands/patent-new.md · 32 lines

What it actually says

Command: /patent-new

Description

Create a new patent project.

Usage

/patent-new <topic>

Parameters

  • topic: The patent topic/title (required)

Behavior

  1. Scans existing projects directory for next sequence number
  2. Creates project directory: projects/{NN}-{topic_slug}/
  3. Initializes .patent/state.json with stage INIT
  4. Creates references/ subdirectory
  5. Returns project creation confirmation
  6. Archimedes invokes the environment sentinel and saves its actual report before entering RESEARCH

Example

/patent-new 基于区块链的跨境支付隐私保护方法

Output

Project created: projects/01-blockchain-crossborder-payment
State initialized: INIT stage
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. 15d ago Changed · +1 lines 09b6e79a391b
  2. 1mo ago Changed · -13 lines 3831df14299d
  3. 1mo ago First seen · 44 lines · 0 tokens per session scan A fb5f4360a873

Subscribe to this mod's changes

patent-new is a command published in the GitHub repository illusionaireal/oh-my-patent (110 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 174 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.