npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

any-buddy

v2.2.0

Published

Pick any Claude Code companion pet you want

Readme


Quick Start

npx any-buddy@latest

That's it. If Bun is installed, you get the full interactive builder with live preview. Otherwise you'll see sequential prompts with a note to install Bun.

The builder lets you browse species, eyes, rarity, hats, and stats with a live ASCII art preview that updates as you scroll. Navigate with arrow keys, Tab/Enter to advance, Esc to cancel.

Install

# npm (global)
npm install -g any-buddy

# or clone
git clone https://github.com/cpaczek/any-buddy.git
cd any-buddy && pnpm install && pnpm link --global

Requirements

  • Node.js >= 20
  • Bun -- for the interactive builder TUI and correct hash computation (typically already installed with Claude Code). Without Bun, the tool falls back to basic sequential prompts.
  • Claude Code -- installed via any standard method

Platform Support

| Platform | Status | Notes | |----------|--------|-------| | Linux | Tested | Auto-detects ~/.local/share/claude/versions/ | | macOS | Tested | Auto-detects + ad-hoc re-signs after patching | | Windows | Tested | Works with npm-based installs (cli.js) |

Set CLAUDE_BINARY=/path/to/binary if auto-detection fails.

Usage

any-buddy                    # Start screen — build, browse presets, or switch buddies

The start screen lets you pick between:

  • Build your own — full interactive builder with live ASCII preview
  • Browse presets — 23 curated themed builds with animated preview
  • Saved buddies — switch between your saved pets (shown when you have saves)

After picking your pet, the entire flow stays in the TUI — salt search with progress bar, naming, personality, patching, and hook setup.

any-buddy current            # Show your current pet
any-buddy preview            # Browse without applying
any-buddy apply              # Re-apply after Claude Code update
any-buddy restore            # Restore original pet
any-buddy buddies            # Browse and switch between your buddies
any-buddy rehatch            # Delete companion, re-hatch via /buddy

Non-Interactive Mode

Skip prompts with flags (bypasses the start screen):

any-buddy -s dragon -r legendary -e '✦' -t wizard --shiny --name Draco -y
any-buddy --preset "Arcane Dragon" -y

| Flag | Short | Description | |------|-------|-------------| | --species <name> | -s | Species (duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk) | | --rarity <level> | -r | Rarity (common, uncommon, rare, epic, legendary) | | --eye <char> | -e | Eye style (· ✦ × ◉ @ °) | | --hat <name> | -t | Hat (crown, tophat, propeller, halo, wizard, beanie, tinyduck) | | --preset <name> | | Use a curated preset (e.g., "Arcane Dragon") | | --name <name> | -n | Rename companion | | --personality <desc> | -p | Set personality (controls speech bubble) | | --shiny | | Require shiny (~100x longer search) | | --peak <stat> | | Best stat (DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK) | | --dump <stat> | | Worst stat | | --yes | -y | Skip confirmations | | --no-hook | | Don't offer auto-patch hook | | --silent | | Suppress output (for hooks) |

All 18 Species

Customization Options

Restoring

any-buddy restore

Patches the salt back to original and removes the auto-patch hook. Your saved buddies are preserved — use any-buddy buddies to reactivate one later.

How It Works

See HOW_IT_WORKS.md for the full technical deep-dive on hashing, binary patching, the salt search algorithm, and the auto-patch hook.

Known Limitations

  • macOS: Binary is ad-hoc re-signed after patching. If Claude Code won't launch, run any-buddy restore
  • Bun recommended: Required for the interactive builder and correct wyhash computation. Without Bun, falls back to sequential prompts with FNV-1a (Node-based installs)
  • Salt dependent: If Anthropic changes the salt string, the tool will detect this and warn you
  • Stats: You pick peak/dump stats, but exact values are seed-determined

Contributing

See CONTRIBUTING.md for development setup, project structure, and how to submit changes.

Credits

License

WTFPL -- Do What The Fuck You Want To Public License.