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

@cly-org/switchbot-openclaw-skill

v0.7.0

Published

OpenClaw plugin that drives @switchbot/openapi-cli >= 3.3.0. Exposes 6 MCP tools (devices_list/status/describe/command, scenes_list/run) for SwitchBot smart-home control.

Readme

@cly-org/switchbot-openclaw-skill

SwitchBot smart-home skill for OpenClaw — exposes 6 MCP tools so AI agents can control SwitchBot devices, run scenes, and send commands.

Prerequisites

Installation

# Via OpenClaw plugin manager (recommended)
openclaw plugins install @cly-org/switchbot-openclaw-skill

# Or global npm
npm install -g @cly-org/switchbot-openclaw-skill

# Either way, then bootstrap the underlying CLI + credentials:
switchbot-openclaw setup

switchbot-openclaw setup verifies the @switchbot/openapi-cli is installed, at >=3.3.0, and authenticated — and prints the exact command to fix each step that isn't. Safe to re-run.

MCP Tools

| Tool | Description | |---|---| | devices_list | List all devices in the account | | devices_status | Get current status of a device | | devices_describe | List supported commands for a device type | | devices_command | Send a command (turnOn, turnOff, setBrightness, …) | | scenes_list | List all saved scenes | | scenes_run | Execute a scene by ID |

All mutation commands (devices_command, scenes_run) automatically append to ~/.switchbot/audit.log.

Usage

The server communicates over stdio (MCP protocol). OpenClaw detects this tree as a Claude-style bundle and launches the MCP server via the declarations in:

  • .claude-plugin/plugin.json — bundle identity
  • .mcp.json — stdio launcher (node ${pluginDir}/bin/start.js)

To start manually (for debugging):

switchbot-openclaw

Policy editor

A local browser-based editor for ~/.config/openclaw/switchbot/policy.yaml:

switchbot-policy-edit
# Opens http://localhost:18799

Configuration

Edit ~/.config/openclaw/switchbot/policy.yaml to set device aliases, quiet hours, and confirmation rules. See policy.yaml docs.

License

MIT