Code Patent Scanner for Openclaw

A specialized technical analysis tool that scans repositories to identify, score, and document distinctive code patterns for intellectual property preparation.

leegitw
v1.4.0
Feb 23, 2026
13
3.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install code-patent-scanner

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install code-patent-scanner using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Code Patent Scanner?

Code Patent Scanner is an advanced developer tool designed to bridge the gap between raw source code and intellectual property strategy. By utilizing a methodology focused on lossy abstraction, the skill helps developers move beyond implementation details to identify the core inventive concepts within their work. It provides a structured framework for evaluating code based on technical distinctiveness and sophistication, offering a clear path for preparing for professional patent consultations.

Built to operate locally for maximum security, this skill ensures that your proprietary code is never transmitted to external services. It integrates seamlessly with other Openclaw Skills to provide a comprehensive view of a project's technical innovation, transforming complex logic into organized data that highlights the problem-solution-benefit mapping of your most unique engineering achievements.

Code Patent Scanner Use Cases

  • Scanning new repositories to identify potentially unique algorithmic implementations
  • Auditing existing codebases for sophisticated architectural patterns and custom data structures
  • Generating structured evidence and technical documentation for IP strategy meetings
  • Analyzing large-scale projects to find high-impact logic that differentiates a product from competitors
  • Transforming concrete implementation details into abstract technical concepts for better high-level communication

How Code Patent Scanner Works

  1. The skill initiates repository discovery by identifying source files and estimating the analysis scope based on file count and language.
  2. It prioritizes files containing core business logic, custom algorithms, and complex engines while filtering out boilerplate and generated code.
  3. Each prioritized file is analyzed across multiple categories, including algorithmic, architectural, and data structure patterns.
  4. The tool applies the Abstraction Principle to translate implementation-specific code into high-level technical mechanisms.
  5. Patterns are evaluated on a 13-point scale measuring distinctiveness, sophistication, system impact, and frame shift.
  6. For any pattern scoring 8 or higher, the skill generates specific claim framings and a detailed problem-solution-benefit map.

Code Patent Scanner Setup

To use this tool within the Openclaw Skills ecosystem, navigate to your project directory and invoke the scanner. No external configuration is required as the tool runs entirely on your local machine.

# Invoke the scanner on the current directory
openclaw run code-patent-scanner .

# Specify a path for a targeted scan
openclaw run code-patent-scanner ./src/core-engine

Code Patent Scanner Data Schema & Taxonomy

The skill organizes its findings into a structured JSON report that categorizes technical patterns and metadata. The schema includes:

Section Contents
scan_metadata Repository path, scan date, and file analysis statistics.
patterns Array of identified patterns including IDs, technical details, and source references.
score Multi-dimensional scoring (0-13) based on innovation criteria.
claim_angles Framings for Method, System, and Apparatus perspectives for high-value patterns.
summary Aggregated metrics of patterns found by category and average sophistication scores.

Code Patent Scanner Advanced Features

  • Deep Mode Analysis: A guided selection process for large repositories (100+ files) that allows users to focus the agent on specific high-priority modules.
  • Abstraction Engine: Automatically converts library-specific calls into general technical descriptions to preserve the broad scope of the inventive concept.
  • Patent Value Signals: Provides advisory indicators for market demand, competitive value, and novelty confidence.
  • Automatic Claim Framing: Generates three distinct technical angles (Method, System, Apparatus) for any pattern meeting the distinctiveness threshold.
  • Seamless Integration: Designed to work alongside other Openclaw Skills like code-patent-validator for building comprehensive IP search strategies.

SKILL.md


Loading

Related Openclaw Skills

Featured*