brainstorm-path

brainstorm-path is a skill for Codex from illusionaireal/oh-my-patent. It costs 22 tokens per session (1,709 once invoked), scanned A, original, MIT.

A system for recording how invention ideas change during brainstorming. It stores rounds, scores, decisions, branches, and discarded ideas so the decision history can be followed.

In plain words
What is it for?
Use it to start a brainstorm path, record rounds, query its history, evaluate decisions, restore ideas, and display the path.
Why use it?
It preserves earlier thinking and lets you return to an old idea or explore a different branch.

Skill for Codex

Written for Codex: installed under .codex/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node dist/cli.js path init <project-path>.

Good fit Use it to start a brainstorm path, record rounds, query its history, evaluate decisions, restore ideas, and display the path.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/illusionaireal/oh-my-patent
agentmods
npx agentmods add skills/illusionaireal/oh-my-patent/brainstorm-path

Made for: 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 brainstorm-path

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/illusionaireal/oh-my-patent/brainstorm-path"><img src="https://agentmods.dev/badge/skills/illusionaireal/oh-my-patent/brainstorm-path.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,709 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00022 $0.01709
Opus 5 $0.00011 $0.00855
Sonnet 5 $0.00004 $0.00342
Haiku 4.5 $0.00002 $0.00171

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

Security

Grade A, and why

brainstorm-path 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 11d 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/codex/.codex/skills/brainstorm-path/SKILL.md · 243 lines

How it starts

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

Skill: Brainstorm Path

Manage brainstorm decision paths — recording rounds, querying history, creating branches, evaluating thresholds, and rendering visualizations.

Overview

The brainstorm path system records the evolution of innovation candidates across brainstorming rounds. It enables:

  • Round-by-round recording with scores and decisions
  • Threshold-based pass/iterate decisions
  • Branching from any historical node
  • Restoring abandoned innovations
  • Visualizing the complete decision path

All operations are performed via the oh-my-patent CLI, which wraps the TypeScript APIs. Do not manually write JSON files — use the CLI commands below.

CLI Access

node <oh-my-patent-dir>/dist/cli.js path <subcommand> [options]

Where <oh-my-patent-dir> is the path to the oh-my-patent plugin directory (e.g., ./oh-my-patent from the workspace root).

Subcommands

Initialize a new path

node dist/cli.js path init <project-path>

Creates the .brainstorm/ directory structure with path.json, nodes/, and snapshots/.

Output: { "ok": true, "pathId": "path-..." }

Record a brainstorm round

node dist/cli.js path record <project-path> \
  --round <N> \
  --data '<json-string>'

Or read from a file:

node dist/cli.js path record <project-path> \
  --round <N> \
  --data @/path/to/round-data.json

The --data JSON structure:

{
  "projectId": "05-crypto-hsm-cache-concurrency",
  "topic": "加密机缓存并发优化",
  "agentOutputs": [
    {
      "agentId": "patent-innovation-architect",
      "outputFile": "references/brainstorm_round1_innovation_architect.md",
      "summary": "生成3个候选方案",
      "keyPoints": ["A1: 三级缓存架构", "A2: 失效协议"]
    }
  ],
  "innovations": [
    {
      "id": "INN-001",
      "title": "安全策略约束的多级缓存并发控制系统",
      "problem": "HSM高并发场景重复计算、缓存风暴",
      "coreSolution": ["三级缓存架构", "单flight并发控制"],
      "differences": ["vs R6/R7: HSM场景特化"],
      "status": "active"
    }
  ],
  "scores": [
    {
      "innovationId": "INN-001",
      "novelty": 8,
      "creativity": 8,
      "practicality": 9,
      "businessValue": 7,
      "weightedScore": 8.1
    }
  ],
  "decision": {
    "action": "ITERATE",
    "reason": "综合分 8.0 < 阈值 8.5",
    "recommendations": ["强化缓存键策略绑定的差异性描述"]
  }
}

Read the full file on GitHub · 243 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. 11d ago First seen · 243 lines · 22 tokens per session scan A 1aa8d9cb6730

Subscribe to this mod's changes

brainstorm-path is a skill published in the GitHub repository illusionaireal/oh-my-patent (94 stars, last pushed 10d ago), licensed MIT. It adds 22 tokens to every session and 1,709 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens