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

byo-skill

v0.2.0

Published

Agent Skill (agentskills.io spec) teaching Cursor / Claude Code / Codex / Copilot / Goose / any SKILL.md-aware AI how to integrate BYO (bring-your-own-keys) into a product.

Readme

byo-skill

Drop-in Agent Skill for BYO. Once installed, Cursor / Claude Code / Codex / GitHub Copilot / Goose / OpenCode / any SKILL.md-aware AI knows how to integrate BYO into your codebase the right way the first time:

  • which key (pk_ vs sk_) goes where
  • the canonical SDK calls and OpenAI-compat drop-in
  • webhook signature verification (raw body, timing-safe HMAC)
  • the typed error hierarchy and what each one means
  • the BYOA / MCP integration
  • the gotchas that surface as cryptic 401s and 403s otherwise

It's the same shape we use internally — three files, ~600 lines total, zero runtime dependencies. Strictly follows the open Agent Skills spec (originally from Anthropic, now adopted by every major coding agent).

Install

npx byo-skill install

Default install path is ./.agents/skills/byo/ — the cross-client convention every spec-compliant tool (Cursor, Claude Code, Codex, Copilot, Goose, OpenCode, OpenHands, Junie, Roo Code, …) scans on startup. One install, every tool picks it up. Commit it to git and your whole team's agents stay in sync.

When run outside a repo, it falls back to ~/.agents/skills/byo/.

Install for a specific tool

If you'd rather scope to one tool's native path:

npx byo-skill install --target cursor-project       # ./.cursor/skills/byo/
npx byo-skill install --target cursor-personal      # ~/.cursor/skills/byo/
npx byo-skill install --target claude-personal      # ~/.claude/skills/byo/
npx byo-skill install --target codex-personal       # ~/.codex/skills/byo/
npx byo-skill install --target openclaw-personal    # ~/.openclaw/workspace/skills/byo/
npx byo-skill install --dest ./docs/agent/byo       # custom path

After installing, restart your agent (or open a fresh chat) so it picks up the new skill. Then try:

"Add BYO to this app so my customers can bring their own OpenAI keys."

What ships

.agents/skills/byo/
├── SKILL.md                    # injected when triggered (BYO, BYOK, byo-sdk, …)
└── references/
    ├── REFERENCE.md            # full SDK + REST surface, errors, env vars
    └── EXAMPLES.md             # Next.js, FastAPI, Express, LangChain, MCP

Layout matches the agentskills.io directory spec. The skill uses progressive disclosure — SKILL.md is short and always-on, the files in references/ are read by the agent only when the specific task needs them (so a one-line "what's a refId?" question doesn't pull in ~600 lines of context).

Update

npx byo-skill@latest install --force

--force overwrites the local copy. Without it, files that have been edited locally are preserved.

Uninstall

rm -rf ./.agents/skills/byo            # or wherever you installed it

Validate (optional)

The skill is checked against the skills-ref reference validator before each release. To re-validate locally:

npx skills-ref validate ./.agents/skills/byo

Python users

The skill itself is language-agnostic — same SKILL.md works whether you end up calling byo-sdk (Node) or byok (PyPI). If you'd rather not have Node at all, copy the directory manually:

git clone --depth 1 https://github.com/treadiehq/byo /tmp/byo
mkdir -p ./.agents/skills/byo
cp -R /tmp/byo/packages/skill/skill/. ./.agents/skills/byo/

License

FSL-1.1-MIT, same as the rest of BYO.