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.14.7

Published

Portable, runnable agent workspaces

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
sync [--off]       Mirror this workspace to your web Home (go live)
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.

Share a live workspace

Publishing ships a copy. Sharing makes the folder itself multiplayer — files sync in seconds between everyone on it, with an activity feed, chat channel, and comments on the web.

# Mirror the workspace to your web Home (private to you)
rig sync

# Invite a teammate — prints a userig.xyz/join/… link to send them
rig share [email protected]

Your teammate opens the link, which walks them through getting a synced copy (rig join <link>). They can also follow along on the web — files, activity, and comments live at the workspace's page on userig.xyz.

rig who shows who's on a workspace, rig unshare <email> removes them, and rig sync --off takes the workspace back to local-only.

Organizations group workspaces and packages under a team. Create one at userig.xyz/home (org switcher → "Create organization…"), then rig sync --org <slug> to put a new workspace under it, or rig publish --org <slug> to publish a package to the org's registry.

Hub

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

Links