Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

The agent proxy's gh stand-in can be set up without its environment variable

A new mode arms the agent proxy's built-in gh stand-in without CLAUDE_CODE_AGENT_PROXY_GH_SHIM and leaves an existing gh alone

Under the hood No documentation found Internal Changes
JSON All of v2.1.326
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Agent ProxyArea: what it touches
Internal ChangesKind: in v2.1.326,
Internal ChangesSection of the release

Unclear Whether --use-anthropic-gh is what switches on the new gh-only mode is not stated.

What

In sessions whose traffic goes through the agent proxy (a relay that carries a session's network requests), Claude Code can provide a built-in stand-in for gh, the GitHub command-line tool. Before, that stand-in was written only when CLAUDE_CODE_AGENT_PROXY_GH_SHIM was set. The setup step now also takes a switch for a mode that handles only gh. When that mode is on:

  • The gh stand-in is set up even if CLAUDE_CODE_AGENT_PROXY_GH_SHIM is not set.
  • The usual addition to git's configuration is skipped.
  • A gh that is already on your PATH (the list of folders your shell searches for commands) is left alone.
  • A notice offering the built-in gh is printed to the error output.

The agent proxy can also start in this gh-only mode when CCR_AGENT_PROXY_ENABLED is not set. The runner now accepts --use-anthropic-gh, with an optional on or off value, and its help text lists --agent-proxy-url <url>, which sends sessions and repository clones through an agent proxy over https only. Self-hosted git clones can be routed through the agent proxy too.

Why

This affects cloud and agent-proxy sessions that use gh.

Read from
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether `--use-anthropic-gh` is what switches on the new gh-only mode is not stated.
Anthropic's release notes agreeSelf-hosted runner: Changed Linux and macOS sessions with no gh to get a built-in gh api by default, via Anthropic, which adds their GitHub…

See this entry in the whole of v2.1.326 →

Feedback