Claude Auto Proxy — Development skill for Claude Code
Switch Claude Code on macOS to a claude-proxy-router, or through an HTTP/SOCKS5 proxy, with one command — and switch it back.
How to install Claude Auto Proxy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open choiyounggi/claude-auto-proxy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Auto Proxy does
Switch Claude Code on macOS to a claude-proxy-router, or through an HTTP/SOCKS5 proxy, with one command — and switch it back.
Alternatives in Development
- Auto — Smart router - Single entry point with natural language intent detection 2.8k ★
- Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★
- Claude Code Kimi Groq — A basic proxy to use Kimi K2 on Claude Code through Groq 382 ★
README
claude-auto-proxy
macOS에서 Claude Code가 어디로 연결할지를 명령 하나로 바꾸고 되돌리는 도구입니다. 두 가지 모드가 있습니다.
| 모드 | 언제 쓰나 | 켜기 / 끄기 | sudo |
|---|---|---|---|
| 라우터 모드 | 다른 Mac의 claude-proxy-router가 가진 여러 계정으로 요청을 보낼 때 | router on / router off |
필요 없음 |
| 프록시 모드 | 사내망 등에서 반드시 HTTP·SOCKS5 프록시를 거쳐야 할 때 | on / off |
필요 (비밀번호를 물음) |
라우터 모드: Claude Code ──(API 주소 = 라우터)──▶ claude-proxy-router ──(여유 있는 계정)──▶ api.anthropic.com
프록시 모드: Claude Code ──▶ /etc/hosts → 로컬 릴레이 ──(TLS 그대로)──▶ HTTP/SOCKS5 프록시 ──▶ api.anthropic.com
주요 기능
- 라우터 모드: Claude Code 설정 파일(
~/.claude, Orca 프로필마다,$CLAUDE_CONFIG_DIR)의 API 주소와 키를 한 번에 라우터로 바꾸고,router off로 켜기 전 값으로 정확히 되돌립니다. - 라우터 계정별 사용량:
router status가 라우터의 계정마다 5시간·주간·Fable 사용률과 "지금 이 계정으로 보낼지"를 보여 줍니다. 라우터 모드의 Claude Code/status·/usage에는 계정 정보가 나오지 않기 때문입니다. - 남은 로그인 경고: 라우터 모드인데 이 Mac에 claude.ai 로그인이 남아 있으면, 일부 계정 요청이 라우터를 거치지 않는다고 알려 줍니다.
- 프록시 모드: HTTP CONNECT와 SOCKS5를 지원하고, TLS를 풀지 않으며, 이미 실행 중인 세션도 다시 시작하지 않고 프록시를 타게 합니다.
- 연결 확인 후에만 적용: 라우터는 핑으로, 프록시는 TCP → 터널 → TLS 3단계로 실제로 닿는지 확인한 뒤에만 등록하고 켭니다.
설치
macOS 전용이고 Node.js 20 이상이 필요합니다.
npm install -g claude-auto-proxy
또는 Homebrew:
brew tap choiyounggi/claude-auto-proxy https://github.com/choiyounggi/claude-auto-proxy
brew install claude-auto-proxy
nvm 같은 버전 관리자로 설치한 Node를 쓰면, 그 Node 버전을 지웠을 때 프록시 모드의 데몬도 멈춥니다. Node를 바꾼 뒤에는 `claude-auto-proxy install`을 다시 실행하세요. Homebrew로 설치하면 이 문제가 없습니다.
빠른 시작
라우터 모드
라우터 Mac에서 `claude-proxy-router key`로 주소와 키를 확인한 뒤, 이 Mac에서:
claude-auto-proxy router onboard http://<라우터 주소>:18787 --on # 키 입력 → 핑 확인 → 등록 → 켜기
claude-auto-proxy router status # 상태와 계정별 사용량
claude-auto-proxy router off # 끄기 (다시 켜기: router on)
- 켜고 끄는 것은 새로 시작하는 Claude Code 세션부터 적용됩니다. 열려 있는 세션은 다시 시작하세요.
- 라우터 모드에서
/logout해 둔 Mac은, `rout
Related Skills
Claude Proxy Router
Route Claude Code's API requests through the logged-in Claude account with the most usage headroom — a small m
Proxy0x
Windows proxy manager for residential HTTP/SOCKS5 proxies. One click routes apps through a local proxy, rotate
Claude Router
Switch Claude Code between Anthropic and any 9Router provider, in the terminal or the VSCode panel, on Windows
Neo Switch
Keep Claude Code. Switch your models. Use Gemini 4 Neon in Claude Code through a local Anthropic-compatible pr
Falcao Token Router
Claude Code accounts in groups that take turns by themselves — macOS and Windows, through the official client,
Claude Rotator
Local OAuth proxy that auto-rotates Claude Code accounts across usage limits on macOS and Linux.
Related Agents
Network Config Reviewer
Network configuration security and correctness auditor. Invoke when given a router or switch configuration to
Quota Router
Thin wrapper over ~/.claude/router/state.sh. Reports the router's provider-state verdict (GPT/Claude/Gemini el
Portal Debugger
Use this agent for Flutter portal debugging - ViewModel state, auto_route navigation, getIt DI, proxy/session