Claude Code god mode.
Overview · Usage · Usage Limits and Security · License and Related Files
ClawGod_Y is a runtime patch for the official Claude Code CLI that turns it into a tool dedicated to authorized penetration testing and security audits. It is not a third-party client: the installer extracts the official binary, applies AST-level patches, and runs the patched build with the Bun runtime.
The patch implementation draws on 0Chencc/clawgod. Thanks to the original project for its open-source work. This fork keeps upstream's cross-version patch architecture and installs the patched runtime separately:
clawgodstarts patched Claude Code, installing npm'sstableversion by default. The patched runtime lives entirely under~/.clawgod(%USERPROFILE%\.clawgodon Windows).- If Claude Code is already installed, its original
claudecommand stays unchanged. A separate official Claude Code installation is not required; an existing vanillaclaude updatekeeps working normally. - Designed for compatibility across versions. Patches use cross-version anchors and can be adapted to other Claude Code versions, but compatibility with every version is not guaranteed. You can select
latest,stable, or a specific version during installation. Unmatched non-required patches produce warnings and are skipped; required prompt injection or source-processing failures still abort installation. - Pentest-oriented patching: tool-permission prompts and safety classifiers are bypassed by default, prompts are rewritten for authorized testing contexts, and unused office/consumer features are pruned.
| Item | Requirement |
|---|---|
| Host | Windows, macOS, or Linux/WSL |
| Runtime | Bun 1.3.14 or later (installed automatically if missing) and ripgrep (rg) |
| Windows | PowerShell 5.1 or later |
| macOS / Linux / WSL | Bash and curl. Automatic Bun installation also requires unzip. |
macOS / Linux / WSL:
curl -fsSL https://github.com/7sen1ot/ClawGod_Y/releases/latest/download/install.sh|bashWindows PowerShell:
irm https://github.com/7sen1ot/ClawGod_Y/releases/latest/download/install.ps1|iexInstalls the Claude Code version tagged stable on npm by default. To choose another version, append latest, stable, or a specific version number to either command above.
After installation, open a new terminal and run clawgod to start patched Claude. If official Claude Code was already installed, claude still starts the original. The patched runtime is stored in ~/.clawgod, or %USERPROFILE%\.clawgod on Windows.
The first launch of clawgod creates ~/.clawgod/provider.json, or %USERPROFILE%\.clawgod\provider.json on Windows. This file is independent of Claude's own settings. To use an Anthropic-compatible API:
{
"protocol": "anthropic",
"apiKey": "REPLACE_WITH_YOUR_API_KEY",
"baseURL": "https://api.anthropic.com",
"model": "main-model-id",
"smallModel": "small-model-id",
"effort": "max",
"timeoutMs": 3000000
}For an OpenAI Chat Completions-compatible service, set protocol to openai-chat and enter the provider's baseURL, API key, and model name. If you use a Claude subscription login instead of API credentials, leave provider.json at its defaults — clawgod shares the existing login in ~/.claude.json. Save the file and restart clawgod.
clawgod --uninstallIf clawgod cannot start, on macOS / Linux / WSL run bash "$HOME/.clawgod/uninstall.sh"; in Windows PowerShell run powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.clawgod\uninstall.ps1".
Uninstallation removes the clawgod launcher, its runtime files, and ~/.clawgod/lean-settings.json. It keeps the cached uninstaller and existing user configuration in ~/.clawgod, including provider.json, features.json, patches.json, assembly.json, and flags.json. Official Claude settings in ~/.claude/settings.json are preserved.
Read the Disclaimer and Usage Compliance Notice before use.
- Legal authorization: Use only on your own systems, explicitly authorized targets, and CTFs or labs that permit testing. Stay within the authorized assets, time window, and operations. Unauthorized intrusion, data theft, and destruction are prohibited.
- Human review: Verify model judgments and tool findings against raw evidence, actual impact, and coverage. Patched sessions skip permission prompts, so every action executes without confirmation.
- Information protection: Before submitting source code, logs, credentials, or other materials, ensure compliance with confidentiality requirements and the model service's data processing terms.
- Resource control: Configure spending limits with your model service, and manually manage execution time, disk usage, and evidence retention.
Users must obtain testing authorization and are legally responsible for their actions and the resulting consequences. The project license does not grant permission to test third-party systems.
This repository is licensed under the GNU General Public License v3.0. Use, modification, distribution, and commercial use are permitted subject to the license's terms. Distribution requires compliance with applicable obligations concerning copyright notices, the license, and corresponding source code. See LICENSE for the full terms.
Third-party software, dependencies, and brand assets remain subject to their respective licenses and rights notices. This repository's license does not replace the terms of use for Claude Code, model services, or other third-party components.
| File | Contents |
|---|---|
| LICENSE | Full English text of the GNU GPL v3 |
| SECURITY.md | Disclaimer, usage compliance requirements, and deployment risks |