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

buddy-reroll

v0.3.8

Published

Reroll your Claude Code buddy companion to any species/rarity/eye/hat/shiny combo

Downloads

6,897

Readme

buddy-reroll

Pick the perfect Claude Code /buddy companion — any species, rarity, eye, hat, shiny, and stat combination you want.

Install

# Bun (recommended)
bunx buddy-reroll

# npm
npx buddy-reroll

Bun is faster, but Node.js >= 20 produces identical results — no Bun required.

Usage

# Interactive — pick your buddy step by step
buddy-reroll

# Know what you want? Go direct
buddy-reroll --species dragon --rarity legendary --eye ✦ --hat propeller --shiny

# Just pick a few things, leave the rest to chance
buddy-reroll --species cat --rarity epic

# Choose your buddy's strengths
buddy-reroll --peak WISDOM --dump CHAOS

# See what's available
buddy-reroll --list

# Check your current buddy
buddy-reroll --current

# Keep your buddy after Claude updates
buddy-reroll --hook

# Stop keeping after updates
buddy-reroll --unhook

# Something wrong? Check your setup
buddy-reroll --doctor

# Undo everything
buddy-reroll --restore

Options

| Flag | Values | |---|---| | --species | duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk | | --rarity | common, uncommon, rare, epic, legendary | | --eye | · × @ ° | | --hat | none, crown, tophat, propeller, halo, wizard, beanie, tinyduck | | --shiny | --shiny / --no-shiny | | --peak | Best stat — DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK | | --dump | Weakest stat (can't match --peak) | | --list | See all options | | --current | Show your current buddy | | --restore | Undo changes and go back to default | | --doctor | Check if everything is set up right | | --hook | Keep your buddy after Claude Code updates | | --unhook | Stop keeping after updates | | --version, -v | Print version |

Keeping your buddy

Claude Code updates can reset your companion. --hook tells Claude to automatically restore your buddy every time it starts up.

buddy-reroll --hook    # set it up once
buddy-reroll --unhook  # remove whenever you want

How fast is it?

buddy-reroll uses all your CPU cores (up to 8) to find the right companion. Both runtimes use the same wyhash algorithm as Claude Code, so your buddy will always match /buddy exactly.

| Runtime | Speed | Hash | |---|---|---| | Bun | Faster (native Bun.hash) | wyhash ✓ | | Node.js >= 20 | Slightly slower (pure JS) | wyhash ✓ |

Requirements

  • Node.js >= 20 or Bun
  • Claude Code

Troubleshooting

buddy-reroll --doctor

This checks your setup — where Claude is installed, whether buddy-reroll can write to it, and what to do next if something's off.

If Claude was installed system-wide and isn't writable, you can point to a different location:

CLAUDE_BINARY_PATH=/path/to/claude buddy-reroll --doctor

License

MIT