New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Reverse proxy that normalizes Claude Code device fingerprints and telemetry across multiple machines.

skills.sh installs
668
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers gateway deployment, identity and token generation, client setup, and Clash network blocking for Anthropic traffic
  • Rewrites 40+ fingerprint fields, including device_id, email, the env object, memory values, headers, and prompt text
  • Refreshes OAuth tokens centrally and strips baseUrl and gateway provider fields to prevent leakage
  • Designed for teams running Claude Code on several machines that need one canonical identity behind a Docker deployment

Install

$ npx -y skills add reason-machines/trending-skills --skill cc-gateway-ai-proxy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CC Gateway — AI API Identity Gateway

Skill by ara.so — Daily 2026 Skills collection.

CC Gateway is a TypeScript reverse proxy that sits between Claude Code clients and the Anthropic API. It normalizes 40+ device fingerprint dimensions (device ID, email, environment, RAM, headers, and system prompt content) to a single canonical identity, manages OAuth token refresh centrally, and prevents telemetry leakage from multi-machine setups.

Architecture Overview

Client (Claude Code + env vars + Clash)
  └─► CC Gateway (rewrite + auth inject + SSE passthrough)
        └─► api.anthropic.com (single canonical identity)
              
Gateway also contacts:
  platform.claude.com (OAuth token refresh only)

Three-layer defense:

LayerMechanism
Env varsRoute CC traffic to gateway, disable side channels
Clash rulesBlock any direct Anthropic connections at network level
GatewayRewrite all 40+ fingerprint dimensions in-flight

Installation

Prerequisites

  • Node.js 18+ or Docker
  • A machine that has previously logged into Claude Code (for OAuth token extraction)

Clone and Install

Details

Repository
github.com/reason-machines/trending-skills
Categories
DevOps & Cloud, Security
First seen
May 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Cc Gateway Ai Proxy

More DevOps & Cloud