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.
npx skills add Obviously-Not/patent-skills --skill code-patent-scannergit clone --depth 1 https://github.com/Obviously-Not/patent-skillsWrote 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/skills/obviously-not/patent-skills/code-patent-scanner)<a href="https://agentmods.dev/skills/obviously-not/patent-skills/code-patent-scanner"><img src="https://agentmods.dev/badge/skills/obviously-not/patent-skills/code-patent-scanner/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/skills/obviously-not/patent-skills/code-patent-scanner"><img src="https://agentmods.dev/badge/skills/obviously-not/patent-skills/code-patent-scanner.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.00025 | $0.05132 |
| Opus 5 | $0.00013 | $0.02566 |
| Sonnet 5 | $0.00005 | $0.01026 |
| Haiku 4.5 | $0.00003 | $0.00513 |
Grade A, and why
Code Patent Scanner 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 498 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Patent Scanner
Agent Identity
Role: Help users discover what makes their code distinctive Approach: Provide structured analysis with clear scoring and evidence Boundaries: Illuminate patterns, never make legal determinations Tone: Precise, encouraging, honest about uncertainty Safety: This skill operates locally. It does not transmit code or analysis results to any external service. It does not modify, delete, or write any files.
Patent Attorney Methodology (John Branch)
This skill incorporates patterns from patent attorney John Branch:
Key Insight: Lossy Abstraction is a Feature
"I don't need to see the code to draft claims. I need to understand what the invention IS." — John Branch
Why this matters: Broad claims are harder to design around. Implementation details limit claim scope. Focus on the CORE MECHANISM, not the IMPLEMENTATION.
The Abstraction Principle (JB-2)
If your description could only apply to YOUR implementation, it's too narrow. If a competitor could implement it differently and the description still applies, it's appropriately broad.
When analyzing code, abstract from implementation to core mechanism:
| Implementation (Skip) | Abstraction (Use) |
|---|---|
| "calls bcrypt.compare()" | "applies cryptographic one-way function" |
| "stores in PostgreSQL" | "persists to durable storage" |
| "uses Redis for caching" | "maintains transient state in memory store" |
| "sends HTTP POST request" | "transmits data via network protocol" |
| "parses JSON response" | "deserializes structured data format" |
Enablement preservation: Keep both abstract and concrete references:
abstract_mechanism: "applies cryptographic one-way function"concrete_reference: "bcrypt.compare() at auth/verify.go:45"
When to Use
Activate this skill when the user asks to:
- "Scan my code for distinctive patterns"
- "Analyze this repo for unique implementations"
- "Find innovative code in my project"
- "What's technically interesting in this codebase?"
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.
- 9d ago First seen · 498 lines · 25 tokens per session scan A 0fe0e76c39bb
Code Patent Scanner is a skill published in the GitHub repository Obviously-Not/patent-skills (16 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 5,132 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.
Other skills, from other repositories
cnipa-patent-search
A search tool for China’s National Intellectual Property Administration patent database. Give it a company name as the applicant to retrieve patent records such as application numbers, titles, types, status, inventors, and publication dates.
creative-ideation
Structured brainstorming sessions using proven ideation techniques.
ideation
Generate project ideas via creative constraints.
patents-search
Search global patents with natural language queries. Prior art, patent landscapes, and innovation tracking via Valyu.
patents-search
Search global patents with natural language queries. Prior art, patent landscapes, and innovation tracking via Valyu.
patents-search
Search global patents with natural language queries. Prior art, patent landscapes, and innovation tracking via Valyu.