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

@yaogdu-skill-hub/shub

v0.1.1

Published

npm wrapper for running SHUB through the skill-hub Go binary

Downloads

302

Readme

@yaogdu-skill-hub/shub

@yaogdu-skill-hub/shub is the npm wrapper for the SHUB client shipped by skill-hub.

It resolves a local arctl binary when available and otherwise downloads the matching release artifact from GitHub, verifies its checksum, and forwards commands as:

arctl shub ...

Usage

npx @yaogdu-skill-hub/shub search java
npx @yaogdu-skill-hub/shub add arch/java-analyzer
npx @yaogdu-skill-hub/shub add unfallenwill/supercoder -g
npx @yaogdu-skill-hub/shub add arch/java-analyzer --fallback-source github-main
npx @yaogdu-skill-hub/shub use arch/[email protected]

Connect To A Self-Hosted Registry

export SHUB_API_BASE_URL=http://localhost:12121/v0
export SHUB_API_TOKEN=<your-api-key>
set -gx SHUB_API_BASE_URL http://localhost:12121/v0
set -gx SHUB_API_TOKEN <your-api-key>

@yaogdu-skill-hub/shub reads SHUB_API_BASE_URL / SHUB_API_TOKEN. The underlying arctl binary also accepts ARCTL_API_BASE_URL / ARCTL_API_TOKEN.

Fallback Behavior

  • shub add <asset-id> first checks the registry
  • On a miss, the client automatically tries the built-in fallback source pool and then any custom fallback sources configured by the registry administrator
  • -g narrows that miss-handling flow to the GitHub-oriented built-in sources
  • --fallback-source <name> forces an explicit source name and order

Built-in GitHub source patterns currently include:

  • github-direct for repositories whose root is already a SHUB package
  • github-skills-main for repositories that keep skills under skills/<name>
  • github-plugin-skills-main for plugin repositories that keep skills under plugins/<name>/skills/<name>

If a fetched GitHub repository contains a plain SKILL.md but not full SHUB metadata yet, skill-hub will synthesize a minimal prompt asset and mirror it into the registry. When no explicit version is requested, the mirrored asset currently uses 0.0.0-imported.

If you install it globally, the exposed binary name remains shub:

npm install -g @yaogdu-skill-hub/shub
shub search java

Environment Overrides

  • SHUB_BINARY: use an explicit arctl binary instead of downloading one
  • SHUB_RELEASE_TAG: pin the GitHub release tag to use
  • SHUB_CACHE_DIR: override the wrapper cache directory
  • SHUB_SKIP_CHECKSUM=1: skip checksum verification
  • SHUB_CODEX_SKILLS_DIR: override native Codex skill-dir exports
  • CODEX_HOME: override the default ~/.codex base directory

Project source: https://github.com/yaogdu/skill-hub