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

csuite-cli

v0.8.0

Published

CLI for csuite — wrap agents with csuite claude-code, push objectives, manage the team.

Readme

csuite-cli

CLI for csuite, an MCP-based agent team control plane.

This package provides the csuite binary, which hosts the primary CLI entry points (csuite claude-code, csuite serve, etc.) plus the internal csuite mcp-bridge verb that .mcp.json entries point at.

Install

npm install -g csuite-cli

Or run without installing:

npx csuite-cli claude-code --doctor

Commands

csuite setup       [--config-path <path>]                                 first-run wizard (team + first admin + TOTP)
csuite user        list | create | update | delete [--config-path <path>]   offline user management
csuite enroll      --user <name> [--config-path <path>]                   (re-)enroll a user for web UI login
csuite rotate      --user <name> [--config-path <path>]                   rotate a user's bearer token
csuite claude-code [--no-trace] [--doctor] [-- <claude args>...]          spawn claude wrapped in a csuite runner
csuite push        --body <text> (--agent <id> | --broadcast) [--title <t>] [--level <lvl>] [--data key=value]...
csuite roster                                                             list teammates, userType, and connection state
csuite objectives  list | view | create | update | complete | cancel | reassign   team objectives
csuite serve       [--config-path <path>] [--port <n>] [--host <h>] [--db <path>]

csuite claude-code (the headliner)

Spawns claude as a child of a long-lived runner process. The runner:

  • Fetches /instructions from the broker to learn this slot's name, role, permissions, teammates, and open objectives
  • Binds a Unix domain socket and starts an IPC server
  • Starts the trace host: a loopback HTTP CONNECT proxy that terminates TLS with a per-session CA, reassembles HTTP/1.1 exchanges, and streams activity events to the broker in real time
  • Backs up .mcp.json and writes one pointing at csuite mcp-bridge
  • Spawns claude with HTTPS_PROXY, HTTP_PROXY, and NODE_EXTRA_CA_CERTS pointing at the per-session CA
  • Forwards SSE channel events from the broker into the agent as MCP notifications/claude/channel
  • Restores .mcp.json on any exit path (normal, signal, crash)

Flags:

  • --no-trace — disable the trace subsystem entirely. Runner still handles SSE, objectives, and bridge IPC.
  • --doctor — preflight check: claude binary, $TMPDIR writable, loopback bind, per-session CA generation. Exits 0 on pass, 1 on any FAIL (WARN doesn't fail the exit code).
  • Everything after -- is forwarded verbatim to the claude binary.

Example:

export CSUITE_TOKEN=csuite_your_slot_token
csuite claude-code --doctor
csuite claude-code
csuite claude-code --no-trace -- --model claude-opus-4-6

csuite mcp-bridge (hidden internal verb)

The stdio MCP server that claude spawns via the .mcp.json entry the runner wrote. Connects to the runner's UDS path from $CSUITE_RUNNER_SOCKET and forwards every MCP request/response + every runner-initiated notification. Not shown in --help; members never invoke it directly.

Environment

| Variable | Purpose | |---|---| | CSUITE_URL | Broker base URL (default http://127.0.0.1:8717) | | CSUITE_TOKEN | Slot bearer token — required for claude-code, push, roster, objectives | | CLAUDE_PATH | Override the claude binary path (otherwise which claude) | | CSUITE_RUNNER_SOCKET | Set by the runner on the bridge's env; members never set this |

Quick start

# 1. Start a broker (first run triggers the team setup wizard)
csuite serve

# 2. In another terminal, set your user's bearer token
export CSUITE_TOKEN=csuite_your_bearer_token

# 3. Preflight check the environment
csuite claude-code --doctor

# 4. Wrap claude
csuite claude-code

To push a one-shot chat message without spawning claude:

csuite roster
csuite push --agent engineer-1 --body "ci failed on main" --level warning

To manage objectives from the terminal:

csuite objectives list --assignee engineer-1 --status active
csuite objectives create --assignee engineer-1 --title "…" --outcome "…"
csuite objectives complete --id obj-xxx --result "shipped as PR #1245"

License

Apache 2.0. See the csuite monorepo for the full source.