Claude Proxy Router — Development skill for Claude Code
Route Claude Code's API requests through the logged-in Claude account with the most usage headroom — a small macOS router for Tailscale or LAN.
How to install Claude Proxy Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open choiyounggi/claude-proxy-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Proxy Router does
Route Claude Code's API requests through the logged-in Claude account with the most usage headroom — a small macOS router for Tailscale or LAN.
Alternatives in Development
- Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
- 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-proxy-router
이 Mac에 로그인된 Claude 계정 중 **리미트가 가장 여유로운 계정**으로 Anthropic API 요청을 대신 보내 주는 라우터입니다. 다른 Mac(Tailscale·LAN)의 Claude Code가 이 라우터를 API 주소로 쓰면, 라우터가 요청마다 계정을 골라 그 계정의 OAuth 토큰을 붙여 Anthropic에 보내고 응답(스트리밍 포함)을 그대로 돌려줍니다.
[Claude Code를 쓰는 Mac] [이 라우터 Mac] [Anthropic]
Claude Code ──HTTP──▶ claude-proxy-router ──(계정 A·B·C 중 여유 있는 토큰)──▶ api.anthropic.com
└ 스킬·MCP·훅·도구는 이 Mac에서 실행 └ 본문은 그대로, 인증 헤더만 교체
보내는 쪽은 짝 레포 [claude-auto-proxy](https://github.com/choiyounggi/claude-auto-proxy)로 켜고 끕니다. 둘 사이의 약속은 [PROTOCOL.md](PROTOCOL.md)에 있습니다.
주요 기능
- 계정 자동 탐색: Orca 폴더형 계정(
~/Library/Application Support/orca/claude-profiles//home)과 기본 로그인(~/.claude). 같은 좌석(계정+조직)은 한 번만 셉니다. - 여유 있는 계정 선택: 요청마다
max(5시간, 주간)사용률이 가장 낮은 계정으로 보냅니다(Fable 모델은 Fable 창 포함). - 자동 넘기기: 구독 리미트
429를 받은 계정은 리셋까지 빼고 같은 요청을 다음 계정으로 다시 보냅니다. - 전부 찼을 때: Anthropic과 같은 모양의
429로 답해, Claude Code에 평소처럼 "limit reached · resets …"가 뜹니다. - 토큰 자동 갱신: Keychain 토큰을 10초마다 다시 읽고, 만료 5분 전에 Claude Code와 같은 방식으로 갱신합니다.
- 계정 상태 조회:
status명령과GET /_router/status로 계정별 사용률과 "지금 이 계정으로 보낼지"를 보여 줍니다. - 요청 본문은 손대지 않음: 보내는 쪽 Claude Code가 만든 요청(시스템 프롬프트·도구·버전 정보)을 그대로 넘기고,
인증 헤더와
anthropic-beta의oauth-2025-04-20만 바꿉니다.
설치
macOS, Node.js 18.18 이상. 외부 의존성은 없습니다.
npm install -g claude-proxy-router
# 또는
brew install choiyounggi/tap/claude-proxy-router
라우터로 쓸 Mac의 Claude Code(또는 Orca 프로필)에 계정이 로그인돼 있어야 합니다.
빠른 시작
**1. 라우터 Mac**
claude-proxy-router onboard # 받을 주소(Tailscale/LAN/로컬)·포트 선택 → 키 생성 → 백그라운드 시작
claude-proxy-router key # 보내는 쪽에 넣을 주소와 키
claude-proxy-router status # 계정별 사용률 확인
**2. Claude Code를 쓰는 Mac**
npm install -g claude-auto-proxy
claude-auto-proxy router onboard http://<라우터 주소>:18787 --on # 키 입력 → 연결 확인 → 켜기
claude-auto-proxy router off # 끄기
자세한 켜기·끄기와 상태 확인은 [claude-auto-proxy README](htt
Related Skills
Claude Auto Proxy
Switch Claude Code on macOS to a claude-proxy-router, or through an HTTP/SOCKS5 proxy, with one command — and
Route Work To Silo
Hand-pick which account silo serves a unit of work with farm route, bypassing the gateway's auto rota — for wh
Anthropic Proxy Litellm
In-process LiteLLM proxy for Python — use as a context manager to route Anthropic API requests to any LiteLLM-
Jump Skills
Jump Skill Ninjas are intelligent meta-skills — master orchestrators that route your requests to the most appr
Gov Backlinks
Free .gov backlinks - drive the user's browser through SAM.gov, the SBA small business listing, and state vend
Tcr
Run Claude Code across multiple Claude accounts. A local Rust proxy that sends each request to the account wit
Related Agents
Usage Aware Task Router
Read-only router for choosing a task's environment and verified supporting skill, including Claude Code, Codex
QA Desktop Tester
Desktop tester for flows outside the browser - native apps, OS dialogs, file pickers, Electron apps, OS settin
Skeid Proxy Test Writer
Write and extend Skeid tests — Test::Mojo against build_app with an inline fake upstream, routing and admissio