Grok Proxy Cc — Development skill for Claude Code
Anthropic Messages API proxy for Grok (xAI) — reuses ~/.grok/auth.json CLI login.
How to install Grok Proxy Cc
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open rianprei/grok-proxy-cc and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Grok Proxy Cc does
Anthropic Messages API proxy for Grok (xAI) — reuses ~/.grok/auth.json CLI login. Born at maximum optimization: hyper direct, 1.2M UPX, zero bloat.
Alternatives in Development
- Doctor — Environment diagnostics with interactive fixes — providers, auth, RTK, hooks, token optimization 2.8k ★
- Opencode Claude Auth — OpenCode plugin that uses your existing Claude Code credentials — no separate login needed 903 ★
- Ask Grok — Get Grok (xAI) second opinion on a question or current work 135 ★
README
grok-proxy-cc
[](LICENSE) [](https://www.rust-lang.org) [](.github/workflows/ci.yml) [](#build)
An **Anthropic Messages-API-compatible** HTTP proxy, written in Rust, that lets [Claude Code](https://docs.anthropic.com/en/docs/claude-code) drive **Grok (xAI)** models through your existing **Grok CLI login** — no API key, no paid tokens.
Claude Code speaks Anthropic `/v1/messages`; the proxy translates each request into an OpenAI Chat Completions call against `cli-chat-proxy.grok.com`, using the **OIDC token** the `grok` CLI already stores in `~/.grok/auth.json`, and streams the answer back as Anthropic SSE.
claude --model claude-grok-4.7
→ grok-proxy-cc :4112 (Anthropic Messages → OpenAI Chat Completions)
→ cli-chat-proxy.grok.com/v1 (com OIDC JWT do seu login)
→ grok-4.7 responde
Features
- Zero API key — reuses the Grok CLI's OIDC session from
~/.grok/auth.json - 4 models:
grok-4.7,grok-4.7-build-fast,grok-4.6,grok-4.5 - Streaming SSE:
reasoning_content→ thinking blocks, content → text,tool_calls→ tool_use — full Anthropic event stream - Tool calling:
tool_use↔tool_calls,tool_result→role:tool - Native effort control: Claude Code's
/effortslider →reasoning_effort - Chain fallback:
grok-4.7 → 4.7-build-fast → 4.6 → 4.5(same-provider) - Token auto-recovery: re-reads
~/.grok/auth.jsonon upstream 401 — the proxy survives the 6-hour OIDC token rotation without restart - Fail-closed: quota exhaustion → terminal
429withretry-after: 3600, never silently falls back - Loopback-only: binds
127.0.0.1, never exposed to the network - Constant-time auth: local Bearer token checked in O(n) wi
Related Skills
Refine Skill
Implement user skill change requests with maximum precision optimization
Grok Skills
Use Grok from Claude Code and Codex: review, reason, implement, verify through a hardened (or direct) sandboxe
Pantheon Optimize
Scan, clean, cache, and archive Pantheon project files. Scans for bloat, archives completed deepwork, migrates
Depictio Embl Admin Login
Auth as Depictio admin on an EMBL K8s deployment by injecting the on-pod long-lived token into the React /dash
Auth Implementation
Use when a project needs real working login and signup rather than advice. Wiring up Clerk or Supabase Auth, p
Axonflow Login
Save AxonFlow credentials locally — a Pro license token (AXON-...) for X-License-Token, or a self-hosted/Enter
Related Agents
Grok Agent 01
ONLY job: find free or freemium AI token/API plans (OpenAI-compatible, Anthropic, Google, open routers, studen
GrokResearcher
Use this agent to orchestrate comprehensive research synthesis using xAI's Grok model. Combines results from m
Xai
Use this agent for cheap, fast, high-volume agentic work powered by xAI Grok 4.7 on AWS Bedrock — batch classi