Techiebutler

AI Switch — AI skill for Claude Code

AI community

Switch between multiple accounts in Claude Code, Codex and Cursor with one command, without signing in again.

How to install AI Switch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Techiebutler/ai-switch and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Switch does

Switch between multiple accounts in Claude Code, Codex and Cursor with one command, without signing in again.

Alternatives in AI

  • Cursor Talk To Figma MCP — TalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to c 7k ★
  • EchoBird — One-click install + model switch:Claude Code,Codex CLI (OpenAI), Grok Build (xAI), DeepSeek Harness, Kimi Code 3.1k ★
  • AIUsage — One dashboard to manage all your AI subscriptions — track quotas, costs, accounts, Claude Code proxy, and Code 635 ★

README

ai-switch

[![CI](https://github.com/Techiebutler/ai-switch/actions/workflows/ci.yml/badge.svg)](https://github.com/Techiebutler/ai-switch/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Switch between multiple accounts in your AI coding tools with one command, without signing in again.

Supports **Claude Code**, **Codex CLI** and **Cursor**.

$ ai-switch list
Claude Code:
* work             you@company.com
  personal         you@gmail.com

Codex CLI:
* work             you@company.com (team)
  personal         you@gmail.com (plus)

$ ai-switch personal
claude: switched to 'personal' (you@gmail.com). Start a new 'claude' session to use it.
codex: switched to 'personal' (you@gmail.com (plus)). Start a new 'codex' session to use it.

Why

If you have more than one account (work and personal, or several seats), switching normally means logging out, opening the browser and signing in again, every time you hit a usage limit. Login tokens last a long time, so `ai-switch` saves each account's login once and puts the saved login back when you switch.

Install

Requirements: macOS or Linux, and `python3` (preinstalled on macOS).

curl -fsSL https://raw.githubusercontent.com/Techiebutler/ai-switch/main/install.sh | bash

This installs `ai-switch` to `~/.local/bin`, plus a `claude-switch` shortcut. If that folder is not on your `PATH`, the installer tells you what to add to `~/.zshrc` or `~/.bashrc`.

Or install manually:

git clone https://github.com/Techiebutler/ai-switch.git
ln -s "$PWD/ai-switch/ai-switch" ~/.local/bin/ai-switch

Setup (once per account)

  1. Log in to your first account in the tool as usual, then save it:
    ai-switch claude add work
  2. Log in to your second account using the tool's own login, then save it:
    ai-switch claude add personal
  3. Repeat for other accounts and other tools.

How to log in to another accou