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.
- REPO
dieqiyun/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.
- REPO
-
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.
- REPO
dieqiyun/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.
- REPO
-
Build and test Uni Switch from source
Install dependencies, run the checks and build the desktop app from the repository.
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.
Quick start with 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.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dieqiyun/uni-switch
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout 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 hot123 stars, launched 33 days ago
- 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
Add this badge to your README
Maintain Uni Switch? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/dieqiyun-uni-switch/?utm_source=github&utm_medium=badge&utm_campaign=dieqiyun-uni-switch)
HTML
<a href="https://dedupedai.com/use-cases/dieqiyun-uni-switch/?utm_source=github&utm_medium=badge&utm_campaign=dieqiyun-uni-switch"><img src="https://dedupedai.com/badge/dieqiyun/uni-switch.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the 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.
How do I use Uni Switch?
Download the installer for your system from the GitHub Releases page, for example uni-switch_0.5.25_x64-setup.exe on Windows x64; then 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 添加并使用. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
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: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
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.