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
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.
Distinctiveness
How unique is this approach relative to standard implementations? A common pattern scores 0. A combination nobody else uses scores 4.
Sophistication
Engineering complexity and elegance. Simple boolean checks score low. Multi-layered architectures that solve hard constraints score high.
System Impact
Effect on overall system behavior. A utility function scores low. A pattern that fundamentally changes how the system operates scores high.
Frame Shift
Does this pattern redefine the problem itself? Incremental improvements score low. Approaches that change what the problem even is score high.
The Abstraction Principle
Patent claims benefit from conceptual descriptions rather than implementation specifics. The scanner abstracts deliberately.
bcrypt.compare()
applies cryptographic one-way function
stores in PostgreSQL
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.
Choose Your Path
Pick the workflow that matches what you're working with.
I have code
Scan your codebase for patterns worth protecting.
- Code Patent Scanner
- Code Patent Validator
- Research → Attorney
I have a concept
Describe your invention for structured analysis.
- Patent Scanner
- Patent Validator
- Research → Attorney
I want to extract principles
Find the invariant ideas that survive any rephrasing.
- PBE Extractor
- Compare, Synthesize, or Refine
Patent Analysis
Code Patent Scanner
Scan your codebase for distinctive patterns. Get structured scoring and evidence for patent consultation.
Start here for code analysisCode Patent Validator
Turn your code scan findings into search queries. Research existing implementations before consulting an attorney.
Use after Code Patent ScannerPatent Scanner
Describe your concept and discover what makes it distinctive. Structured analysis for patent consultation.
Start here for concept analysisPrinciple-Based Extraction
Then choose your analysis:
Principle Comparator
Compare two sources to find shared and divergent principles.
2 sourcesPrinciple Synthesizer
Synthesize invariant principles from 3+ sources into a unified core.
3+ sourcesEssence Distiller
Find what actually matters. The ideas that survive any rephrasing.
Refine and distillAdvanced
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+ extractionsWorkflow Overview
Patent Analysis
Principle Extraction
Start with a Scanner or PBE Extractor, then follow the path that fits your goal.
Prefer a web interface? Try the hosted scanner. First scan is free.