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

claude-buddy-cli

v1.0.1

Published

Find legendary buddy ID for Claude Code

Readme

claude-buddy-cli

为 Claude Code 生成 lucky buddy ID 的 CLI 工具。

功能

Claude Code 有一个 buddy system,会给每个用户分配一个稀有度等级。本工具通过暴力搜索生成 "legendary" 稀有度的用户 ID,让你的 Claude Code 拥有最幸运的 buddy。

稀有度概率:

  • legendary: 1%(金色,最稀有)
  • epic: 4%
  • rare: 10%
  • uncommon: 25%
  • common: 60%

解决的问题

Claude Code 的 buddy 稀有度由用户 ID 决定,但默认分配的 ID 通常是普通稀有度。本工具帮你找到一个 legendary ID,写入 ~/.claude.json 配置文件,让你的 Claude Code 从此拥有金色 legendary buddy。

安装

npm install -g claude-buddy-cli

使用

buddy-cli

运行后会自动搜索 legendary ID:

🎰 Buddy Gacha
Searching for legendary...

✨ LEGENDARY FOUND!
ID: user_abc12345
Draws: 42

Updated ~/.claude.json

找到 legendary 后会自动更新 Claude Code 配置文件,下次启动 Claude Code 即可生效。

卸载

npm uninstall -g claude-buddy-cli

技术原理

  • 使用 FNV-1a 哈希算法生成确定性种子
  • Mulberry32 PRNG 确保结果可重现
  • 每个 ID 的稀有度完全由哈希值决定,无法伪造

许可证

ISC