{"name":"CLAUDE_CODE_AGENT_PROXY_GH_SHIM","slug":"claude-code-agent-proxy-gh-shim","family":"env","title":"Environment variables","noun":"environment variable","description":"The agent\/tool proxy can now add extra git config includes and prepend a directory to PATH","description_source":"entry","described_by":{"version":"2.1.269","anchor":"agent-proxy-can-now-inject-extra-git-includepath-and-prepen"},"presence":{"first_seen":"2.1.202","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":95,"mined_builds":149,"first_cited":{"version":"2.1.269","released_at":"2026-09-11 18:12:49","spans":1}},"aliases":[],"entries":[{"version":"2.1.288","anchor":"built-in-gh-agent-proxy-now-supports-any-github-enterprise","heading":"Built-in gh in proxied sessions works with GitHub Enterprise and explains its errors","line":"The built-in `gh` now accepts any GitHub Enterprise host and suggests a `gh api` command when a subcommand is unsupported","released_at":"2026-10-02 18:30:40","reason":"found in this entry's text, named in this entry"},{"version":"2.1.269","anchor":"agent-proxy-can-now-inject-extra-git-includepath-and-prepen","heading":"Agent proxy can now inject extra git include.path and prepend to PATH","line":"The agent\/tool proxy can now add extra git config includes and prepend a directory to PATH","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text, named in this entry"},{"version":"2.1.216","anchor":"ccr-agent-proxy-selective-relay-mode","heading":"CCR Agent Proxy: Selective Relay Mode","line":null,"released_at":"2026-07-20 20:19:37","reason":"found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_AGENT_PROXY_GIT_CONFIG","slug":"claude-code-agent-proxy-git-config","description":"Turns on governed git routing in Claude Code's agent proxy; Claude Code sets it to `1` in a remote session's environment when that session's tool config enables `gitConfig`. When truthy and the agent proxy starts (a remote session with `CCR_AGENT_PROXY_ENABLED`), it appends a marked `governed-git` block to the git config file named by `GIT_CONFIG_GLOBAL` (skipped with a warning if that is unset), routing HTTPS git traffic for the governed hosts (`CLAUDE_CODE_AGENT_PROXY_GIT_HOSTS`, default `github.com`) through the local proxy with its CA bundle and git credential prompts disabled. Like `CLAUDE_CODE_AGENT_PROXY_GH_SHIM`, it also puts the proxy in its tool-scoped mode, and a settings file's `env` block cannot set it."},{"name":"CLAUDE_CODE_AGENT_PROXY_GIT_HOSTS","slug":"claude-code-agent-proxy-git-hosts","description":"A new `CLAUDE_CODE_AGENT_PROXY_GIT_HOSTS` variable lists the git hosts a session sends through the agent proxy, instead of just one"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-agent-proxy-gh-shim","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}