What do you want to do?
4 use cases
-
Switch Codex and Claude Code to a new API provider
Add a provider once with its API address and key, then switch between providers with one click.
View prompt
Using the uni-switch project at github.com/dieqiyun/uni-switch, add a provider with API address <api-address> and the API key stored in <key-env-var>, then confirm the provider appears in use for the chosen client. Expected output: the provider listed as in use, with a note to restart the client and start a new conversation. Verify that the local config backup was created before the change.
-
Sync a provider's models and set context limits
Refresh the model list after a provider changes its models and set the default and context length for each.
- Uni Switch
- Codex
- Claude Code
- Software and DevOps
- Intermediate
View prompt
Using the uni-switch project at github.com/dieqiyun/uni-switch, sync the model list for the provider <provider-name> and report which models were removed and which default model was chosen. Expected output: a list of enabled models and the new default. Verify that the default model is still present in the synced list.
-
Edit ZCode, DSH or WorkBuddy config files with backups
View the real config file for another client, edit it inside the app, and keep a backup before saving.
- Uni Switch
- Software and DevOps
- Intermediate
View prompt
Using the uni-switch project at github.com/dieqiyun/uni-switch, show the current config path for the client <client-name> and the backup location created before any edit. Expected output: the config path and a backup file name. Verify that the backup exists before saving any change.
-
Build and test Uni Switch from source
Install dependencies, run the checks and build the desktop app from the repository.
- Uni Switch
- Software and DevOps
- Advanced
View prompt
Clone github.com/dieqiyun/uni-switch and run the frontend typecheck and tests with pnpm. Expected output: typecheck and test results with pass or fail counts. Verify that the lockfile install completed with --frozen-lockfile before running the tests.
How to use Uni Switch
- Check you have what it needs: A desktop computer running Windows, Linux or macOS; An API address and API Key from your provider; Codex or Claude Code installed on the same machine.
- Open dieqiyun/uni-switch on GitHub and read the README and license.
- Download the installer for your system from the GitHub Releases page, for example uni-switch_0.5.25_x64-setup.exe on Windows x64.
- Open Uni Switch and select Codex or Claude Code on the left. For Claude Code, choose desktop or CLI.
- Click 添加供应商, enter the API address and API Key, then click 添加并使用.
- Restart the client as prompted and start a new conversation to confirm the model and thinking level.
These steps come from our top use case, Switch Codex and Claude Code to a new API provider, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeUni Switch alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forBuilt for developers and power users who use Codex, Claude Code, ZCode, DSH or WorkBuddy with their own API providers and want one place to switch them.
- Why it is hot
- LanguageRust
- Sourcegithub.com/dieqiyun/uni-switch · Back to Hot repos
Requirements
- A desktop computer running Windows, Linux or macOS
- An API address and API Key from your provider
- Codex or Claude Code installed on the same machine
- For building from source: Node.js 20 or newer, Rust 1.89 or newer, and the platform build tools listed in the README
Maintain Uni Switch? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/dieqiyun-uni-switch/?ref=badge)
Questions about Uni Switch
What is Uni Switch?
uni-switch is an open-source desktop app for Windows, Linux and macOS that manages API provider settings for Codex and Claude Code clients. It is an open-source project on GitHub: https://github.com/dieqiyun/uni-switch.
Who is Uni Switch for?
Built for developers and power users who use Codex, Claude Code, ZCode, DSH or WorkBuddy with their own API providers and want one place to switch them.
What can I do with Uni Switch?
4 use cases so far, for example: Switch Codex and Claude Code to a new API provider; Sync a provider's models and set context limits; Edit ZCode, DSH or WorkBuddy config files with backups. Each has steps and a copy-paste agent prompt.
What do I need to run Uni Switch?
A desktop computer running Windows, Linux or macOS; An API address and API Key from your provider; Codex or Claude Code installed on the same machine; For building from source: Node.js 20 or newer, Rust 1.89 or newer, and the platform build tools listed in the README.
What are alternatives to Uni Switch?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Uni Switch safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.