🦞

Fix your OpenClaw
in one command

AI-powered diagnostic and repair. No SSH access needed. Runs locally, sends redacted logs, gets a fix script back.

v0.9.1 live Modernized diagnostics. Stricter repair safety. β†’
$ npx clawfix@0.9.1

Recommended β€” auditable source on npm and GitHub

Want to inspect before running? npx clawfix@0.9.1 --dry-run

Works on macOS, Linux, and WSL. Requires Node.js 18+.

βœ“ GitHub OIDC publish βœ“ npm attestation verified βœ“ 7-file allowlisted package
Release 0.9.1

Evidence before repair.

ClawFix now rejects incomplete diagnostics instead of turning uncertainty into repair advice. The release itself is signed, attested, and reproducible from public source.

Release notes β†’

Native contracts

Structured OpenClaw output is validated before issues are classified.

Ownership evidence

Port conflicts require proof of a competing listenerβ€”not merely an occupied port.

Fail-closed repairs

Repair validators reject partial output, timeout ambiguity, and unsafe catalog entries.

How It Works

1

Run One Command

The diagnostic script scans your OpenClaw installation. Config, logs, plugins, ports β€” everything checked in seconds.

2

AI Analyzes

Pattern matching catches known issues instantly. AI handles novel problems with deep analysis of your specific setup.

3

Review & Apply

You get a commented fix script. Read it, understand it, then run it. Nothing happens without your approval.

What It Detects

πŸ’€

Gateway Crashes

Port conflicts, process hangs, restart loops

🧠

Memory Issues

Mem0 silent failures, missing flush, broken search

🌐

Browser Automation

CDP port failures, extension loading, headless issues

πŸ”Œ

Plugin Configs

Broken plugins, missing dependencies, wrong settings

⚑

Native Codex Harness

PI route drift, Codex home mismatches, fast tier gaps, timeout boundaries

πŸ’Έ

Token Waste

Excessive heartbeats, no pruning, bloated context

🍎

macOS Quirks

Metal GPU crashes, Apple Silicon issues, Peekaboo

πŸ”§

Service Manager Crashes

launchd/systemd SIGTERM recovery, crash loops, backoff detection

πŸ‘»

Zombie Processes

PID exists but port not listening β€” stale gateway detection

πŸ“œ

Error Log Bloat

Chrome extension spam, handshake storms, 200MB+ log files

πŸ•

Gateway Watchdog

Recommends independent health checks to avoid launchd backoff gaps

🧡

Provider Prefix Typos

codex/gpt-5.4 vs openai-codex/gpt-5.4 β€” silent 403 + fallback loop on every cron

🎣

Discord Silent Drops

groupPolicy: allowlist with empty allowFrom β€” group messages disappear without logs

πŸ”’

Plaintext Secrets in Config

Flags fields still inline that should be SecretRefs pointing at ~/.openclaw/.env

πŸͺͺ

Invalid GH Token Override

Invalid GH_TOKEN env shadows a working gh login and breaks every GitHub-using cron

πŸ“‘

Stale Paired Nodes

Endless skills-remote probe timeouts from a paired node with no host daemon behind it

🌊

Context Overflow

Session stuck >100 % of ctx window, auto-compaction failing β€” manifests as slow replies

πŸ”

FileVault Blocks Reboots

macOS β€” pre-boot prompt gates all services; any unattended reboot leaves the mac off-network

πŸ“¦

Plist Stale Secrets

macOS β€” LaunchAgent EnvironmentVariables carries old secrets after a .env migration

Pricing

Security & Transparency

You're right to be skeptical of tools from the internet. Here's exactly what ClawFix does and doesn't do β€” verify it yourself.

πŸ”

Inspect Before Running

npx clawfix --dry-run shows exactly what data would be collected β€” sends nothing. Read the output. Decide for yourself.

πŸ”“

100% Open Source

Every line on GitHub. CLI source, server code, diagnostic script β€” all public. Audit it.

πŸ”’

Secrets Auto-Redacted

API keys, tokens, passwords β€” all replaced with ***REDACTED*** before anything leaves your machine. The env block is skipped entirely.

🚫

No File Contents Read

ClawFix checks if SOUL.md exists β€” it never reads what's inside. No chat history, no memory files, no personal data.

πŸ‘€

Consent Required

The diagnostic asks [y/N] before sending anything. No data leaves your machine without you typing "y".

πŸ’Ύ

Fix Scripts = Your Review

Fix scripts are saved to /tmp for you to read first. Every fix backs up your config. Nothing auto-executes.

πŸ“¦ What Exactly Is Sent

βœ… SENT (redacted)

  • β€’ OS type, version, architecture
  • β€’ Node.js and npm versions
  • β€’ OpenClaw version
  • β€’ Config structure (all secrets redacted)
  • β€’ Recent error log lines
  • β€’ Plugin names + enabled status
  • β€’ Gateway status
  • β€’ Hostname hash (8 chars of SHA-256)

❌ NEVER SENT

  • β€’ API keys, tokens, passwords
  • β€’ File contents (SOUL.md, memory, etc.)
  • β€’ Chat history or messages
  • β€’ IP address or real hostname
  • β€’ Environment variables
  • β€’ Personal data of any kind