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 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.
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…