pasrom/dotclaude/delegating-to-claude-accounts
Claude Code and agent skill by pasrom/dotclaude
- community
Checking that the SKILL.md file is still in the repository.
Use when you need to run a prompt under a DIFFERENT Claude Code account/subscription than the current session, e.g. offload a headless task to the work (claude-work) or second (claude-acc2) account, spread cost across another account's headless credit pool, or run under an isolated profile/auth. Not for same-account parallelism (use the Agent tool for that).
Install
npx vskill@latest install pasrom/dotclaude/delegating-to-claude-accountsSKILL.md
Delegating to Claude Code accounts
Overview
Roman runs several Claude Code accounts on one Mac. Each is a fully separate profile selected by CLAUDE_CONFIG_DIR (own auth, settings, MCP, history), invoked through a wrapper on PATH. To use another account from a session, call its wrapper headless with `-p` — it spawns an independent claude process under that subscription and prints the answer.
Accounts
| Command | Config dir | Account | |
|---|---|---|---|
claude (default) | ~/.claude | primary / private — usually the current session | |
claude-work | ~/.claude-work | work (Firma) | |
claude-acc2 | ~/.claude-acc2 | second personal | |
claude-science · claude-bioscience · operon | ~/.claude-science | science (compiled launcher, 3 entry points → same profile) |
claude-work / claude-acc2 are one-line shell wrappers in ~/.local/bin (CLAUDE_CONFIG_DIR=~/.claude-… exec claude "$@"). The science ones are a compiled launcher symlinked from ~/.claude-science/bin/.
Quick reference
Gotchas
- `-p` is mandatory. Without it the wrapper opens the interactive TUI and
the Bash tool hangs until timeout. Always add timeout.
- Tool permissions block headless. A bare
claude-work -pcannot run
Bash/Edit/etc. — it will refuse. Pipe data in, or pass --allowedTools "…" / --permission-mode acceptEdits (or bypassPermissions for full trust).
- Billing is per account. Since 2026-06-15, headless
-pspends that
account's separate monthly headless credit pool (then full API rates), not its interactive 5h/7d subscription quota. So delegating does not dodge an interactive rate limit; it spreads the per-account headless pool.
- Wrapper vs. alias. The
~/.local/bin/claude-workscript works in the
non-interactive Bash tool; the zsh alias does not. If a wrapper isn't found (or a cmux/PATH shim intercepts claude), fall back to the explicit form: CLAUDE_CONFIG_DIR=~/.claude-work claude -p "…".
- Trust dialog on a new workspace. First use of another profile in a repo
warns "workspace not trusted" and ignores that profile's permissions.allow. Fix: set projects["<repo-dir>"].hasTrustDialogAccepted = true in that profile's .claude.json (e.g. ~/.claude-acc2/.claude.json), or run claude-acc2 interactively once and accept.
- No cheap attribution. You can't confirm which account answered without
spending a token on it; trust the config dir you selected.
When NOT to use
- Same-account parallelism / subtasks → use the Agent tool (subagents).
It shares context, spends no extra subscription, and needs no separate auth.
- Reach for account delegation only to (a) use a different subscription's
quota, or (b) genuinely isolate auth/config/MCP.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/delegating-to-claude-accounts/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pasrom/dotclaude/delegating-to-claude-accounts)