### Start TeamClaude Server with Request Logging Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Start the TeamClaude proxy server and enable full request/response logging to a specified directory for debugging purposes. ```bash teamclaude server --log-to /tmp/requests ``` -------------------------------- ### Start TeamClaude Server Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Start the TeamClaude proxy server. When run from a TTY, it displays an interactive TUI; otherwise, it falls back to plain log output. ```bash teamclaude server ``` -------------------------------- ### Install TeamClaude Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Install TeamClaude globally using npm. Requires Node.js 18+. ```bash npm install -g @karpeleslab/teamclaude ``` -------------------------------- ### Proxy Configuration Example Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md This JSON object defines the configuration for the Team Claude proxy. It includes settings for the local proxy port, API key, upstream API endpoint, account switching threshold, and details for individual accounts like name, type, UUID, and access/refresh tokens. ```json { "proxy": { "port": 3456, "apiKey": "tc-auto-generated-key" }, "upstream": "https://api.anthropic.com", "switchThreshold": 0.98, "accounts": [ { "name": "user@example.com", "type": "oauth", "accountUuid": "...", "accessToken": "sk-ant-oat01-...", "refreshToken": "sk-ant-ort01-...", "expiresAt": 1774384968427 } ] } ``` -------------------------------- ### Import Existing Claude Code Credentials Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Import credentials from an existing Claude Code setup. First, log into an account in Claude Code, then import its credentials. ```bash claude /login teamclaude import ``` -------------------------------- ### Add First Account via OAuth Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Add your first account by logging in through OAuth, which opens your browser for authentication. This is the recommended method. ```bash teamclaude login ``` -------------------------------- ### Show All Commands Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Display a help message listing all available TeamClaude commands. ```bash teamclaude help ``` -------------------------------- ### List Accounts with Token Expiry Times Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md List all added accounts, including their subscription tier and token expiry times. ```bash teamclaude accounts -v ``` -------------------------------- ### List Accounts with Token Status Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md List all added accounts, including their subscription tier and token status. ```bash teamclaude accounts ``` -------------------------------- ### Import Credentials from Custom Path Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Import credentials from a specific JSON file path instead of the default location. ```bash teamclaude import --from /path/to/credentials.json ``` -------------------------------- ### Add Account via API Key Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Add an account using an Anthropic API key for accounts billed via Console. ```bash teamclaude login --api ``` -------------------------------- ### Call API Endpoint with Account Credentials Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Make a call to a specific API endpoint using the credentials of one of the managed accounts. ```bash teamclaude api ``` -------------------------------- ### Set Environment Variables for Claude Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Manually set environment variables to route Claude traffic through the TeamClaude proxy. This is an alternative to `teamclaude run`. ```bash eval $(teamclaude env) claude ``` -------------------------------- ### Run Claude Code through Proxy Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Run Claude Code, which will automatically use the TeamClaude proxy. ```bash teamclaude run ``` -------------------------------- ### View Live Proxy Status Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Display the live status of the running TeamClaude proxy server. This command requires the server to be active. ```bash teamclaude status ``` -------------------------------- ### Override Configuration Path Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Specify a custom path for the TeamClaude configuration file using the `TEAMCLAUDE_CONFIG` environment variable. ```bash TEAMCLAUDE_CONFIG=./my-config.json teamclaude server ``` -------------------------------- ### Remove an Account Source: https://github.com/karpeleslab/teamclaude/blob/master/README.md Remove a specific account from the TeamClaude configuration by providing its name. ```bash teamclaude remove ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.