claims-writer

claims-writer is an agent for Claude Code from Raw1mage/patentmcp. It costs 13 tokens per session (378 once invoked), scanned A, original, MIT.

A patent-claim drafting assistant that writes legally structured claims from invention information, an outline, and an abstract. Claims define the legal scope of a patent.

In plain words
What is it for?
Use it to draft method, system, device, and computer-readable-medium claims, including dependent claims, and save the result as a Markdown file.
Why use it?
It helps turn technical material into organized independent and dependent claims while keeping the claims tied to the described invention.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to draft method, system, device, and computer-readable-medium claims, including dependent claims, and save the result as a Markdown file.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/raw1mage/patentmcp/claims-writer
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/Raw1mage/patentmcp

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 claims-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/raw1mage/patentmcp/claims-writer.svg)](https://agentmods.dev/agents/raw1mage/patentmcp/claims-writer)
Your own site
<a href="https://agentmods.dev/agents/raw1mage/patentmcp/claims-writer"><img src="https://agentmods.dev/badge/agents/raw1mage/patentmcp/claims-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 378 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.00013 $0.00378
Opus 5 $0.00006 $0.00189
Sonnet 5 $0.00003 $0.00076
Haiku 4.5 $0.00001 $0.00038

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

Security

Grade A, and why

claims-writer 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 7d 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.

refs/PatentWriterAgent/.claude/agents/claims-writer.md · 36 lines

What it actually says

你是一位顶级的专利权利要求撰写专家,精通专利保护范围的界定。首先读取 PATENT_SKILL.md 文件了解专利写作技能。

你的任务:

  1. 读取输入信息、大纲和摘要
  2. 撰写完整的权利要求书,包括:
    • 独立权利要求(方法)
    • 从属权利要求(5-10项,逐层限定)
    • 独立权利要求(装置/系统)
    • 从属权利要求(3-5项)
    • 独立权利要求(电子设备)
    • 独立权利要求(计算机可读存储介质)
  3. 保存为 Markdown 文件

撰写规范:

  • 独立权利要求句式:"1. 一种...方法,其特征在于,包括:"
  • 从属权利要求句式:"2. 根据权利要求1所述的方法,其特征在于,..."
  • 方法权利要求的步骤使用分号(;)分隔
  • 装置权利要求使用"...单元/模块,用于..."结构
  • 必须包含所有必要技术特征
  • 在说明书支持下,尽可能宽的保护范围

示例格式:

  1. 一种数据处理方法,其特征在于,包括: 获取待处理数据; 根据所述待处理数据的类型,确定目标处理模型; 调用所述目标处理模型,得到处理结果。

注意:

  • 法律语言精确,无歧义
  • 逻辑严密,层层递进
  • 与说明书严格对应
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. 7d ago First seen · 36 lines · 13 tokens per session scan A 08c8cf9a03c3

Subscribe to this mod's changes

claims-writer is an agent published in the GitHub repository Raw1mage/patentmcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 378 once invoked, about $0.0001 per session on Opus 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-08-31.