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

@brmbh/cli

v1.2.0

Published

Deterministic tooling and agent skills for the brmbh WordPress theme — scaffold, build, deploy, sync, and the AGENTS/ skill docs, consumed as a devDependency so they stay updatable.

Readme

@brmbh/cli

[!IMPORTANT] This repo is moving into brmbh/wordpress. The CLI is becoming a devDependency of the theme rather than a separate scaffolder, so that tooling and agent skills stay updatable via npm update. See brmbh/wordpress#8 for the plan. This repo will be archived once the migration lands; @brmbh/cli continues to publish from the new location.

To start a new theme today, prefer: npx skills add brmbh/wordpress, then ask your agent for a new brmbh theme.

The command-line front door to the brmbh agentic WordPress suite — a modern Bootstrap 5 + Gutenberg + ACF block-factory starter theme with built-in agent skills.

One command turns an empty folder into a working, agent-ready theme. A handful of verbs cover the whole lifecycle: scaffold → build → ship.

npx -y -p @brmbh/cli create-brmbh my-site   # scaffold + install + build + skills + activate

Why

Every other WP starter hands you empty boilerplate. brmbh hands you boilerplate plus an agent that plans and builds your sections from a design — the agent skills ship inside the theme and work in Claude Code, Cursor, and Windsurf.

The CLI keeps the human experience tiny (one install command + ~5 verbs) while every command is also agent-legible: pass --json and you get a structured envelope instead of prose, so an agent can drive the exact same commands.

The user journey

1.  cd wp-content/themes
2.  npx -y -p @brmbh/cli create-brmbh my-site
       → clones the theme, npm install + build
       → wires the agent skills into .claude/ .cursor/ .windsurf/
       → checks for SCF, activates the theme (when wp-cli is present)
3.  Open your editor + Claude/Cursor — the skills are right there:
       "create a hero block from this Figma frame"
4.  brmbh deploy staging          → ship it

Commands

| Command | What it does | Pillar | |---|---|---| | create [name] | Scaffold a new theme (clone, install, build, skills, activate) | Scaffolding | | add block <name> | Four-file ACF block (factory convention) | Scaffolding | | add cpt <name> | One-file custom post type | Scaffolding | | add skills | (Re)generate agent skill wrappers from canonical AGENTS/ | Scaffolding | | dev [--once] | Build / watch the theme's CSS + JS | Dev ops | | doctor | Health check (node, theme, build, SCF, env) | Dev ops | | deploy <env> | Deploy to staging/prod (wraps tools/deploy.sh) | Cloud deploy | | db pull\|push <env> | Migrate the database between environments | DB / sync | | uploads pull\|push <env> [--delete] | Sync wp-content/uploads between environments | DB / sync |

Introspection is built in:

brmbh help            # all commands
brmbh <cmd> --help    # one command
brmbh schema          # machine-readable schema of every command (for agents)
brmbh doctor --json   # → {"ok":true,"class":"ready","checks":[...]}

Design: code-first, dual-mode

Built on the code-first-agents idea — the LLM orchestrates, code executes. Deterministic work (generating files, wiring registrations, running builds) lives in the command handlers. The reasoning (turning a screenshot or Figma frame into ACF fields + markup) stays with the agent skill.

Every command runs in one of two modes:

  • pretty (default) — streamed steps + a summary, for humans.
  • --json — a single JSON envelope ({ ok, message, ... }, always exit 0), for agents.

Commands declare a level describing their envelope: L1 data, L2 a class field to branch on (e.g. doctor), L3 a literal next procedure to execute (e.g. create, add).

Requirements

  • Node ≥ 18
  • git (to clone the theme; or use --from <local-checkout> offline)
  • Secure Custom Fields — free, required for ACF blocks (ACF Pro also works)
  • wp-cli (optional; enables auto-activation + ACF detection)

Local development

git clone https://github.com/brmbh/cli && cd cli
node bin/brmbh.js help
# scaffold from a local theme checkout (offline):
node bin/brmbh.js create demo --from ../wordpress

License

MIT