Vernum-Projecten/cc-shift
Switches Claude Code between several Claude accounts on its own, before a usage limit is hit. Open windows follow without a restart. For macOS, Linux and Windows, written in Rust.
stack: Rust
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 55/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit Vernum-Projecten/cc-shift/.claude ./rig-cc-shift # 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 Vernum-Projecten/cc-shift/.claude/skills/next-task .claude/skills/next-task $ npx degit Vernum-Projecten/cc-shift/.claude/skills/phase-done .claude/skills/phase-done $ npx degit Vernum-Projecten/cc-shift/.claude/skills/phase-status .claude/skills/phase-status
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/Vernum-Projecten/cc-shift/main/.claude/agents/implementer.md Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(sudo:*)",
"Bash(gh pr merge *--admin*)",
"Bash(gh pr merge *-R *)",
"Bash(gh pr merge *--repo*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/no_attribution_guard.sh\""
},
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/block_dangerous.sh\""
}
]
}
]
}
} Skills (3)
Subagents (1)
| implementer model: opus | > |
Hooks (4)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | "$CLAUDE_PROJECT_DIR/.claude/hooks/no_attribution_guard.sh" |
| PreToolUse | Bash | "$CLAUDE_PROJECT_DIR/.claude/hooks/block_dangerous.sh" |
| PostToolUse | Write|Edit | "$CLAUDE_PROJECT_DIR/.claude/hooks/rust_fmt_clippy.sh" |
| SessionStart | * | "$CLAUDE_PROJECT_DIR/.claude/hooks/session_start_issues.sh" |
Permissions
deny (4)
Bash(sudo:*)
Bash(gh pr merge *--admin*)
Bash(gh pr merge *-R *)
Bash(gh pr merge *--repo*)
ask (0)
—
allow (14)
Bash(cargo:*)
Bash(rustup:*)
Bash(rustc:*)
Bash(rustfmt:*)
Bash(shellcheck:*)
Bash(git status)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(git add:*)
Bash(git branch:*)
Bash(git checkout:*)
Bash(gh pr merge * --auto)
Bash(gh pr merge * --auto *)
Similar rigs
zmilojevic/hearth
Keep your Claude Code sessions warm. Desktop app for Claude Code, Linux-first (also macOS/Windows): all your sessions in one sidebar, diffs, terminal, cache keep-warm, phone companion. Uses your Claude subscription, no API key.
Pragmatist 14.7k tok · · Q25
dmenezesgabriel/claude-acc-manager
Linux-only CLI/TUI to manage, measure, and swap Claude Code OAuth subscription accounts
Minimalist 2.0k tok · · Q3
yellow-pine/noggin
Animatronic CyberBrick head that reacts to Claude Code
Minimalist 1.5k tok · · Q29
yhnocoder/agentrun
Run claude-code, codex and pi in a sandbox with one command, on macOS, Linux, cloud containers and docker.
Minimalist 1.1k tok · · Q15