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

@chieflab/cli

v0.6.3

Published

ChiefLab CLI — `chieflab launch-here` is the one product verb. State-aware: boots the workspace first, resumes pending approvals / manual-publish gaps / proactive drafts when present, only mints a fresh launch when the workspace is clear. Auto-attaches Ch

Readme

@chieflab/cli

Hosted MCP from your terminal. ChiefLab's repo-aware launch flow plus approval-gated execution.

Package status: live on npm as @chieflab/cli.

curl -X POST https://api.chieflab.io/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Why a CLI when the MCP is an HTTP endpoint?

Because curl is great until you need the second call. Once you've got a runId to look up, an actionId to publish, a reviewUrl to open, an accountId to pass — you want a real shell tool, not a fistful of JSON-RPC envelopes.

This CLI:

  • Saves your API key once (~/.chieflab/config.json, chmod 600)
  • Wraps every operator + the closed-loop launch flow with sane flags
  • Has zero npm dependencies (node 20+ built-ins only — install in <5s)
  • Is honest about JSON output (--json on any command)

Install

Use the one-shot attach path from the repo you just built:

npx -y @chieflab/cli attach --runtime auto --project . --intent "launch this"

attach detects the local agent runtime, mints the workspace key, writes MCP config, plants repo instructions, and persists the pending intent so the agent can resume after a runtime restart. Both chieflab and chiefmo work as bin names for manual use later.

Auth

chieflab login                 # interactive prompt
chieflab login --key clp_...   # non-interactive
chieflab whoami                # confirm workspace
chieflab logout                # forget the key

Or skip the file and pass via env (good for CI):

export CHIEFLAB_API_KEY=clp_live_...
chieflab whoami

Get a key at https://chieflab.io/get-key.

The closed loop

# 0. Install repo instructions so agents call ChiefLab after build
chieflab init

# 1. Plan + draft from the current repo
chieflab launch-here https://yoursite.com --channels linkedin,x,email
#   → returns launchId + publishActions + reviewUrl

# 2. Approve on the reviewUrl (open it in a browser)

# 3. Fire the approved actions
chieflab publish launch-action-run_xxx-linkedin \
  --content "..." --platform linkedin --account zer_acc_xxx

chieflab send-email launch-action-run_xxx-email \
  --from "Brand <[email protected]>" --to [email protected] \
  --subject "Launch day" --html "<h1>...</h1>"

# 4. Wait 24h, then read results + get the next-move recommendation
chieflab review run_xxx

Full launch wedge in 4 commands.

init writes AGENTS.md, a Cursor rule, Claude command, Codex note, and an MCP config stub. It tells agents to call chieflab_get_users_after_build, surface agentGuide.userMessage, wait for the reviewUrl, execute only approved actions, resume with chiefmo_continue_launch_loop, and measure after 24h.

Compatibility: chieflab install-agent-hook still works. Public docs should prefer npx @chieflab/cli init.

chieflab init --dry-run
chieflab init --runtime cursor
chieflab init --runtime all --force

Launch Commands

chieflab launch-here https://yoursite.com  # preferred: gathers repo context
chieflab launch https://yoursite.com       # URL-only fallback
chieflab marketing "Diagnose our current funnel"

Each accepts --url <product-url> (auto-extract brand context), --tenant-id <id> (use stored tenant), --idempotency-key <key> (cached re-runs).

Trigger phrases

When an agent calls the CLI on a user's behalf, these phrases map to launch-here:

  • "launch this"
  • "get users"
  • "market this"
  • "announce this"
  • "post this"

For an existing program ("why is X not working"), use chieflab marketing "<goal>" (calls chiefmo_diagnose_marketing).

Connections

chieflab connections           # show what's connected
chieflab connect ga4           # OAuth start (also: search_console, hubspot)
chieflab set-key zernio sk_... # for set-key flows (also: resend)

Inbox

chieflab runs                  # list workspace runs
chieflab runs --limit 50
chieflab open run_xxx          # print the signed reviewUrl

Tools introspection

chieflab tools                 # list the live MCP tools available on this key
chieflab tools --json          # for piping into jq

Flags

| Flag | What | |------|------| | --json | Emit raw JSON (suppresses pretty terminal output) | | --key <key> | Override saved key for this call only | | --endpoint <url> | Override endpoint (default https://api.chieflab.io/api/mcp) |

| Env | What | |-----|------| | CHIEFLAB_API_KEY | Wins over saved config (CI-friendly) | | CHIEFLAB_ENDPOINT | Wins over saved endpoint | | NO_COLOR | Disable ANSI colors |

License

Apache 2.0. Source at https://github.com/bdentech/chieflab.