0chencc 8a27466fa0 fix: detect claude path via which, fix set -e exit on grep failure
- Use `which claude` to detect actual binary location instead of
  hardcoding ~/.local/bin/ — supports pnpm, npm, yarn global installs
- Add `|| true` to prevent set -e from killing script when
  grep fails to match Mach-O/ELF in versions directory
- Backup and restore now handle both detected path and default path
- Uninstall checks both locations for claude.orig

Fixes #7
2026-04-03 13:46:20 +09:00
2026-04-01 19:09:07 +08:00

ClawGod

English | 中文 | 日本語

God mode for Claude Code.

This is NOT a third-party Claude Code client. ClawGod is a runtime patch applied on top of the official Claude Code. It works with any version — as Claude Code updates, the patch continues to take effect.

Install

macOS / Linux:

curl -fsSL https://github.com/0Chencc/clawgod/releases/latest/download/install.sh | bash

Windows (PowerShell):

irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iex

Green logo = patched. Orange logo = original.

ClawGod Patched

What it does

Feature Unlocks

Patch What you get
Internal User Mode 24+ hidden commands (/share, /teleport, /issue, /bughunter...), debug logging, API request dumps
GrowthBook Overrides Override any feature flag via config file
Agent Teams Multi-agent swarm collaboration, no flags needed
Computer Use Screen control without Max/Pro subscription (macOS)
Ultraplan Multi-agent planning via Claude Code Remote
Ultrareview Automated bug hunting via Claude Code Remote

Restriction Removals

Patch What's removed
CYBER_RISK_INSTRUCTION Security testing refusal (pentesting, C2, exploits)
URL Restriction "NEVER generate or guess URLs" instruction
Cautious Actions Forced confirmation before destructive operations
Login Notice "Not logged in" startup reminder

Visual

Patch Effect
Green Theme Brand color → green. Patched at a glance
Message Filters Shows content hidden from non-Anthropic users

Commands

claude              # Patched Claude Code
claude.orig         # Original unpatched version

Update

Re-run the installer to get the latest version with patches re-applied:

macOS / Linux:

curl -fsSL https://github.com/0Chencc/clawgod/releases/latest/download/install.sh | bash

Windows:

irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iex

Uninstall

macOS / Linux:

curl -fsSL https://github.com/0Chencc/clawgod/releases/latest/download/install.sh | bash -s -- --uninstall

Windows:

irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 -OutFile install.ps1; .\install.ps1 -Uninstall

Requirements

  • Node.js >= 18 + npm
  • Claude Code account (claude auth login)

License

GPL-3.0 — Not affiliated with Anthropic. Use at your own risk.

S
Description
No description provided
Readme GPL-3.0
1.3 MiB
Languages
HTML 53.7%
PowerShell 19.1%
Shell 18.2%
CSS 6.5%
TypeScript 2.5%