Skip to content

Instantly share code, notes, and snippets.

View Parthiban-3997's full-sized avatar
👨‍💻

Parthiban Ravichandran (Parthi 👨‍💻) Parthiban-3997

👨‍💻
View GitHub Profile
@Parthiban-3997
Parthiban-3997 / FACTORY_PROXY_CC.md
Created October 4, 2025 10:58 — forked from chandika/FACTORY_PROXY_CC.md
Factory CLI with Claude Subscription / ChatGPT Codex via CLIProxyAPI

Executive Summary

This guide documents how to use Factory's Droid CLI with your Claude Code Max subscription (OAuth authentication) instead of pay-per-token API keys. The solution leverages CLIProxyAPI as a transparent authentication proxy that converts API key requests from Factory CLI into OAuth-authenticated requests for Anthropic's API.

Architecture Overview

Factory CLI → [Anthropic Format + API Key] → CLIProxyAPI → [Anthropic Format + OAuth] → Anthropic API
                                                  ↓
 (Auth Header Swap)