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

@leing2021/super-cli

v0.1.2

Published

极简 CLI 路由器 — 统一入口,自动路由到 OpenCLI 或 CLI-Anything 后端

Readme

super-cli

简体中文

A minimalist CLI router — one command to control websites, browsers, Electron apps, and desktop GUI software.

npm install -g @leing2021/super-cli
super-cli list              # discover all available targets
super-cli doctor            # check your environment
super-cli hackernews top -f json
super-cli make https://xiaohongshu.com

What it does

super-cli is a unified entry point that automatically routes your commands to the right backend:

  • OpenCLI — controls websites, browsers, and Electron apps (100+ adapters)
  • CLI-Anything — controls installed desktop GUI software like Blender, GIMP, and Inkscape (60+ harnesses)

Remember super-cli. Forget which backend does what.

Note: OpenCLI comes bundled with super-cli. CLI-Anything harnesses require a separate one-time setup — see Installation.

Quickstart

# 1. Install
npm install -g @leing2021/super-cli

# 2. See what's available
super-cli list

# 3. Use a target
super-cli hackernews top -f json       # OpenCLI target
super-cli blender --json scene info    # CLI-Anything target (requires cli-hub)

Routing

super-cli <target> [args]
        │
        ├── target = "browser"        → opencli browser [args]
        ├── cli-anything-<target> on PATH → runs directly
        └── otherwise                  → opencli <target> [args]

Desktop software targets are detected at runtime. If cli-anything-<target> is installed, super-cli uses it; otherwise it falls back to OpenCLI.

Commands

| Command | Description | |---|---| | super-cli list | List all available targets (web + desktop) | | super-cli doctor | Diagnose Node, Python, OpenCLI, and cli-hub | | super-cli <target> [args] | Run a command on a target (auto-routed to the right backend) | | super-cli make <source> | Get guidance for creating a new CLI adapter (website → OpenCLI, GitHub project → CLI-Anything) |

All commands support structured output with -f json.

Examples

# Discover targets
super-cli list -f json
super-cli list --type web
super-cli list --type desktop

# Check environment
super-cli doctor -f json

# Control a website
super-cli zhihu search "TypeScript" -f json
super-cli twitter user elonmusk -f json

# Control desktop software (requires cli-hub)
cli-hub install blender
super-cli blender --json scene info

Creating new targets

Use super-cli make to get guidance for creating a CLI adapter for a new target:

# For a website → get OpenCLI adapter authoring guidance
super-cli make https://xiaohongshu.com

# For a GitHub open-source project → get CLI-Anything harness guidance
super-cli make https://github.com/blender/blender

The make command prints step-by-step guidance. The actual adapter/harness is created using the upstream authoring tools (OpenCLI or CLI-Anything), not by super-cli itself.

Installation

Prerequisites

| Dependency | Required | Bundled with super-cli? | |---|---|---| | Node.js 18+ | Yes | — | | OpenCLI | Yes (for web targets) | ✅ Auto-installed via npm | | Python 3.10+ | Only for CLI-Anything targets | ❌ Install separately | | cli-hub | Only for CLI-Anything targets | ❌ pip install cli-anything-hub |

Step 1: Install super-cli (includes OpenCLI)

npm install -g @leing2021/super-cli

After this, super-cli hackernews top -f json and all web/browser targets work immediately.

Step 2: Set up CLI-Anything (for desktop software targets only)

If you want to control desktop GUI software (Blender, GIMP, etc.), install the CLI-Anything ecosystem once:

# Install the CLI-Anything package manager
pip install cli-anything-hub

# Install harnesses for the desktop software you need
cli-hub install blender
cli-hub install gimp

Now super-cli blender --json scene info works.

Skip this step if you only use web/browser targets.

Development

git clone https://github.com/leing2021/super-cli.git
cd super-cli
npm install
npm run build      # compile TypeScript
npm test           # run 40 tests with vitest

Project structure

super-cli/
├── src/
│   ├── cli.ts          # entry point + argument parser
│   ├── router.ts       # target → backend routing logic
│   ├── registry.ts     # target list aggregation
│   ├── doctor.ts       # environment diagnostics
│   ├── runner.ts       # subprocess execution plan
│   ├── make.ts         # make command (source classifier)
│   └── utils.ts        # cross-platform which()
├── registries/
│   └── cli-anything.json  # desktop target registry snapshot
├── skills/
│   └── super-cli/SKILL.md # AI agent discovery skill
├── tests/              # 40 vitest tests across 9 files
└── docs/
    ├── brainstorms/    # product requirements
    ├── plans/          # implementation plan
    └── report/         # analysis reports

Agent Integration

super-cli is designed for AI agents. The SKILL.md follows the Agent Skills standard so your agent knows when and how to use it.

Pi (Primary)

# Step 1: Install the CLI tool globally
npm install -g @leing2021/super-cli

# Step 2: Register the skill in pi
pi install npm:@leing2021/super-cli

Pi loads the skill description on startup (~100 bytes). When a task involves controlling websites or desktop software, the agent reads the full SKILL.md, then discovers available targets via super-cli list -f json.

Claude Code

npm install -g @leing2021/super-cli
mkdir -p ~/.claude/skills/super-cli
cp "$(npm root -g)/@leing2021/super-cli/skills/super-cli/SKILL.md" \
   ~/.claude/skills/super-cli/SKILL.md

Or add to .claude/settings.json:

{ "skills": ["~/.claude/skills"] }

OpenAI Codex

npm install -g @leing2021/super-cli
mkdir -p ~/.codex/skills/super-cli
cp "$(npm root -g)/@leing2021/super-cli/skills/super-cli/SKILL.md" \
   ~/.codex/skills/super-cli/SKILL.md

Any bash-capable agent

If your agent can run bash commands, just install the CLI:

npm install -g @leing2021/super-cli

Then instruct it with a one-liner:

Use super-cli list -f json to discover available targets. Use super-cli <target> --help for target-specific commands. Always pass -f json.

License

MIT. Backend tools have independent licenses (OpenCLI: Apache-2.0, CLI-Anything: Apache-2.0).