Skip to main content

Common examples

The provider and model header controls are the normal way to select among Claude, OpenAI, Codex, Cursor, and Pi. The --api-key and --model flags remain Claude specific.

Environment

Useful environment values include DOCWRITER_ROOT, DOCWRITER_DEFAULT_MODEL, DOCWRITER_NEW_SESSION, ANTHROPIC_API_KEY, and provider keys described in Connect a provider.