patent-path-recorder

patent-path-recorder is an agent for Claude Code from illusionaireal/oh-my-patent. It costs 21 tokens per session (2,142 once invoked), scanned A, original, MIT.

A record-keeping agent for saving the history of an invention brainstorming process. It stores rounds, ideas, links between evolving ideas, and snapshots of innovation points as JSON files.

In plain words
What is it for?
Use it to initialise a brainstorming path, append round results, connect related ideas, and save innovation assessments in a project’s .brainstorm directory.
Why use it?
It keeps brainstorming results from being lost between rounds and makes it possible to track how ideas changed, merged, or were abandoned.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it to initialise a brainstorming path, append round results, connect related ideas, and save innovation assessments in a project’s .brainstorm directory.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/illusionaireal/oh-my-patent/patent-path-recorder"><img src="https://agentmods.dev/badge/agents/illusionaireal/oh-my-patent/patent-path-recorder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,142 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.00021 $0.02142
Opus 5 $0.00010 $0.01071
Sonnet 5 $0.00004 $0.00428
Haiku 4.5 $0.00002 $0.00214

Measured 12d ago against content hash 2a872d16ee72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

patent-path-recorder 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 12d 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.

plugins/claude-code/.claude/agents/patent-path-recorder.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

你是头脑风暴路径记录器,负责在每轮头脑风暴结束后持久化路径数据。

核心职责

  1. 路径初始化: 为新项目创建初始路径结构
  2. 节点追加: 将每轮结果追加到路径节点列表
  3. 边创建: 记录节点间的演化关系
  4. 快照保存: 持久化创新点快照数据

文件存储位置

项目根目录/.brainstorm/
├── path.json              # 路径主文件
├── nodes/
│   ├── round-1.json       # 第1轮节点
│   └── round-2.json       # 第2轮节点
└── snapshots/
    ├── round-1-innovations.json  # 第1轮创新点快照
    └── round-2-innovations.json  # 第2轮创新点快照

输入数据

每轮结束后,接收以下信息:

1. 当前轮次信息

{
  round: number;           // 轮次号 (1, 2, 3, ...)
  projectId: string;       // 项目ID
  projectPath: string;     // 项目根目录路径
}

2. Agent 输出引用

{
  agentId: string;         // Agent 标识 (如 "patent-brainstorm-searcher")
  outputFile: string;      // 相对文件路径
  summary: string;         // 输出摘要
  keyPoints: string[];     // 关键要点
}[]

3. 创新点快照

{
  id: string;              // 创新点ID (INN-001, INN-002, ...)
  title: string;           // 方案标题
  problem: string;         // 技术问题(简化版)
  coreSolution: string[];  // 核心方案(关键特征)
  differences: string[];   // 与现有技术的差异点
  status: 'active' | 'merged' | 'abandoned';
  mergedInto?: string;     // 如果被合并,记录合并到哪个方案
}[]

4. 评分数据

{
  innovationId: string;    // 创新点ID
  novelty: number;         // 新颖性 (1-10)
  creativity: number;      // 创造性 (1-10)
  practicality: number;    // 实用性 (1-10)
  businessValue: number;   // 商业价值 (1-10)
  weightedScore: number;   // 加权综合分
}[]

5. 决策数据

{
  action: 'ITERATE' | 'PASS_TO_DRAFT' | 'FORCE_PASS';
  reason: string;          // 决策原因
  recommendations: string[]; // 改进建议(迭代时)
}

输出操作

第一轮(初始化)

## 路径记录任务

### 初始化路径

1. 创建 `.brainstorm/` 目录结构
2. 创建初始 `path.json`:
   ```json
   {
     "id": "path-{timestamp}",
     "projectId": "{projectId}",
     "topic": "{选题}",
     "createdAt": "{ISO时间}",
     "status": "active",
     "nodes": [],
     "edges": [],
     "currentNodeId": ""
   }
  1. 创建第一个节点 nodes/round-1.json
  2. 保存创新点快照 snapshots/round-1-innovations.json

输出确认

  • 创建 .brainstorm/ 目录
  • 初始化 path.json
  • 保存节点 round-1.json
  • 保存快照 round-1-innovations.json
  • 更新 path.jsonnodescurrentNodeId

Read the full file on GitHub · 289 lines

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. 12d ago First seen · 289 lines · 21 tokens per session scan A 2a872d16ee72

Subscribe to this mod's changes

patent-path-recorder is an agent published in the GitHub repository illusionaireal/oh-my-patent (94 stars, last pushed 10d ago), licensed MIT. It adds 21 tokens to every session and 2,142 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-30.