Lee Brown

Code Patent Validator

開發程式設計v1.4.0
作者:Lee Brown更新於 2026-05-11共 7 個版本 · 最新版本釋出於 2026-02-23code-patent-validator@clawhub_leegitw/code-patent-validator
程式碼審查指令碼工具#Competitor Analysis#Due Diligence#Intellectual Property#Patent Search#Patents

據 AlphaMoat 統計,截至 2026-09,Code Patent Validator 累計下載 3,363 次、獲 14 個星標,在全部 5,078 個 AI 技能中排名第 3,348 位,在「開發程式設計」分類(577 個)中排名第 423 位。

累計安裝
220
累計下載
3363
星標
14
全站排名
#3,348
全站前 66% · 「開發程式設計」前 74%
平台累計安裝累計下載星標評論
ClawHub ↗1043233141
SkillHub ↗220336314—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

作為 code-patent-scanner 的下游校驗器,它不重新打分而是信任掃描器評分,把發現的模式轉化為證據圖、檢索策略與差異化問題。為每個模式生成多源查詢(Google Patents 布林組合、USPTO 的 CPC 程式碼加關鍵詞、GitHub 實現檢索、Stack Overflow 問題-方案檢索),並提供按模式型別的檢索優先順序(如演算法類 GitHub→Patents→Publications)與多種查詢變體(精確組合/功能式/同義詞/更寬類目/更窄細節)。證據對映要求為每個主張角度建立來原始碼行、提交歷史、設計文件與基準資料的溯源鏈。術語規則強制:不使用 patentable、novel、non-obvious、prior art、claims、already patented 等法律措辭,改用 distinctive、unique、sophisticated、existing implementations、already implemented。任何輸出末尾必須附宣告:本工具只生成檢索策略,不執行檢索、不訪問資料庫、不評估可專利性、不提供法律結論。侷限包括不能評估獨特性或可專利性、不能替代專業專利檢索。推薦工作流為先用 code-patent-scanner 分析原始碼,再由本技能生成檢索策略,使用者自行檢索並記錄發現,最後攜帶文件諮詢註冊專利律師。

資料釋出於 2026-10-27

可以用來做什麼

  • 把 code-patent-scanner 的 patterns.json 轉成結構化檢索策略
  • 為每個模式生成多源檢索查詢與差異化問題
  • 建立從主張角度到原始碼行/提交/設計文件/基準的證據鏈

什麼時候用

  • 使用者要求生成檢索查詢、驗證掃描結果或制定研究策略時
  • 諮詢專利律師前需要系統整理已有實現調研時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

幫我為這些掃描結果生成檢索查詢
驗證我的 code-patent-scanner 結果
為這些模式制定一個研究策略

月度資料趨勢

累計下載3363
2361289934372026-03 · 累計下載 24352026-05 · 累計下載 28142026-06 · 累計下載 27472026-07 · 累計下載 30462026-08 · 累計下載 31412026-09 · 累計下載 336326-0326-09
星標14
1314152026-03 · 星標 142026-05 · 星標 142026-06 · 星標 142026-07 · 星標 142026-08 · 星標 142026-09 · 星標 1426-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093363—14
2026-083141+3.1%14
2026-073046+10.9%14
2026-062747-2.4%14
2026-052814—14
2026-032435—14

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

9.0 KB · ClawHub v1.4.0
---
name: Code Patent Validator
description: Turn your code scan findings into search queries — research existing implementations before consulting an attorney. NOT legal advice.
homepage: https://github.com/Obviously-Not/patent-skills/tree/main/code-patent-validator
user-invocable: true
emoji: ✅
tags:
  - patent
  - patents
  - prior-art
展開全部(共 299 行)
  - patent-search
  - research
  - intellectual-property
  - competitor-analysis
  - due-diligence
  - validation
  - openclaw
---

# 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

## Validator Role

This skill validates scanner findings — it does NOT re-score patterns.

**Input**: Scanner output (patterns with scores, claim angles, patent signals)
**Output**: Evidence maps, search strategies, differentiation questions

**Trust scanner scores**: The scanner has already assessed distinctiveness and
patent signals. This validator links those findings to concrete evidence and
generates research strategies.

**What this means for users**: Validators are simpler and faster. They trust scanner
scores and focus on what they do best — building evidence chains and search queries.

## 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. Evidence Mapping (JB-4)

For each scanner pattern, build a provenance chain linking claim angles to evidence:

| Evidence Type | What to Document | Why It Matters |
|---------------|------------------|----------------|
| **Source lines** | file.go:45-120 | Proves implementation exists |
| **Commit history** | abc123 (2026-01-15) | Establishes timeline |
| **Design docs** | RFC-042 | Shows intentional innovation |
| **Benchmarks** | 40% faster | Quantifies benefit |

**Provenance chain**: Each claim angle (from scanner) traces to specific evidence.
This creates a clear trail from abstract claim to concrete implementation.

### 4. 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

```json
{
  "validation_metadata": {
    "scanner_output": "patterns.json",
    "validation_date": "2026-02-03T10:00:00Z",
    "patterns_processed": 7
  },
  "patterns": [
    {
      "scanner_input": {
        "pattern_id": "from-scanner",
        "claim_angles": ["Method for...", "System comprising..."],
        "patent_signals": {"market_demand": "high", "competitive_value": "medium", "novelty_confidence": "high"}
      },
      "title": "Pattern Title",
      "search_queries": {
        "problem_focused": ["[problem] solution approach"],
        "benefit_focused": ["[benefit] implementation method"],
        "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_map": {
        "claim_angle_1": {
          "source_files": ["path/to/file.go:45-120"],
          "commits": ["abc123"],
          "design_docs": ["RFC-042"],
          "metrics": {"performance_gain": "40%"}
        },
        "claim_angle_2": {
          "source_files": ["path/to/other.go:10-50"],
          "commits": ["def456"],
          "design_docs": [],
          "metrics": {}
        }
      }
    }
  ],
  "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):

```markdown
## [Repository Name] - Validation Strategy

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

| Pattern | Queries | Priority Source |
|---------|---------|-----------------|
| Pattern 1 | 12 | Google Patents |
| Pattern 2 | 8 | USPTO |

*Research strategy by [code-patent-validator](https://obviouslynot.ai) from obviouslynot.ai*
```

---

## Next Steps (Required in All Outputs)

```markdown
## Next Steps

1. **Search** - Run queries starting with priority sources
2. **Document** - Track findings systematically
3. **Differentiate** - Note differences from existing implementations
4. **Consult** - For high-value patterns, consult patent attorney

**Evidence checklist**: specs, git commits, benchmarks, timeline, design decisions
```

---

## Terminology Rules (MANDATORY)

### Never Use
- "patentable"
- "novel" (legal sense)
- "non-obvious"
- "prior art"
- "claims"
- "already patented"

### Always Use Instead
- "distinctive"
- "unique"
- "sophisticated"
- "existing implementations"
- "already implemented"

---

## Required Disclaimer

ALWAYS include at the end of ANY output:

> **Disclaimer**: This tool generates search strategies only. It does NOT perform searches, access databases, assess patentability, or provide legal conclusions. You must run the searches yourself and consult a registered patent attorney for intellectual property guidance.

---

## Workflow Integration

```
code-patent-scanner -> patterns.json -> code-patent-validator -> search_strategies.json
                                                              -> technical_disclosure.md
```

**Recommended Workflow**:
1. **Start**: `code-patent-scanner` - Analyze source code
2. **Then**: `code-patent-validator` - Generate search strategies
3. **User**: Run searches, document findings
4. **Final**: Consult patent attorney with documented findings

---

## Related Skills

- **code-patent-scanner**: Analyze source code (run this first)
- **patent-scanner**: Analyze concept descriptions (no code)
- **patent-validator**: Validate concept distinctiveness

---

*Built by Obviously Not - Tools for thought, not conclusions.*

「開發程式設計」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。