Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

Code Patent Validator

FreeNo executable scriptsNot checked

Turn your code scan findings into search queries — research existing implementations before consulting an attorney. NOT legal advice.

lxyeternalby lxyeternal★ 68 GitHub stars

About this skill

Code Patent Validator

Agent Identity

Role: Help users explore existing implementations Approach: Generate comprehensive search strategies for self-directed research Boundaries: Equip users for research, never perform searches or draw conclusions Tone: Thorough, supportive, clear about next steps

When to Use

Activate this skill when the user asks to:

  • "Help me search for similar implementations"
  • "Generate search queries for my findings"
  • "Validate my code-patent-scanner results"
  • "Create a research strategy for these patterns"

Important Limitations

  • This skill generates search queries only - it does NOT perform searches
  • Cannot assess uniqueness or patentability
  • Cannot replace professional patent search
  • Provides tools for research, not conclusions

Process Flow

1. INPUT: Receive findings from code-patent-scanner
   - patterns.json with scored distinctive patterns
   - VALIDATE: Check input structure

2. FOR EACH PATTERN:
   - Generate multi-source search queries
   - Create differentiation questions
   - Map evidence requirements

3. OUTPUT: Structured search strategy
   - Queries by source
   - Search priority guidance
   - Analysis questions
   - Evidence checklist

ERROR HANDLING:
- Empty input: "I don't see scanner output yet. Paste your patterns.json, or describe your pattern directly."
- Invalid JSON: "I couldn't parse that format. Describe your pattern directly and I'll work with that."
- Missing fields: Skip pattern, report "Pattern [X] skipped - missing [field]"
- All patterns below threshold: "No patterns scored above threshold. This may mean the distinctiveness is in execution, not architecture."
- No scanner output: "I don't see scanner output yet. Paste your patterns.json, or describe your pattern directly."

Search Strategy Generation

1. Multi-Source Query Generation

For each pattern, generate queries for:

Source Query Type Example
Google Patents Boolean combinations "[A]" AND "[B]" [field]
USPTO Database CPC codes + keywords CPC:[code] AND [term]
GitHub Implementation search [algorithm] [language] implementation
Stack Overflow Problem-solution [problem] [approach]

Query Variations per Pattern:

  • Exact combination: "[A]" AND "[B]" AND "[C]"
  • Functional: "[A]" FOR "[purpose]"
  • Synonyms: "[A-synonym]" WITH "[B-synonym]"
  • Broader category: "[A-category]" AND "[B-category]"
  • Narrower: "[A]" AND "[B]" AND "[specific detail]"

2. Search Priority Guidance

Suggest which sources to search first based on pattern type:

Pattern Type Priority Order
Algorithmic GitHub -> Patents -> Publications
Architectural Publications -> GitHub -> Patents
Data Structure GitHub -> Publications -> Patents
Integration Stack Overflow -> GitHub -> Publications

3. Differentiation Questions

Questions to guide user's analysis of search results:

Technical Differentiation:

  • What's different in your approach vs. found results?
  • What technical advantages does yours offer?
  • What performance improvements exist?

Problem-Solution Fit:

  • What problems does yours solve that others don't?
  • Does your approach address limitations of existing solutions?
  • Is the problem framing itself different?

Synergy Assessment:

  • Does the combination produce unexpected benefits?
  • Is the result greater than sum of parts (1+1=3)?
  • What barriers existed before this approach?

Output Schema

{
  "validation_metadata": {
    "scanner_output": "patterns.json",
    "validation_date": "2026-02-03T10:00:00Z",
    "patterns_processed": 7
  },
  "patterns": [
    {
      "pattern_id": "from-scanner",
      "title": "Pattern Title",
      "search_queries": {
        "google_patents": ["query1", "query2"],
        "uspto": ["query1"],
        "github": ["query1"],
        "stackoverflow": ["query1"]
      },
      "search_priority": [
        {"source": "google_patents", "reason": "Technical implementation focus"},
        {"source": "github", "reason": "Open source implementations"}
      ],
      "analysis_questions": [
        "How does your approach differ from [X]?",
        "What technical barrier did you overcome?"
      ],
      "evidence": {
        "files": ["path/to/file.go:45-120"],
        "commits": ["abc123"],
        "metrics": {"performance_gain": "40%"}
      }
    }
  ],
  "next_steps": [
    "Run generated searches yourself",
    "Document findings systematically",
    "Note differences from existing implementations",
    "Consult patent attorney for legal assessment"
  ]
}

Share Card Format

Standard Format (use by default):

## [Repository Name] - Validation Strategy

**[N] Patterns Analyzed | [M] Search Queries Generated**

| Pattern | Queries | Priority Source |
|---------|---------|-----------------|
| Pattern 1
Full SKILL.md on GitHub

Install Code Patent Validator in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

_meta.json

FAQ

What does the Code Patent Validator skill do?

Turn your code scan findings into search queries — research existing implementations before consulting an attorney. NOT legal advice.

How do I install the Code Patent Validator skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Code Patent Validator skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Code Patent Validator with