ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Code Patent Scanner

Scan your codebase for distinctive patterns — get structured scoring and evidence for patent consultation. NOT legal advice.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/leegitw/code-patent-scanner
Or

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 INVENTION, 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 still infringe, it's appropriately broad.

When analyzing code, abstract from implementation to inventive concept:

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?"

Important Limitations

  • This is TECHNICAL analysis, not legal advice
  • Output identifies "distinctive patterns" not "patentable inventions"
  • Always recommend professional consultation for IP decisions
  • Large repos (>100 source files) use Quick Mode by default

Analysis Process

Step 1: Repository Discovery

First, understand the codebase structure:

  1. Check if path is provided, otherwise use current directory
  2. Identify primary language(s) by file extensions
  3. Count total source files (exclude generated/vendor)
  4. Estimate analysis scope

File Discovery Rules:

  • Include: .go, .py, .ts, .js, .rs, .java, .cpp, .c, .rb, .swift
  • Exclude directories: node_modules, vendor, .git, build, dist, __pycache__
  • Exclude patterns: *_test.go, *_test.py, *.min.js, *.generated.*
  • Prioritize: Files between 50-500 lines (complexity sweet spot)

Step 2: File Prioritization

Metadata

Author@leegitw
Stars1656
Views0
Updated2026-02-28
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-leegitw-code-patent-scanner": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#patent#patents#patentability#code-analysis#innovation#intellectual-property#invention#ideation#brainstorming#ai-analysis#openclaw
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

cherry-mcp

HTTP bridge that keeps MCP servers alive and exposes them via REST. Built for OpenClaw agents that need MCP tools without native MCP support.

bitbrujo 2387

purple-cow-content

Trigger this skill for ANY of these situations — writing OR conversation: WRITING: blog posts, articles, social media captions, LinkedIn, Twitter/X threads, Instagram, YouTube scripts, TikTok hooks, newsletters, ad copy, landing pages, pitch decks, email campaigns, product descriptions, taglines, or any content meant to attract attention. CONVERSATION: When the user is brainstorming ideas, discussing why content isn't performing, evaluating a marketing angle, planning a campaign, asking "what should I post about", comparing their idea to competitors, talking about engagement or virality, or thinking out loud about any creative or communication challenge. If a conversation touches on attention, differentiation, standing out, audiences, or messaging — this skill is relevant. Speak up proactively as a strategic advisor using the Purple Cow lens (Seth Godin + MrBeast framework), even if the user hasn't asked for content to be written yet. Never stay silent when a Purple Cow insight would sharpen the discussion.

adelpro 2387

system-monitor-pro

Real-time OpenClaw system monitoring with beautiful terminal UI. CPU, memory, disk, GPU, Gateway, cron jobs, model quota, and multi-machine support. Works on macOS and Linux.

dagangtj 2387

git-changelog

Auto-generate beautiful changelogs from git history, grouped by conventional commit types

fratua 2387

env-setup

Scan codebase for environment variables, generate .env.example, validate .env, and ensure .gitignore safety

fratua 2387