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

@autousers/cli

v0.2.2

Published

Official CLI for Autousers — UX evaluation, autousers, and calibration from your terminal.

Downloads

365

Readme

@autousers/cli

Official command-line interface for Autousers — run UX evaluations, kick off autouser runs, and inspect calibration from your terminal. Same ak_live_* API key as @autousers/mcp.

npm version MIT licensed Provenance


Install

npm install -g @autousers/cli

Or invoke without installing:

npx -y @autousers/cli --help

Requires Node.js 20 or newer.


Authenticate

Browser login (default)

autousers login

Opens your default browser, signs you in to autousers.ai, and persists a short-lived OAuth access token + refresh token to ~/.autousers/config.json. Same UX as claude /mcp — no API key to copy. The CLI refreshes the token silently when it expires.

If you're on SSH or a no-display environment:

autousers login --no-browser

The CLI prints the auth URL; open it on a machine that has a browser, sign in, and the localhost callback resolves once you complete consent.

API key (paste / CI / headless)

Mint a key at app.autousers.ai/settings/api-keys — keys are shown once, so paste it into a secrets manager immediately.

autousers login --key ak_live_...

Or supply via env (best for CI):

export AUTOUSERS_API_KEY=ak_live_...
autousers eval list   # no `login` step needed

Resolution precedence

The CLI walks these in order, first match wins:

  1. --key ak_live_... — explicit per-invocation flag
  2. AUTOUSERS_API_KEY=ak_live_... — environment variable
  3. OAuth access token in ~/.autousers/config.json (auto-refreshed)
  4. apiKey in ~/.autousers/config.json

To override the API host (self-hosted / local dev):

export AUTOUSERS_BASE_URL=http://localhost:3000

Default: https://app.autousers.ai.


Quickstart

autousers login                       # browser OAuth flow
autousers whoami                      # confirm the active user / team
autousers eval list                   # list your evaluations
autousers eval get <id>               # detailed eval view
autousers autouser list               # list calibrated personas
autousers template list               # list rating templates
autousers usage --range 30d           # quota + token spend rollup
autousers logout                      # revoke + clear local credentials

Every command supports --json for stable machine-readable output:

autousers eval list --json | jq '.[] | select(.status == "Running")'

Run any subcommand with --help for its specific flags.


Configuration

| Variable | Default | Description | | -------------------- | -------------------------- | ---------------------------- | | AUTOUSERS_API_KEY | — | Bearer token (ak_live_...) | | AUTOUSERS_BASE_URL | https://app.autousers.ai | Override the API host | | NO_COLOR | — | 1 disables ANSI color |

Global flags: --json, --quiet, --no-color, --key, --base-url.

Exit codes: 0 OK · 1 generic error · 2 auth · 3 not found · 4 validation · 64 usage error.


See also