whatisgithub

What is clawpatch?

openclaw/clawpatch — explained in plain English

Analysis updated 2026-05-18

412TypeScriptAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A command-line tool that uses AI to review code, find bugs, and suggest fixes, but never auto-commits changes.

Mindmap

mindmap
  root((clawpatch))
    What it does
      Code review
      Bug finding
      Fix suggestions
    Tech stack
      TypeScript
      Node.js
    Use cases
      Automated review
      Isolated fixes
      Multi-language support
    Audience
      Developers
      Dev teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically review a codebase and get a categorized list of potential bugs.

USE CASE 2

Have an AI agent attempt a fix for a specific finding in an isolated workspace.

USE CASE 3

Run automated code review across multiple languages before opening a pull request.

What is it built with?

TypeScriptNode.js

How does it compare?

openclaw/clawpatchdanilaa1/slot-textzigabratun/umbrella-hwid-tool
Stars412421426
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderateeasymoderate
Complexity3/51/53/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an AI provider CLI (Codex, Claude, Gemini, etc.) already configured.

So what is it?

Clawpatch is a TypeScript command-line tool that automates code review and bug fixing. Instead of reviewing an entire codebase at once, it first builds a map of the project by breaking it into logical sections called feature slices, groupings of related code such as authentication, storage, API routes, or test suites. It then sends each slice to an AI provider for review, collects the findings, and stores them locally. Once findings are recorded, the workflow becomes interactive. You can browse the list, mark items as false positives, and pick individual findings to attempt a fix. The fix step runs the AI provider in a mode where it can edit files in a separate working directory, applies suggested changes, then runs the project's own test and lint commands to validate the result. Crucially, clawpatch never commits, pushes, or opens a pull request automatically, a developer always reviews the changes manually before merging. It supports a wide range of project types including TypeScript, Python, Go, Java, Kotlin, Ruby, Rust, Swift, C and C++, and PHP. The default AI provider is the local Codex CLI, but it also supports Claude, Gemini, and other ACP-compatible coding agents through a pluggable provider interface.

Copy-paste prompts

Prompt 1
Run clawpatch on my TypeScript project and list any authentication bugs it finds.
Prompt 2
Use clawpatch to review my Go API routes for security issues.
Prompt 3
Have clawpatch attempt a fix for finding #3 and show me the diff before I merge it.
Prompt 4
Set up clawpatch with Claude as the provider instead of the default Codex CLI.

Frequently asked questions

What is clawpatch?

A command-line tool that uses AI to review code, find bugs, and suggest fixes, but never auto-commits changes.

What language is clawpatch written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js.

How hard is clawpatch to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is clawpatch for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.