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

@chest-gate/install

v1.2.0

Published

One-command installer for Chest Gate apps. Resolves a slug against the chest.sh registry, fetches its source from GitHub, and drops it in the right runtime folder. Falls back to printing manifest info for non-skill kinds.

Readme

@chest-gate/install

npm license

One-command installer for Chest Gate skills. Resolves a slug against the public registry, fetches the source from GitHub, drops it in the right runtime folder, runs npm install, and helps you sign in to Chest with a browser-confirm flow.

Install + run

No prior install required — invoke directly with npx:

npx -y @chest-gate/install <slug>

Example:

npx -y @chest-gate/install trading-decision

What it does

  1. Resolve. GETs https://gate.chest.sh/api/apps/<slug> and reads the manifest (kind, sourceUrl, install hints).

  2. Fetch. Shallow-clones the source repo (parsed from the manifest's GitHub tree URL) into a temp directory.

  3. Install. Copies the skill subpath into ~/.claude/skills/<name> (folder name read from SKILL.md frontmatter, falling back to the source folder).

  4. Bootstrap. Runs npm install if the skill ships a package.json.

  5. Auth. Offers three options:

    • [1] Browser — prints a short code and opens chest.sh/device, you confirm in your existing Privy session, the installer mints a per-device agent token via the OAuth 2.0 device grant (RFC 8628) and saves it to ~/.chest/agent-token.json. Same UX as chest-gate login. Works under SSH, Docker, and CI — no loopback or port forwarding needed.
    • [2] Paste — paste a ca_live_… token from chest.sh/dashboard/agent-wallet. Useful when you can't open a browser at all.
    • [3] Skip — set up later by running chest-gate login or saving a key manually.

    Skipped entirely if CHEST_AGENT_TOKEN is set, the file already exists, or the shell isn't a TTY.

  6. Done. Prints the App's next steps block.

Environment

| Var | Default | Purpose | |---|---|---| | CHEST_API | https://gate.chest.sh | Override the registry endpoint. | | CHEST_WEB | https://chest.sh | Override the web URL used by the browser sign-in flow. | | CHEST_HOME | ~/.claude/skills | Override the install root. Useful for testing or for non–Claude Code agents. | | CHEST_AGENT_TOKEN | — | If set to a ca_live_… token, the post-install auth prompt is skipped. |

Requirements

  • Node.js ≥ 20
  • git on PATH (the installer shells out to git clone)
  • npm (only used if the skill ships a package.json)

Runtime dependency: @chest-gate/auth-flow for the browser sign-in flow. Otherwise just Node built-ins, git, and npm.

Manifest contract

For a slug to be installable through this CLI, its chest.sh App manifest must include:

  • kind: "skill" (other kinds aren't supported yet — plugin, mcp coming soon)
  • sourceUrl: a GitHub tree URL pointing at the package folder, e.g. https://github.com/chesthq/apps/tree/main/skills/trading-decision

App authors set both at publish time via the chest.sh dashboard or the publishing API.

Related

License

MIT © Chest Gate