countzero/switch_claude_account
A zero-dependency cross-platform PowerShell script to switch between multiple Anthropic Claude accounts.
stack: PowerShell
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit countzero/switch_claude_account/.claude ./rig-switch_claude_account # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit countzero/switch_claude_account/.claude/skills/plan-review .claude/skills/plan-review $ npx degit countzero/switch_claude_account/.claude/skills/pr-code-review .claude/skills/pr-code-review $ npx degit countzero/switch_claude_account/.claude/skills/trim-prose .claude/skills/trim-prose
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} Skills (3)
Hooks (1)
| event | matcher | runs |
|---|---|---|
| SessionStart | startup|resume|compact | jq -r '"SESSION_ID=" + .session_id' |
Similar rigs
shuheykoyama/dotfiles
Shuhey's dotfiles ✌️
Minimalist 1.3k tok · · Q0
nick-boey/cyrus-dotfiles
Dotfiles for Cyrus sandboxes: installs Matt Pocock's agent skills into ~/.claude/skills
Minimalist 221 tok · · Q0
Aroza-inc/super-code-review
4つのサブエージェントを並列実行する包括的コードレビュー(差分・全体・プラン・反復レビュー(自動修正付き))と差分要約。Claude Code 用 plugin。
Pragmatist 1.0k tok · · Q0
ujconsulting/claudex-loop
Claude Code plugin: two AI models harden a plan, then swap jobs to build and grade it. Ships a read-only Codex wrapper, a PreToolUse guard against chained commands, role gates so the builder never grades its own work, and an egress boundary
Pragmatist 3.5k tok · · Q3