English | 简体中文
Wizard-style CLI/TUI for generating and applying custom Claude Code buddy profiles.
- Auto-detects Claude install shape and picks the safest backend first
- Supports macOS
npmglobal install, Homebrew shim install, andclaude installnative install - Primary
config-useridbackend for node-based installs whenuserIDis authoritative - Fallback
binary-salt-patchbackend only when the resolved target file is actually patchable - Interactive wizard plus non-interactive flags
- Commands:
current,preview,apply,restore,rehatch,doctor,backends - Persisted desired profile in
~/.buddy-studio.json
pnpm install
pnpm buildbuddy-studio
pnpm run studio
buddy-studio current
buddy-studio doctor --json
buddy-studio apply --species cat --rarity legendary --eye '◉' --hat beanie --shiny| Install method | How it is detected | Default hash mode | Preferred backend |
|---|---|---|---|
| npm global | Launcher/resolved path points at node_modules/@anthropic-ai/claude-code/cli.js |
fnv1a |
config-userid |
| Homebrew | /opt/homebrew/bin/claude or /usr/local/bin/claude symlink/shim resolves to the node CLI |
fnv1a |
config-userid |
claude install native |
~/.claude/local/claude or native binary in that path family |
bun |
binary-salt-patch or config-userid (when the identity source allows) |
doctor prints the launcher path, resolved target, install kind, hash mode, and why each backend is available or not.
- Run the interactive TUI only from a normal shell terminal.
- Do not start it inside Claude Code or
mc --codeproxy terminals. - If Buddy Studio detects a Claude/proxy launch chain, it refuses to start the interactive wizard and tells you to run
buddy-studioorpnpm run studioin a standalone shell.
config-useridwrites Claude local state with backup + restore metadatabinary-salt-patchis a compatibility fallback and warns more aggressivelyrestorereverts the last applied state using saved restore metadata
pnpm check
pnpm test
pnpm build
pnpm run studio