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

agentx-hub-cli

v0.2.0

Published

Operator CLI for the AgentX hub: sync the registry snapshot into the hub database, moderate verified-run reviews, mirror to the public hub. Registry curation lives in awescholar (pip).

Downloads

257

Readme

v0.2.0 — new mission. The v0.1.x registry-curation commands moved into awescholar (Python): awescholar updater add | enrich | backfill --agentx and awescholar verify --agentx. This CLI is now the hub operations supplement — the commands that need the hub website or its deployments, which a generic curation toolkit cannot own.

Two tools, one boundary:

| Concern | Lives in | Why | |---|---|---| | Registry curation (data/agents-snapshot.json) | awescholar (pip) | Generic: works on any AgentX checkout, shared with the literature pipeline | | Hub operations (database, reviews, public mirror) | this CLI (npm) | Coupled to the hub website's scripts and workflows — it wraps them, never reimplements them |

Install

npm install -g agentx-hub-cli

Or run it without installing:

npx agentx-hub-cli --help

From source:

git clone https://github.com/Webioinfo01/agentx-hub-cli
cd agentx-hub-cli && pnpm install && pnpm build
node dist/cli.js --help   # or: npm link  →  agentx

Commands

agentx sync [--remote] [--dir <website>] [--repo <repo>] [--ref <ref>]
agentx moderate [--dir <website>] [--approve <id> | --reject <id>]
agentx mirror [--repo <repo>] [--ref <ref>]
  • sync — land data/agents-snapshot.json in the hub database. Local mode (default) runs the website checkout's own db:apply-snapshot (Prisma-coupled reconcile, shared with the server's boot apply — exactly one implementation). --remote dispatches the hub repo's sync-db workflow instead: same code, run with the repository's production secrets, no local checkout needed.
  • moderate — operate the pending verified-run review queue. Bare agentx moderate lists it; --approve/--reject <id> decides. Pure passthrough to the website's reviews:moderate script.
  • mirror — dispatch the hub repo's sync-public workflow: the allowlisted bridge that mirrors user-facing content to the public agentx-hub repo.

Config

No config file. Options come from flags and the environment:

| Variable | Used by | What it does | |---|---|---| | AGENTX_WEBSITE_DIR | sync, moderate | Default hub website checkout for local commands (no silent cwd default) | | AGENTX_HUB_REPO | sync --remote, mirror | Default hub repo (default: Webioinfo01/agentx-hub-dev) | | GITHUB_TOKEN (or GH_TOKEN) | sync --remote, mirror | Dispatch authentication |

Development

pnpm install
pnpm test    # vitest, one file per module
pnpm check   # tsc --noEmit
pnpm build   # tsup → dist/cli.js

Contributing and the release flow live in docs/CONTRIBUTING.md.

License

MPL-2.0