Skip to content
Back to skills

Add Account

ASecurity

Add another Claude Code account (a new config folder with the shared settings linked in) with `wy account add`, showing the plan first. Use when the user wants a second or third Claude account, a work/personal split, or runs /watchyard:add-account.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 26, 2026
developmentbash

Works with

  • claude code
  • terminal
  • mcp

Security analysis

A100/100

Scanned October 26, 2026

npx -y skills add mraj602/watchyard --skill add-account --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Account?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Account
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mraj602-add-account/badge)](https://www.skillsdirectory.com/skills/mraj602-add-account)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-account
description: Add another Claude Code account (a new config folder with the shared settings linked in) with `wy account add`, showing the plan first. Use when the user wants a second or third Claude account, a work/personal split, or runs /watchyard:add-account.
allowed-tools: Bash(command -v wy), Bash(wy --version), Bash(wy account list:*)
---

Add one Claude Code account folder by driving `wy account add`. Plan first, apply only after a
clear yes. Keep each question to one sentence with its default named.

Rules that always hold:

- Never run `claude auth login` yourself and never touch credentials, `.credentials.json`,
  a Keychain item or `oauthAccount`. The new folder is created without a login; the person
  logs in from their own terminal.
- Never ask for, accept or pass a hub token. Hub tokens are entered by the person with
  `wy connect <url> --token-stdin` in their own terminal.
- Do not edit any file yourself.

## Steps

1. `command -v wy`. If it is missing, say Watchyard is not installed and offer to run the
   `/watchyard:setup` skill instead; stop here.
2. Run `wy account list --json` and tell the person, in one or two lines, which accounts exist
   (label, folder, logged in or not). If no accounts are managed yet (setup never ran), suggest
   `/watchyard:setup` first and stop.
3. Ask, one question each, only what is not already clear:
   - **Label**: "What should the new account be called, for example `work` or `personal`?"
     Optionally a colour.
   - **Sharing**: "Share settings, instructions, commands, skills, plugins, MCP servers and
     history with the new account?" Default: yes (the defaults of `wy setup`). Name what is
     never shared: logins and credentials, and per-account usage data. Accept removals such as
     `--share defaults,-history`.
4. Dry run: `wy account add <label> [--colour <c>] [--share <switches>] --no-login --dry-run --json`.
   Show the human text of the plan (printed on stderr) in a code block, unchanged, and take
   the `plan_id` from the JSON. State in one line the new folder name and how many links it
   gets. Ask: "Create this account?"
5. On a clear yes, apply exactly that plan:
   `wy account add <label> [--colour <c>] [--share <switches>] --no-login --yes --json --expect-plan <plan_id>`
   (use the same flags as the dry run; if `wy account add --help` does not list
   `--expect-plan`, leave it out and compare the new plan's folder name with the one shown).
   If it reports that the plan changed (exit 4), show the new plan and ask again. If it
   fails, say it rolled back and show the error.
6. Relay `needs` from the result as commands for the person's own terminal, for example
   `CLAUDE_CONFIG_DIR=~/.claude-2 claude auth login` or the launcher `claude-2` the plan
   names. Logging in is theirs to do. Mention that `wy setup --undo` reverses the change.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.