clawgod-claude-code-patch

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ClawGod — Claude Code Runtime Patcher

ClawGod — Claude Code 运行时补丁

Skill by ara.so — Daily 2026 Skills collection.
ClawGod is a runtime patch applied on top of the official Claude Code CLI. It unlocks hidden internal features, removes safety restrictions for power users, enables multi-agent collaboration, and applies visual indicators — all without replacing the official binary.
技能由 ara.so 开发 — 2026年度技能合集。
ClawGod是一款应用在官方Claude Code CLI之上的运行时补丁。它可以解锁隐藏的内部功能、为高级用户移除安全限制、支持多Agent协作,还添加了视觉标识——全程无需替换官方二进制文件。

Installation

安装

macOS / Linux

macOS / Linux

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

Windows (PowerShell)

Windows (PowerShell)

powershell
irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iex
After install, refresh your shell:
bash
hash -r   # bash/zsh
powershell
irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iex
安装完成后,刷新你的shell:
bash
hash -r   # bash/zsh

Verify Install

验证安装

A green logo in Claude Code means the patch is active. Orange = unpatched original.
bash
claude --version   # patched build
claude.orig        # original unpatched binary (preserved)
Claude Code界面出现绿色logo即代表补丁已生效。橙色为未打补丁的原始版本。
bash
claude --version   # 打补丁后的版本
claude.orig        # 保留的原始未打补丁二进制文件

Requirements

依赖要求

  • Node.js >= 18 + npm
  • Claude Code installed and authenticated
  • Active Claude Code account
bash
undefined
  • Node.js >= 18 + npm
  • 已安装并完成认证的Claude Code
  • 有效的Claude Code账号
bash
undefined

Authenticate before using

使用前先完成认证

claude auth login
undefined
claude auth login
undefined

What ClawGod Patches

ClawGod的补丁内容

Feature Unlocks

功能解锁

PatchEffect
Internal User Mode24+ hidden commands:
/share
,
/teleport
,
/issue
,
/bughunter
, debug logging, API request dumps
GrowthBook OverridesOverride any feature flag via config file
Agent TeamsMulti-agent swarm collaboration, no flags needed
Computer UseScreen control without Max/Pro subscription (macOS)
UltraplanMulti-agent planning via Claude Code Remote
UltrareviewAutomated bug hunting via Claude Code Remote
补丁效果
内部用户模式24+隐藏命令:
/share
/teleport
/issue
/bughunter
、调试日志、API请求导出
GrowthBook 覆盖可通过配置文件覆盖任意功能开关
Agent Teams无需开关即可使用多Agent集群协作
Computer Use无需Max/Pro订阅即可使用屏幕控制功能(macOS)
Ultraplan通过Claude Code Remote实现多Agent规划
Ultrareview通过Claude Code Remote实现自动化漏洞挖掘

Restriction Removals

限制移除

PatchWhat's removed
CYBER_RISK_INSTRUCTIONSecurity testing refusal (pentesting, C2, exploits)
URL Restriction"NEVER generate or guess URLs" system instruction
Cautious ActionsForced confirmation before destructive operations
Login Notice"Not logged in" startup reminder
补丁移除内容
CYBER_RISK_INSTRUCTION安全测试拒绝限制(渗透测试、C2、漏洞利用)
URL限制"禁止生成或猜测URL"的系统指令
谨慎操作限制破坏性操作前的强制确认
登录提示启动时的"未登录"提醒

Visual Changes

视觉改动

  • Brand color changed to green when patched (visual confirmation at a glance)
  • Message filters show content hidden from non-Anthropic users
  • 补丁生效后品牌色改为绿色(一眼就能确认补丁状态)
  • 消息过滤器会展示对非Anthropic用户隐藏的内容

Key Commands

核心命令

bash
undefined
bash
undefined

Launch patched Claude Code (interactive)

启动打了补丁的Claude Code(交互模式)

claude
claude

Launch original unpatched version

启动原始未打补丁的版本

claude.orig
claude.orig

Use a hidden internal command (after patch enables Internal User Mode)

使用隐藏内部命令(补丁启用内部用户模式后可用)

claude
/share /teleport /issue /bughunter
undefined
claude
/share /teleport /issue /bughunter
undefined

GrowthBook Feature Flag Overrides

GrowthBook 功能开关覆盖

ClawGod exposes a config file to override any GrowthBook feature flag:
json
// ~/.claude/growthbook-overrides.json (example location — check docs for exact path)
{
  "agentTeams": true,
  "ultraplan": true,
  "ultrareview": true,
  "computerUse": true
}
Set any flag to
true
to force-enable it regardless of subscription tier.
ClawGod提供配置文件,可覆盖任意GrowthBook功能开关:
json
// ~/.claude/growthbook-overrides.json(示例路径,准确路径请参考文档)
{
  "agentTeams": true,
  "ultraplan": true,
  "ultrareview": true,
  "computerUse": true
}
将任意开关设为
true
即可强制启用,不受订阅等级限制。

Multi-Agent Swarm (Agent Teams)

多Agent集群(Agent Teams)

Once the Agent Teams patch is active, you can coordinate multiple Claude Code agents:
bash
undefined
Agent Teams补丁生效后,你可以协调多个Claude Code Agent:
bash
undefined

Start a swarm session — no feature flags required after patch

启动集群会话 —— 补丁生效后无需额外功能开关

claude
/agents start --swarm
claude
/agents start --swarm

Assign tasks across agents

给不同Agent分配任务

/agents assign "write tests" agent-2 /agents assign "review PR" agent-3
undefined
/agents assign "编写测试用例" agent-2 /agents assign "评审PR" agent-3
undefined

Computer Use (macOS)

计算机控制(macOS)

After patching, Computer Use is available without a Max/Pro subscription on macOS:
bash
claude
> /computer-use enable
打补丁后,macOS用户无需Max/Pro订阅即可使用计算机控制功能:
bash
claude
> /computer-use enable

Claude can now control screen, mouse, keyboard

Claude现在可以控制屏幕、鼠标、键盘

undefined
undefined

Ultraplan & Ultrareview

Ultraplan 与 Ultrareview

bash
undefined
bash
undefined

Ultraplan: multi-agent planning via Claude Code Remote

Ultraplan:通过Claude Code Remote实现多Agent规划

claude
/ultraplan "refactor authentication module"
claude
/ultraplan "重构认证模块"

Ultrareview: automated bug hunting

Ultrareview:自动化漏洞挖掘

/ultrareview --target ./src
undefined
/ultrareview --target ./src
undefined

Update

更新

Re-run the installer — patches are re-applied automatically on top of the latest Claude Code:
bash
undefined
重新运行安装程序即可 —— 补丁会自动应用到最新版本的Claude Code上:
bash
undefined

macOS/Linux

macOS/Linux

Windows

Windows


No manual version pinning needed — the patch works with any Claude Code version.

无需手动绑定版本 —— 补丁兼容所有版本的Claude Code。

Uninstall

卸载

bash
undefined
bash
undefined

macOS/Linux

macOS/Linux

Windows

Windows

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

After uninstall, `claude` returns to the original binary. `claude.orig` is also cleaned up.
irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 -OutFile install.ps1 .\install.ps1 -Uninstall

卸载后,`claude`命令会恢复为原始二进制文件,`claude.orig`也会被清理。

Troubleshooting

问题排查

claude
still runs unpatched after install

安装后
claude
仍然运行未打补丁的版本

bash
hash -r          # clear shell command cache
exec $SHELL      # or restart terminal
which claude     # verify PATH points to patched binary
bash
hash -r          # 清除shell命令缓存
exec $SHELL      # 或者重启终端
which claude     # 验证PATH指向的是打补丁后的二进制文件

Patch not persisting after Claude Code auto-update

Claude Code自动更新后补丁失效

bash
undefined
bash
undefined

Re-run installer — it re-patches the new version

重新运行安装程序 —— 会给新版本重新打补丁

Windows execution policy error

Windows执行策略报错

powershell
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iex
powershell
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
irm https://github.com/0Chencc/clawgod/releases/latest/download/install.ps1 | iex

Hidden commands not appearing

隐藏命令不显示

Confirm Internal User Mode patch is active by checking for the green brand color in the Claude Code UI. If orange, the patch did not apply — re-run the installer.
确认内部用户模式补丁已生效,可检查Claude Code UI的品牌色是否为绿色。如果是橙色,说明补丁未应用,请重新运行安装程序。

Node.js version error

Node.js版本报错

bash
node --version   # must be >= 18
nvm install 18   # if using nvm
nvm use 18
bash
node --version   # 必须 >= 18
nvm install 18   # 如果使用nvm
nvm use 18

Important Notes

重要说明

  • ClawGod is not affiliated with Anthropic
  • Licensed under GPL-3.0
  • Removing restrictions (CYBER_RISK_INSTRUCTION, cautious actions) is intended for security professionals and power users — use responsibly
  • The
    claude.orig
    binary is always preserved so you can revert instantly
  • The patch survives Claude Code updates by design — re-run installer after major Claude Code releases to ensure compatibility
  • ClawGod与Anthropic无任何关联
  • 采用GPL-3.0开源协议
  • 移除限制(CYBER_RISK_INSTRUCTION、谨慎操作限制)仅面向安全专业人员和高级用户,请合理使用
  • claude.orig
    二进制文件会始终保留,你可以随时回退到原始版本
  • 补丁默认支持Claude Code更新,大版本更新后请重新运行安装程序确保兼容性