claude-switch-account

claude-switch-account is a skill for Claude Code from dayvisonassis/sdd-skills. It costs 62 tokens per session (3,627 once invoked), scanned B, original, MIT.

A command-line tool for switching between saved Claude Code accounts belonging to the same person by changing which login credentials are active.

In plain words
What is it for?
Use it to save, list, inspect, and activate account credentials on Windows, Linux, or macOS.
Why use it?
It avoids repeating the browser login process when one account reaches its usage limit or work must continue under another account.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to save, list, inspect, and activate account credentials on Windows, Linux, or macOS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dayvisonassis/sdd-skills/claude-switch-account
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dayvisonassis/sdd-skills --skill claude-switch-account
Clone the repo
git clone --depth 1 https://github.com/dayvisonassis/sdd-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-switch-account

README.md
[![agentmods](https://agentmods.dev/badge/skills/dayvisonassis/sdd-skills/claude-switch-account/github.svg)](https://agentmods.dev/skills/dayvisonassis/sdd-skills/claude-switch-account)
Your own site
<a href="https://agentmods.dev/skills/dayvisonassis/sdd-skills/claude-switch-account"><img src="https://agentmods.dev/badge/skills/dayvisonassis/sdd-skills/claude-switch-account/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-switch-account

Your own site · 80×15
<a href="https://agentmods.dev/skills/dayvisonassis/sdd-skills/claude-switch-account"><img src="https://agentmods.dev/badge/skills/dayvisonassis/sdd-skills/claude-switch-account.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.03627
Opus 5 $0.00031 $0.01813
Sonnet 5 $0.00012 $0.00725
Haiku 4.5 $0.00006 $0.00363

Measured 10d ago against content hash a041dc65941c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

claude-switch-account scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (claude-switch-account.ps1, claude-switch-account.sh, identity.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- On Linux and macOS, stored snapshots are `chmod 600` and the store is `700`.
skills/claude-switch-account/SKILL.md · 295 lines

How it starts

The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude switch account

Switches the active Claude Code account by swapping saved copies of .credentials.json, with no browser OAuth round-trip.

There is still a single ~/.claude: settings, memory, projects/, skills and plugins stay shared. Only the credentials file changes.

Pick the script for the platform

Platform Command prefix
Windows powershell -NoProfile -File <skill-dir>/claude-switch-account.ps1
Linux, macOS bash <skill-dir>/claude-switch-account.sh

Flags differ by convention: -Sessions / -Status / -List / -Save -Account <name> / -Account <name> on PowerShell, --sessions / --status / --list / --save <name> / <name> on bash.

Snapshots are always plain files under the store on every platform. Only the live credential location differs: a file on Windows and Linux, the login Keychain on macOS.

Steps

  1. Run the status command first. It prints exactly one token:

    Output Meaning
    sem-credenciais Nobody is logged in. Nothing to do but log in.
    sem-cadastro Someone is logged in, no account is registered yet.
    sem-ativa Snapshots exist but none is marked active.
    confere:<name> The live credentials are the <name> snapshot, unchanged.
    diverge:<name> The live credentials differ from the <name> snapshot.
    marcador-desatualizado:<real> The live account is <real>, not what the marker says.

| identidade-divergente:<name> | Token matches, but the identity record does not. | | sem-identidade:<name> | No identity snapshot for that account, or it cannot be compared. | | indeterminado:<name> | No SHA-256 tool available; the comparison could not run. |

  1. Run the sessions command before activating anything. It prints outras-sessoes:N - live Claude processes outside this one's own ancestry - or indeterminado when it cannot tell.

    If N is above zero, stop and ask the user before switching. Explain what they are choosing (see the next section), and do not proceed on your own judgement. indeterminado is not a green light: say the check could not run.

Read the full file on GitHub · 295 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 295 lines · 62 tokens per session scan B a041dc65941c

Subscribe to this mod's changes

claude-switch-account is a skill published in the GitHub repository dayvisonassis/sdd-skills (1 stars, last pushed 14d ago), licensed MIT. It adds 62 tokens to every session and 3,627 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

google-ads-audit

Google Ads account audit and business context setup. Use for account-health audits and business-context setup. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should I fix in my ads", or when the user is new to NotFair and hasn't run…

nowork-studio/notfair-plugin · 86 tokens

data-charts-tako

Search and visualize the world's data - get charts, insights, and embeddable knowledge cards for finance, economics, demographics, sports, and more.

gooseworks-ai/goose-skills · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens