DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run each Claude Code session on its own account with Session Kit

Enrol several Claude Code logins and pick the account for each session at launch.

Short answer: Install Session Kit following the README; then run sp account enroll claude work you@example.com for each account, using your own label and email; run sp account list claude to confirm the enrolled accounts. All steps.

Credentials. Each enrolled account keeps its own provider configuration directory, so treat those directories and the logins in them as sensitive credentials on this machine.

Who it is forA developer with a work and a personal Claude Code subscription who wants each session to use the right one.

The problemA terminal normally inherits one login, so every window shares one subscription and it is easy to use the wrong one.

The outcomeEach session authenticates as the account it was started on, and the picker shows which account each session belongs to.

What you need first

  • Linux with systemd, or macOS 14 or newer
  • shpool 0.11.0, the stock build
  • Claude Code, Codex, or both
  • One trusted Unix account with per-user service access
  • Python 3.10+ on Linux or Python 3.11+ on macOS, plus Bash 4+

Steps

  1. Install Session Kit following the README.
  2. Run sp account enroll claude work you@example.com for each account, using your own label and email.
  3. Run sp account list claude to confirm the enrolled accounts.
  4. Run sp new claude and choose the account when prompted.
  5. Run kit and check the account column for each session.

Prompt for your agent

Using Session Kit from https://github.com/dob323/session-kit, enrol the Claude Code account <label> with `sp account enroll claude <label> <email>`, then run `sp account list claude`. Verify that the list shows <label> and report the output.

Caveat. Account separation is for choosing the right subscription per session, and Session Kit does not isolate sessions from other processes running as your own Unix user.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for dob323/session-kit and "Run each Claude Code session on its own account"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer