clawgod

作者 0Chencc已验证

ClawGod is a runtime patch applied to the official Claude Code. It continues to be supported with each version update.

1,920
Stars
318
Forks
HTML
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/0Chencc/clawgod

快速入门

使用 clawgod 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

ClawGod

English | 中文 | 日本語

Latest Released Downloads Compat Claude tested

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, ClawGod automatically re-extracts and re-patches against the new version on the next launch.

Prerequisites

Install these before running the ClawGod installer:

ToolWhyInstall
Claude Code (native binary)ClawGod patches the official Bun standalone binary you already haveclaude.ai/install.sh (macOS/Linux) or claude.ai/install.ps1 (Windows)
ripgrepRequired by Claude Code's Grep toolbrew install ripgrep / apt install ripgrep / winget install BurntSushi.ripgrep.MSVC
Node.js >= 18Used by the patchernodejs.org
BunRuntime for the patched cli.js; auto-installed if missingbun.sh, npm install -g bun, scoop install bun, or choco install bun

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

PatchWhat you get
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)
Auto-modeUnlocks auto-mode for third-party API users (no firstParty gate)
UltraplanMulti-agent planning via Claude Code Remote
UltrareviewAutomated bug hunting via Claude Code Remote

Restriction Removals

PatchWhat's removed
CYBER_RISK_INSTRUCTIONSecurity testing refusal (pentesting, C2, exploits)
URL Restriction"NEVER generate or guess URLs" instruction
Cautious ActionsForced confirmation before destructive operations
Login Notice"Not logged in" startup reminder

Geo-Steganography Neutralization

PatchWhat's neutralized
Date String (qla)System prompt encodes user location via Unicode apostrophe variants (U+0027 / U+2019 / U+02BC / U+02B9) and date separator (- vs / for CN timezone). Patched to always use ASCII ' and unmodified date format
Geo-Detection Probe (rdp)Client-side three-axis detection: timezone (Asia/Shanghai / Asia/Urumqi), proxy hostname against XOR-obfuscated 100+ domain blocklist, CN-LLM vendor keywords in base URL. Patched to always return null
Apostrophe Selector (odp)Selects one of four Unicode apostrophes based on detection results. Patched to always return ASCII ' (defense-in-depth)

Visual

PatchEffect
Green ThemeBrand color → green. Patched at a glance
Message FiltersShows content hidden from non-Anthropic users

Reliability

FeatureWhat it does
Glob/Grep RestoreBun compile inlines EMBEDDED_SEARCH_TOOLS=true, hiding built-in Glob/Grep tools. Patch un-inlines the env check and adds bfs/ugrep binary availability detection — tools are restored when running under Bun runtime
1h Prompt CacheForces 1h TTL allowlist on (was effectively 5m → much higher cache_creation token usage)
Third-Party Cache FixAuto-disables x-anthropic-billing-header when baseURL is non-Anthropic. The header's per-request cch field breaks prompt-cache hit rate on DeepSeek / OneAPI / Bedrock / vLLM and any other Anthropic-compatible proxy. You no longer need to set CLAUDE_CODE_ATTRIBUTION_HEADER=0 yourself.
Auto Re-patchDetects when the user's native Claude binary has been upgraded; transparently re-extracts and re-patches on next launch
Update NotificationChecks GitHub releases once per 24h (async, non-blocking). Shows a one-line notice if a newer ClawGod version is available
Lean SettingsThree-level token optimization for ~/.claude/settings.json. on (default): removes unused tool definitions + disables Workflows/RemoteControl/Artifact. max: additionally removes Plan mode, Agent Teams, bundled skills. off: all tools restored

Lean Settings are non-destructive and persist across updates. Toggle anytime: claude --lean-on (default) / claude --lean-max (aggressive) / claude --lean-off (restore all). To opt out of a single setting, set it yourself (e.g. "disableArtifact": false).

Commands

claude              # Patched Claude Code (replaces the official launcher)
clawgod             # Same as `claude`, explicit & guaranteed entry point
claude.orig         # Original unpatched version (auto-backed-up)

clawgod is unambiguous: on Windows where claude.exe may shadow claude.cmd, clawgod.cmd always works. Even after official self-update overwrites claude, clawgod keeps running the patched build.

Configuration

~/.clawgod/provider.json is auto-created on first run. Setting apiKey lets you skip OAuth entirely and point ClawGod at any Anthropic-compatible endpoint.

{
  "apiKey": "sk-ant-...",
  "baseURL": "https://api.anthropic.com",
  "model": "",
  "smallModel": "",
  "timeoutMs": 3000000
}
  • apiKey set → ClawGod injects it as ANTHROPIC_API_KEY and isolates from ~/.claude/settings.json. Works with Anthropic, DeepSeek, and OpenAI-compatible gateways. A non-Anthropic baseURL also populates ANTHROPIC_AUTH_TOKEN for gateway auth.
  • apiKey empty → OAuth path. Run claude auth login once; ~/.claude keeps hosting your subagents, skills, and MCP settings.

How it works

Since @anthropic-ai/claude-code v2.1.113, the npm package no longer ships cli.js — it's a thin loader that dispatches to platform-specific Bun standalone binaries. ClawGod adapts:

  1. Locates the user's installed native Bun binary in ~/.local/share/claude/versions/
  2. Extracts the embedded cli.js source from the __BUN segment (Mach-O / ELF / PE)
  3. Extracts the embedded .node native modules (audio-capture, image-processor, computer-use-*, url-handler) into ~/.clawgod/vendor/
  4. Rewrites /$bunfs/... virtual paths to point at the extracted modules
  5. Applies 29 regex-based patches (version-agnostic — same patches work across many releases)
  6. The claude / clawgod launchers run the patched cli.js under the Bun runtime

A .source-version stamp in ~/.clawgod/ records which native version was patched. On every launch the wrapper compares it against the latest binary in versions/; if the user upgraded Claude Code via the official installer, ClawGod auto-re-patches on the next run.

Update

Just run claude update as usual. ClawGod patches the command to route through its own installer, which pulls the current Anthropic release from npm (@anthropic-ai/claude-code-<plat>@latest), re-extracts cli.js, re-applies patches, and rewrites the launcher. So the upstream update command keeps working the way you expect — you get the latest Claude, with patches still applied, in one step.

Extra options:

claude update --version 2.1.180   # Pin to a specific Claude Code version
claude update --no-upgrade        # Re-patch without downloading (use existing cli.js)

--version is useful when a new release has issues and you want to stay on a known-good version. --no-upgrade re-applies the latest patches from the installer to the existing cli.js — handy when only the patcher has been updated.

If you'd rather invoke the installer directly (same effect, both paths fetch the same upstream release and re-patch):

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

If you'd rather drop ClawGod and use Anthropic's original claude update (which manages its own paths and would overwrite our launcher), uninstall first:

bash ~/.clawgod/install.sh --uninstall

Uninstall

macOS / Linux:

curl -fsSL https://github.com/0Chencc/clawgod/releases/latest/download/install.sh | bash -s -- --uninstall
hash -r  # refresh shell cache

Windows:

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

Uninstall restores claude.orig → claude and removes the clawgod alias.

After install or uninstall, restart your terminal or run hash -r if the command doesn't take effect immediately.

License

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

Star History

Star History Chart

常见问题

What is clawgod?

clawgod is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 0Chencc. ClawGod is a runtime patch applied to the official Claude Code. It continues to be supported with each version update. It has 1,920 GitHub stars.

Is clawgod safe to use?

Yes. clawgod passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install clawgod?

Clone the repository with "git clone https://github.com/0Chencc/clawgod" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is clawgod written in?

clawgod is primarily written in HTML. It is open-source under 0Chencc on GitHub, so you can review or fork the full source.

Are there alternatives to clawgod?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh clawgod against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情