Skip to content

AI Agent Skills

Open-source skills for patent analysis and principle extraction. Built on the Agent Skills standard. Works with Claude Code, Gemini CLI, Codex CLI, Cursor, and any compatible agent. Thousands of installs on ClawHub.

How to Use

Each skill is a SKILL.md file. Drop it into your agent and go.

Claude Code / Gemini CLI / Cursor

git clone https://github.com/Obviously-Not/patent-skills cp -r patent-skills/code-patent-scanner .claude/skills/ # Now use /code-patent-scanner in your agent

Any LLM Agent

Open the SKILL.md on GitHub, copy the contents, and paste into your agent's chat. It works immediately.

OpenClaw

clawhub install leegitw/code-patent-scanner

View all skills on GitHub

Not legal advice. These tools identify technical patterns, not patentability. Consult a patent attorney for IP guidance.

These tools DO:

  • Identify distinctive patterns
  • Generate search queries
  • Suggest research strategies
  • Document technical evidence

These tools DON'T:

  • Search patent databases
  • Assess patentability
  • Provide legal conclusions
  • Replace professional counsel

Why Skills, Not Apps?

Skills are portable instructions any AI agent can execute. That changes three things.

Runs on your machine

Skills execute locally through your agent. Your code never leaves your device. Critical for pre-filing confidentiality and trade secret protection.

Works everywhere

Same skill runs in Claude Code, Gemini CLI, Cursor, OpenClaw, or pasted into any LLM chat. No vendor lock-in. Switch agents without losing capability.

Open source, forkable

MIT-0 licensed. Read the source, modify the prompts, adapt the scoring. You know exactly what is running against your code because you can read every line of it.

How Patterns Are Scored

The scanner evaluates each pattern across four independent dimensions on a 0-13 scale. Patterns scoring 8 or higher are reported.

0-4

Distinctiveness

How unique is this approach relative to standard implementations? A common pattern scores 0. A combination nobody else uses scores 4.

0-3

Sophistication

Engineering complexity and elegance. Simple boolean checks score low. Multi-layered architectures that solve hard constraints score high.

0-3

System Impact

Effect on overall system behavior. A utility function scores low. A pattern that fundamentally changes how the system operates scores high.

0-3

Frame Shift

Does this pattern redefine the problem itself? Incremental improvements score low. Approaches that change what the problem even is score high.

Reporting threshold: 8/13. Patterns below 8 are interesting but not distinctive enough to warrant a patent conversation. Patterns at 10+ are strong candidates worth prioritizing.

The Abstraction Principle

Patent claims benefit from conceptual descriptions rather than implementation specifics. The scanner abstracts deliberately.

Code says bcrypt.compare()
Scanner outputs applies cryptographic one-way function
Code says stores in PostgreSQL
Scanner outputs persists to durable storage

Broader descriptions create stronger design-around barriers. If your patent claim says "PostgreSQL," competitors use MySQL and avoid infringement. If it says "durable storage," the claim covers the concept regardless of implementation.

Patent Analysis

🔬

Code Patent Scanner

Scan your codebase for distinctive patterns. Get structured scoring and evidence for patent consultation.

Start here for code analysis

Code Patent Validator

Turn your code scan findings into search queries. Research existing implementations before consulting an attorney.

Use after Code Patent Scanner
🔍

Patent Scanner

Describe your concept and discover what makes it distinctive. Structured analysis for patent consultation.

Start here for concept analysis
🔎

Patent Validator

Turn your concept analysis into search queries. Research the landscape before consulting an attorney.

Use after Patent Scanner

Principle-Based Extraction

📐

PBE Extractor

Extract invariant principles from any text. Find the ideas that survive rephrasing. This is always your first step.

Start here — extract before comparing or synthesizing

Then choose your analysis:

⚖️

Principle Comparator

Compare two sources to find shared and divergent principles.

2 sources
⚗️

Principle Synthesizer

Synthesize invariant principles from 3+ sources into a unified core.

3+ sources

Essence Distiller

Find what actually matters. The ideas that survive any rephrasing.

Refine and distill
🧭

Pattern Finder

Discover what two sources agree on. Find the signal in the noise.

2 sources

Advanced

These skills build on outputs from Patent Analysis or Principle Extraction workflows above.

💎

Core Refinery

Find the core that runs through everything. The ideas that survive across all your sources.

Use with 3+ extractions
🏆

Golden Master

Track source-of-truth relationships between files. Know when derived content becomes stale.

After synthesis, track derivations

Workflow Overview

Patent Analysis

Scanner Validator Research Attorney

Principle Extraction

PBE Extractor Compare / Synthesize / Distill / Find
Core Refinery · Golden Master

Start with a Scanner or PBE Extractor, then follow the path that fits your goal.

Want complete privacy? Download the local scanner. Your code never leaves your machine.
Prefer a web interface? Try the hosted scanner. First scan is free.