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

@rendotdev/rig

v0.0.46

Published

Local typed command runtime for agents.

Readme

rig

(Hey, an actual human wrote this README. It is short and gets to the point.)

There are many CLIs out there; this one is yours (but it's in alpha).

rig is your deterministic CLI for your AI agents.

It lets agents, and you, turn deterministic workflows into type-safe CLI commands. Each command has explicit input and output schemas, so agents can discover, inspect, and run tools predictably and easily.

If you keep asking agents to repeat the same shell commands, API or MCP calls, or browser steps, rig creates a foundation for those workflows that you can continue to build upon over time as things change.

rig also treats your tools as first-class context. Every time rig runs, it keeps AGENTS.md and CLAUDE.md files updated with your current list of commands. That way, your agents always know the tools they can use during sessions.

If you are not sure why you would want rig, here are some of my personal use cases:

  • I have a tool that pulls data from Jira/Slack/GitHub, then feeds it to an LLM to summarize my latest work for standup.
  • I have a tool that takes Markdown/HTML and generates a polished PDF with my employer's colors and typography, then drops it in my Downloads folder.
  • I have a tool that manipulates images (converts, resizes, compresses, removes metadata).
  • I have a tool that converts PDF to text.
  • I have a tool that makes a fetch call and extracts the readable text from a web page.
  • ... -> I'll keep adding more of my tools as I keep automating my workflows...

rig also has built-in features for tool-scoped shell execution, cron, environment variable management, key-value storage, stale-while-revalidate query caching, SQLite databases, logging, command chaining, and more.

Install

rig requires Bun 1.3.14 or newer.

$ npm install -g @rendotdev/rig
$ rig

Install prompt

Give this prompt to an agent to ask it to install rig for you:


Read the README from this repo: `https://github.com/rendotdev/rig`.

Then, install rig globally with `npm install -g @rendotdev/rig`, then run `rig` to initialize it.

Review the conversations available to you from the threads of the last two weeks with the user. Look for deterministic, repeatable workflows that could be automated as rig tools, especially workflows that involve shell commands, local files, browser steps, API calls, MCPs, or CLI pipelines.

List the best candidates with this information:

**Workflow name**

- Evidence from recent conversations
- Proposed rig tool
- Inputs
- Outputs
- Why it should be automated

Do not implement anything yet. Ask the user which workflow they want to implement first.

Agent?

Are you an AI agent looking for how to use rig? Assume the following:

The rig CLI is installed on this machine. It is your CLI. You own its various tools and commands. Use it to create, edit, and run tools when you need repeatable and deterministic workflows.

  • Run rig (or rig init) to set up or sync rig. This also updates detected AGENTS.md and CLAUDE.md files with available rig tools.
  • Run rig create <tool> when the user asks you to turn a repeatable workflow into a reusable tool.
  • Run rig edit <tool> to print the tool file path for editing.
  • Run rig remove <tool> to remove a local tool.
  • Run rig cron --help to schedule and manage tool commands.
  • Run rig typecheck <tool> to validate a tool's TypeScript and runtime types.
  • Run rig migrate after updates to inspect tool API compatibility and get exact agent migration instructions.
  • Run rig env <tool> KEY=VALUE to configure tool secrets/settings; run rig env <tool> remove KEY to remove them.
  • Run rig list to discover tools and available rig run ... commands.
  • Run rig help <topic> for concept docs (collections, cache, kv, db, env, log, shell, run, tool, args, paths).
  • Run rig help <tool> or rig help <tool>.<command> for usage, inputs, and outputs.
  • Run rig run <tool>.<command> [args] to execute a tool command.
  • To chain commands, use --as <id>, --pipe, and @id.path references to pass structured outputs instead of guessing filenames.
  • To learn more, run rig --help for other Rig CLI commands.

Learn more

  • Run rig help collections to learn about tool content collections (schema-validated markdown document stores with FTS search).
  • Run rig help tool to learn how to create a new rig tool from scratch.
  • Run rig help kv to learn about lightweight key-value state.
  • Run rig help cache to learn about persistent stale-while-revalidate query data.
  • Run rig help db to learn about raw SQLite databases with migrations.
  • Run rig help topics to see all available help topics.

When rig runs, it keeps detected AGENTS.md and CLAUDE.md files updated with these instructions and the current rig list output.

Feedback?

Simply send me a message on X (formerly Twitter). I read all messages and respond to as many as I can.