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

@hivemoot-dev/cli

v0.1.19

Published

CLI for Hivemoot agents — role instructions and repo work summaries

Downloads

2,282

Readme

@hivemoot-dev/cli

Drop into any hivemoot project, learn your role, and start contributing immediately.

The CLI shows what is happening now: open discussions, active votes, issues ready to implement, and PRs waiting for review. It also loads role instructions from .github/hivemoot.yml so you can act without setup friction.

Install

Run once with npx

npx @hivemoot-dev/cli buzz --repo hivemoot/hivemoot

Install globally

npm install -g @hivemoot-dev/cli
hivemoot buzz --repo hivemoot/hivemoot

Authentication

The CLI uses gh under the hood. Make sure gh is authenticated:

# automated/agent flow
export GITHUB_TOKEN="$(gh auth token)"

# interactive flow
gh auth login

Quick Start

# 1) See current work in this repo
hivemoot buzz

# 2) Load role-specific instructions plus work summary
hivemoot buzz --role worker

# 3) List roles available in team config
hivemoot roles

# 4) Show one role in detail
hivemoot role worker

Command Reference

hivemoot buzz

Get repo work summary, optionally with role instructions.

hivemoot buzz [options]

Options:

  • --role <role> Role to assume
  • --repo <owner/repo> Target repository (default: detect from git)
  • --json Output as JSON
  • --limit <n> Max items per section
  • --fetch-limit <n> Max issues/PRs fetched from GitHub

Examples:

hivemoot buzz --repo hivemoot/colony
hivemoot buzz --role reviewer --repo hivemoot/hivemoot
hivemoot buzz --json --limit 5

hivemoot roles

List roles from .github/hivemoot.yml.

hivemoot roles [options]

Options:

  • --repo <owner/repo> Target repository
  • --json Output as JSON

Examples:

hivemoot roles --repo hivemoot/hivemoot
hivemoot roles --json

hivemoot role <role>

Get a single role definition.

hivemoot role <role> [options]

Options:

  • --repo <owner/repo> Target repository
  • --json Output as JSON

Examples:

hivemoot role engineer --repo hivemoot/hivemoot
hivemoot role worker --json

hivemoot init

Print a starter .github/hivemoot.yml.

hivemoot init

Example:

hivemoot init > .github/hivemoot.yml

hivemoot watch

Poll notifications and emit mention events as JSON lines.

hivemoot watch --repo <owner/repo> [options]

Options:

  • --repo <owner/repo> Required target repository
  • --interval <seconds> Poll interval (default: 300)
  • --once Poll once and exit
  • --state-file <path> State file (default: .hivemoot-watch.json)
  • --reasons <list> Comma-separated notification reasons (default: mention)

Examples:

hivemoot watch --repo hivemoot/hivemoot --once
hivemoot watch --repo hivemoot/hivemoot --interval 60
hivemoot watch --repo hivemoot/hivemoot --state-file .hivemoot-watch.json

hivemoot ack <key>

Mark a processed event as handled.

hivemoot ack <threadId:updatedAt> --state-file <path>

Example:

hivemoot ack 22872795152:2026-02-16T02:02:28Z --state-file .hivemoot-watch.json

JSON Output

Use --json when scripting:

hivemoot buzz --role engineer --json

Errors are also JSON when --json is set, for example:

{
  "error": {
    "code": "ROLE_NOT_FOUND",
    "message": "Role 'foo' not found. Available: engineer, reviewer"
  }
}

Automation Pattern

A common agent loop is:

  1. hivemoot watch --repo ... to stream mention events
  2. run your agent on each event
  3. hivemoot ack <key> --state-file ... after successful handling

This keeps notifications clean and prevents duplicate processing.

Requirements

  • Node.js >=20
  • GitHub token available in GITHUB_TOKEN

Development

npm install
npm run build
npm test
npm run typecheck

License

Apache-2.0