- Shift + tab + tab
- Use “opus” for planning and Sonnet for everything else, /model
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.
Factory CLI → [Anthropic Format + API Key] → CLIProxyAPI → [Anthropic Format + OAuth] → Anthropic API
↓
(Auth Header Swap)
NO LONGER WORKS DUE TO PHP 8.2 BEING REMOVED FROM PPA:ONDREJ/PHP
Do not copy and paste this code, it requires changes
Other PHP versions available here: https://gist.github.com/search?q=user%3Amrl22+moss
As of writing this, Moss.sh does not support PHP 8.2 via the control panel even though Ubuntu does.
Set up your website using Moss.sh and select Apache with PHP 7.4.