@openmelontech/choosebuddy
v0.1.3
Published
One-click Claude Code buddy pet configurator
Downloads
225
Maintainers
Readme
anybuddy
One-click Claude Code buddy configurator.
anybuddy lets you pick a specific Claude Code buddy by species and rarity, then applies a matching user ID to your local Claude configuration.
Requirements
- Node.js 18 or newer
- Claude Code CLI installed:
npm install -g @anthropic-ai/claude-code
Usage
Run without installing globally:
npx @openmelontech/choosebuddy --listPick a buddy:
npx @openmelontech/choosebuddy --species duck --rarity legendaryPick the exact buddy variant shown on AnyBuddy:
npx @openmelontech/choosebuddy --species turtle --rarity legendary --user-id 14a197f94a5767f008c89e62829f69374037680b6f424715fffc309eee535ca2If you use Claude Code with an API key (no OAuth / no setup-token flow), only patch buddy fields in ~/.claude.json and skip token capture:
npx @openmelontech/choosebuddy --species cat --rarity epic --skip-oauthMore examples:
npx @openmelontech/choosebuddy --species dragon --rarity epic
npx @openmelontech/choosebuddy --helpAfter a successful run:
- AnyBuddy looks up a matching user ID, or applies the exact one you provide
- Default: captures your Claude Code OAuth token, updates
~/.claude.json, persistsCLAUDE_CODE_OAUTH_TOKENin your shell rc file — then restart your terminal, runclaude, and use/buddy. --skip-oauth: only updates~/.claude.json(keeps your existing file if present); does not runclaude setup-tokenor modify shell rc. Use when you authenticate viaANTHROPIC_API_KEY(or similar) instead of OAuth.
Maintainers
From the repository root:
npm run pack:cli
npm run release:cli:dry
npm run release:cliBefore publishing a new version, bump packages/cli/package.json or run:
cd packages/cli
npm version patch --no-git-tag-version