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

@graphyn/tbh

v0.3.17

Published

Install and publish portable skills, modes, agents, and sources from tbh.md

Readme

TBH CLI

Install once, then use the tbh command directly:

bun add --global @graphyn/tbh

tbh search postgres
tbh search editor --type mode agent
tbh list
tbh list --type mode
tbh install graphyn/[email protected]
tbh update graphyn/example
tbh update all
tbh login
tbh owner show
tbh owner set graphyn
tbh init skill my-skill
tbh init mode my-mode
tbh init agent my-agent
tbh init source my-source
tbh validate ./my-skill
tbh publish ./my-skill
tbh delete graphyn/example
tbh logout
tbh rate graphyn/example 8
tbh ranking
tbh ranking monthly
tbh ranking yearly
tbh ranking review
tbh ranking monthly review
tbh ranking yearly review
tbh ranking monthly --type mode
tbh link codex
tbh link graphyn

For one-off usage without a global install:

bunx @graphyn/tbh search postgres
bunx @graphyn/tbh install graphyn/[email protected]

Packages live once under ~/.tbh/{skills,modes,agents,sources}/{owner}/{slug}/{version}. The registry response identifies the package type, so tbh install does not need a separate type argument. The current symlink selects the active version. tbh link codex and tbh link claude create one agent-visible symlink per installed skill. tbh link graphyn links all four canonical catalogs at ~/.graphyn/{skills,modes,agents,sources}/tbh; it does not copy packages. Once linked, installs, updates and removals remain visible to every linked adapter.

First-time tbh login completes owner namespace setup in the browser before returning to the CLI. The owner can also be created or changed later with tbh owner set <slug>.

Create and validate packages

Create a safe starter package in a new <slug> directory:

tbh init skill security-review
tbh init mode concise
tbh init agent code-reviewer
tbh init source design-system

Use --directory . to initialize the current directory. tbh init never overwrites an existing SKILL.md, MODE.md, SOURCE.md, agent.yaml, or AGENT.md. If a target manifest already exists, it exits before changing any files.

Validate an existing package without modifying or uploading it:

tbh validate .

Skills require a root SKILL.md, modes require a root MODE.md, and sources require a root SOURCE.md. All three use YAML frontmatter followed by non-empty Markdown instructions:

---
name: security-review
description: Reviews source code for security vulnerabilities.
---

# Security Review

Review the requested code and report actionable security findings.

Agents require both agent.yaml and a non-empty AGENT.md:

schema: tbh.md/agent/v1alpha1
name: code-reviewer
description: Reviews repositories for correctness and security risks.
prompt: AGENT.md
dependencies:
  sources:
    standards:
      ref: graphyn/design-system
      version: ^1.0.0
      required: true

tbh publish runs the same validation automatically before uploading anything. tbh delete owner/slug removes a package and all of its published versions from the registry after an interactive y/n confirmation. This is different from tbh remove owner/slug, which only removes the locally installed copy.

Rankings use downloads by default and cover the last week unless monthly or yearly is supplied. Add review to rank by average rating; review rankings only include packages with at least 100 ratings in the selected period. Use --type skill, --type mode, --type agent, or --type source to select one ranking.