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

smithers-webui

v0.1.0

Published

Render React + MDX in a browser window — a skill + CLI that lets agents present plans, dashboards, and rich UIs to users.

Readme

smithers-webui

A skill + CLI that lets agents render React + MDX in a browser window — for plans, diffs, decisions, dashboards, anywhere markdown-in-terminal goes lossy.

smithers-webui render << 'MDX'
import { Card, Badge } from 'smithers-webui/ui'

# Refactor plan

| Phase | Effort | Risk |
| ----- | ------ | ---- |
| 1 | 1 day | <Badge variant="success">low</Badge> |
| 2 | 3 days | <Badge variant="warn">medium</Badge> |

<Card>Approve when ready.</Card>
MDX

A chrome-less browser window opens with the rendered plan. The MDX is the agent's message to the user — piped, ephemeral, never a temp file.

Installation

[!NOTE] smithers-webui is a skill for coding agents. Install at least one supported agent first:

  • Claude Code — install Claude Code and run claude /login
  • Codex CLI — install Codex CLI and run codex login

Run without installing

npx smithers-webui --help

Install the agent skill (Claude Code, Codex, etc. — auto-detected)

npx smithers-webui skills add

This copies SKILL.md into each detected agent's skills directory (e.g. ~/.claude/skills/smithers-webui/SKILL.md). The agent will reach for the skill the next time you ask it to render a plan, diff, decision gate, dashboard, etc.

For project-scoped install (current directory only):

npx smithers-webui skills add --no-global

Install globally for faster startup

npm i -g smithers-webui

After this smithers-webui is on PATH, so the agent invokes it directly instead of paying the npx startup tax on every render.

Register as an MCP server instead

npx smithers-webui mcp add

Registers the CLI as an MCP server for Claude Code, Cursor, Amp. The render command becomes a callable tool with MDX content as a parameter.

Some notes

Very early. Expect bugs. Bun ≥ 1.3 required (the Bun requirement goes away in a future release).

See SKILL.md for the full agent contract — what to put in MDX, what nohup is for, how to use signal() to ask the user to make a choice.

Acknowledgements

  • incur — the CLI framework. Most of the polish (MCP, skill discovery, TOON output, streaming, --llms) comes free.
  • @mdx-js/mdx and remark-gfm — the MDX compiler and the table support.
  • Tailwind CSS — utility-first styling, loaded from CDN with the typography plugin.
  • shadcn/ui — the design vocabulary the shipped components borrow from.
  • webui-dev/webui — the inspiration for "browser-as-GUI". We use Chrome --app= mode today; may bind the C library directly later.

License

MIT