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

@rigxyz/cli

v0.6.0

Published

Portable, runnable agent workspaces

Downloads

1,388

Readme

Rig

npm

Portable, runnable agent workspaces.

A rig is a folder that bundles everything an AI coding agent needs — system prompts, MCP servers, tool configs, data, and setup instructions — into a single portable package. Install one and start working in seconds.

npm install -g @rigxyz/cli

rig hub search market-researcher
rig hub use hub:maria/market-researcher
cd market-researcher && claude

Commands

# Rig — the package
init               Initialize a new rig (--no-sync for local-only)
add <pattern>      Add files/patterns to package.include
pack               Package into a .rig.tgz artifact
install            Run setup hooks for the current rig
inspect <source>   Show artifact metadata
doctor             Check workspace readiness

# Workspace — live & shared
share [<email>]    Invite a person (or --ops … for scoped/agent access)
who                Members, invites, scoped access
unshare <target>   Revoke a grant
join <url>         Join someone else's workspace
status [--verbose] Live? syncing? who's on it
disconnect         Stop being a synced workspace (local)

# Hub — distribution
hub publish        Publish this rig to the Hub
hub use <source>   Install a rig
hub update [src]   Update an installed rig
hub search <query> Search Rig Hub
hub list           List a registry

# Account
login / logout     Authenticate with Rig Hub

Sources

Rigs can be installed from multiple sources:

hub:author/name[@ver]       Rig Hub (userig.xyz)
github:user/repo[@ver]      GitHub release
./path.rig.tgz              Local artifact
registry:author/name        Local file registry

How it works

# 1. Start from any agent folder
cd my-agent-workspace

# 2. Initialize — detects MCP servers, env vars, tools, plugins
rig init

# 3. Optionally add files/folders to share
rig add strategies/**
rig add data/reference/companies.json

# 4. Package into a portable artifact
rig pack

# 5. Publish to the Hub
rig login
rig hub publish

# 6. Anyone can install and run it
rig hub use hub:you/my-agent-workspace
rig install
rig doctor

rig init scans your folder and infers setup metadata: MCP server names, required tools (uvx, npx, uv), env vars from config placeholders, plugin hints, permissions (allow/deny rules from .claude/settings.json), install commands, and workspace directories. By default, only configuration files (.claude/**, CLAUDE.md, .mcp.json, etc.) are included — folder contents are not shared unless you opt in via interactive init or rig add.

Permissions declared in [permissions] are written to .claude/settings.json during install, so users don't face permission dialogs they don't understand. Rig merges its rules with existing user permissions (union merge, deny wins).

rig doctor provides a live machine-readable readiness check. Agents like Claude Code use it to self-heal broken workspaces.

Canvas

View a rig's outputs as an interactive UI — briefings, tables, maps, and documents rendered as cards on an infinite canvas. From any rig folder:

npx @rigxyz/canvas

The board is just a file in the rig (.canvas/<name>.board.toml): each card points at a rig file and picks a render primitive, so content stays files-first and the canvas updates live as the rig changes. Installed rigs ship a rig-canvas skill that teaches the agent how to author a board and launch the viewer — ask Claude to "build a UI for this rig."

Hub

Rig Hub is the community registry. Browse, search, and install agent workspaces published by others.

Links