{"id":34071548,"url":"https://github.com/aeitroc/claude-select","last_synced_at":"2025-12-19T08:01:11.505Z","repository":{"id":328314246,"uuid":"1107947098","full_name":"aeitroc/claude-select","owner":"aeitroc","description":"A unified launcher for Claude Code that lets you interactively choose which LLM backend to use.","archived":false,"fork":false,"pushed_at":"2025-12-12T09:40:35.000Z","size":3,"stargazers_count":88,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-13T21:45:56.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://masteralb.com/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aeitroc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-01T20:25:39.000Z","updated_at":"2025-12-12T09:40:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aeitroc/claude-select","commit_stats":null,"previous_names":["aeitroc/claude-select"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/aeitroc/claude-select","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeitroc%2Fclaude-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeitroc%2Fclaude-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeitroc%2Fclaude-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeitroc%2Fclaude-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeitroc","download_url":"https://codeload.github.com/aeitroc/claude-select/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeitroc%2Fclaude-select/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27811933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-19T02:00:08.705Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-14T08:00:20.537Z","updated_at":"2025-12-19T08:01:11.496Z","avatar_url":"https://github.com/aeitroc.png","language":"Shell","readme":"# Claude Select\n\nA unified launcher for Claude Code that lets you interactively choose which LLM backend to use.\n\n```\n   ____  _                 _        ____       _           _\n  / ___|| | __ _ _   _  __| | ___  / ___|  ___| | ___  ___| |_\n | |    | |/ _` | | | |/ _` |/ _ \\ \\___ \\ / _ \\ |/ _ \\/ __| __|\n | |___ | | (_| | |_| | (_| |  __/  ___) |  __/ |  __/ (__| |_\n  \\____||_|\\__,_|\\__,_|\\__,_|\\___| |____/ \\___|_|\\___|\\___|\\__|\n                                                      from Bessi\n```\n\n## What is this?\n\nClaude Select allows you to run [Claude Code](https://github.com/anthropics/claude-code) with different LLM backends. It supports:\n\n- **Direct API providers** (Kimi, GLM, etc.)\n- **Local proxies** via [vibeproxy](https://github.com/automazeio/vibeproxy) (Qwen, Gemini, etc.)\n\nEach model gets its own isolated config directory, so your settings and history remain separate per backend.\n\n## Requirements\n\n- [Claude Code](https://github.com/anthropics/claude-code) installed and available in PATH\n- [vibeproxy](https://github.com/automazeio/vibeproxy) running on `localhost:8317` (for proxy-based models)\n- zsh shell\n\n## Setup\n\nMake the script executable:\n\n```bash\nchmod +x claude-select.sh\n```\n\n## Usage\n\n### Interactive Mode\n\n```bash\n./claude-select.sh\n```\n\nShows a menu to select your model:\n\n```\n  Select a model:\n\n  1) GLM 4.6\n  2) Kimi K2 Thinking\n  3) Kimi K2 Thinking (alt key)\n  4) Qwen3 Coder Plus\n  5) Gemini 3 Pro Preview\n\nEnter choice [1-5]:\n```\n\n### Direct Mode\n\nPass the model number as the first argument:\n\n```bash\n./claude-select.sh 1              # Launch with GLM 4.6\n./claude-select.sh 4              # Launch with Qwen3\n```\n\n### With Claude Arguments\n\nAny additional arguments are passed to Claude:\n\n```bash\n./claude-select.sh 2 --resume     # Kimi with resume flag\n./claude-select.sh 5 -p \"hello\"   # Gemini with prompt\n```\n\n## Adding a New Model\n\nEdit `claude-select.sh` and add a new entry. Find the configuration section and add your model:\n\n### For vibeproxy-based models\n\nIf you're using [vibeproxy](https://github.com/automazeio/vibeproxy) to proxy a model:\n\n```bash\nMODELS[6]=\"your-model-name\"\nBASE_URLS[6]=\"http://localhost:8317\"\nAUTH_TOKENS[6]=\"factory-api-key\"\nCONFIG_DIRS[6]=\"${HOME}/.your-model-config\"\n```\n\nMake sure the model is configured in your vibeproxy setup.\n\n### For direct API models\n\nFor providers with their own API endpoints:\n\n```bash\nMODELS[6]=\"model-name\"\nBASE_URLS[6]=\"https://api.provider.com/endpoint\"\nAUTH_TOKENS[6]=\"your-api-key\"\nCONFIG_DIRS[6]=\"${HOME}/.model-config\"\n```\n\nThen update the menu in `show_menu()`:\n\n```bash\necho \"  6) Your Model Name\"\n```\n\nAnd update the validation regex from `^[1-5]$` to `^[1-6]$` in both places.\n\n## How It Works\n\n1. Creates a temporary fake `security` executable to bypass macOS Keychain (forces Claude to use config.json)\n2. Sets environment variables for the selected backend:\n   - `ANTHROPIC_BASE_URL` - API endpoint\n   - `ANTHROPIC_AUTH_TOKEN` - API key\n   - `ANTHROPIC_DEFAULT_SONNET_MODEL` - Model identifier\n   - `ANTHROPIC_DEFAULT_OPUS_MODEL` - Model identifier\n   - `CLAUDE_CONFIG_DIR` - Isolated config directory\n3. Launches Claude Code with the configured environment\n4. Cleans up temporary files on exit\n\n## License\n\nMIT\n","funding_links":[],"categories":["Tools \u0026 Utilities","Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeitroc%2Fclaude-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeitroc%2Fclaude-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeitroc%2Fclaude-select/lists"}